You problem arises from the fact that flash does not wait for variables to be loaded. There is a delay from when you load the vars and when they are actually loaded into flash. For example if you load a var in one frame it may take a few frames for the loaded variable to actually be loaded into flash. By the time the variable is loaded it has already passed the frame that checks for the variable.
The solution is to have flash wait for a variable _root.done to equal "1" before advancing to the next frame. And you would set _root.done at the very end of your php call.
in the flash frame you need to create a container MC an put Flash
Code: Select all
if(_root.done == "1")