Featured FLA
» Author: Nitin Tikhe
» Title: Cart
» Description: This Animation Tut is a fun and useful for kids below 15 years. Watch the Flag, Doors, Stick and Horse movements.
» More by Nitin Tikhe
Featured Site
» Posted in the Flash Kit Links section
» Title: Banana Swimwear
» Description: This is a banana swim wear interactive catalog we designed and animated in Flash
Loading variables from a PHP script is very similar to loading from a text file. The main difference is that the script performs work on a separate timeline.
You can call a PHP script from a flash movie by using the LoadVariablesNum() command like so:
loadVariablesNum ("scriptA.php", 0, "POST");
Remember that your flash movie and the script are operating on separate timelines. The flash movie doesn't just stop when you make the LoadVariablesNum() command. Instead, it activates the script and keeps moving. When the script is finished operating, the data that has been printed by the script is read by the flash movie.