php 2 flash
- Started
- Last post
- 4 Responses
- silentseven
Is it possible to pass a variable (it think it would be a variable) from php menu to flash to load a specific xml file.
What i want to do is i have a php page based on smarty xml templates and when a user clicks on a link it loads a specific xml file into a flash movie.
I only want one flash movie but load specific xml files into the flash movie based on what a user clicks.
is this possible?
Thanks...
- rabattski0
sure, parse a variable with php and read out the variable in flash.
- rabattski0
or loadvar the results of a php script. there are so many ways basically.
- unfittoprint0
just make the php write the variable in the object/embed tags of the embed movie.
".../mymovie.swf?var < ?php print $myvar; ? > "
- silentseven0
thanks
that gives me a starting point. I have never integrated flash and php together yet just trying something new.