Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 2nd, 2002, 11:26 PM
albert albert is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 1 albert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Flash and PHP Question

I have a question, can you only load up text or a image into a flash movie?

I am trying to load up a news.php file into my flash movie, i can load up text from a text file fine, or even a image, but when i try loading up the php file it just leaves it blank. Basicly i am trying to load the whole php file.

Reply With Quote
  #2  
Old November 19th, 2002, 09:34 PM
wdn2000's Avatar
wdn2000 wdn2000 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Apr 2000
Posts: 1,058 wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 6 Days 20 h 56 m 43 sec
Reputation Power: 21
I'm not a flash expert by any stretch of the imagination, but I have worked with flash guys in the past to make their stuff dynamic so I know a little about this.

With Flash MX you can dynamically load images or mp3 files. Before that you could load text files, or fill in variables dynamically.

If you were to load a PHP file into Flash, I think all it would do is display the PHP code, which probably isn't what you want. Without knowing what you're trying to display or what the PHP does, I'd think that what you probably want to do is pass a variable (or two, or three...) to Flash and display the contents. You could display quite a lot of text that way, which is what I suspect you're trying to do.

Search for threads that talk about dynamically loading variables.

wdn2k

Reply With Quote
  #3  
Old December 8th, 2002, 04:34 AM
bambam's Avatar
bambam bambam is offline
macho member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 207 bambam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 40 sec
Reputation Power: 11
yah i agree with WDN2000, try outputting your PHP to something flash can understand.

also i found this tutorial at macromedia to be SUPER!

http://www.macromedia.com/support/f...creating_forms/

look under
"Write ActionScript to gather and submit the form data"

It is definately worth printing out

This is for Flash MX only ... its a cool way to pass info to and fro server side language. Pass only required values back to flash.

In flash setup approapriate flags to catch the reply.

Hope this helps.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Flash and PHP Question

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap