Page 1 of 1
Stupid question from a stupid person...
Posted: Tue May 14, 2002 3:39 am
by danielmegson

I know this is probably a stupid question, but would it be possible to have a SWF file with a button with a PHP bit on it (such as $content = "index.swf") then in the HTML have a line <embed>$content</embed> so when the button is pressed the other embedded SWF file would change?
A bit like frames, but smoother?
Please help, as I am not only a newbie but a total dunce!
Dan
Posted: Tue May 14, 2002 7:40 am
by enygma
Flash can only call external scripts like PHP scripts, they can't be embeded in the actual SWF file itself.
You'd have to use something like loadVariables in the ActionScript to call an external PHP script and do anything useful with it.
You probably need to look more into how Flash movies work and how to navigate around in them first - get a good book on the subject (there's tons of them out there) and go through some of the basic stuff.
-enygma