How It WorksLoading 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.
|» Level Intermediate|
Rating: 7.96 Votes: 169
|Can be found at www.indivision.net.|
|Download the files used in this tutorial.|
|Download (6 kb)|
|More help? Search our boards for quick answers!|