August 27th, 2002, 08:45 PM
I am creating a dynamic navigation system using a PHP/mySQL back bone but when I load:
ids=184.108.40.206.6.7.&txt=Home.Game Center.PAQ.Forum.Links.Message Center
I cannot split those in flash:
txtArray = txt.split(".");
Is there a reason for this? How can I make it so the correspond?
August 28th, 2002, 09:12 AM
are you sure that your variables are being loaded? Flash won't wait for an external source to load variables so you have you manually have to pause the movie while your dynamic data is being loaded. The best way to do this is always ad isLoaded variable to your loaded string.
ids=220.127.116.11.6.7.&txt=Home.Game Center.PAQ.Forum.Links.Message Center&isLoaded=1
call your load vars on frame one, frame two should be some kind of loading screen, frame three should check the isLoaded variable to see if it is 1, if its not go back to frame two. In effect you'll be looping through frame 2 and 3 till your data is loaded.
August 28th, 2002, 12:21 PM
Thats probably why it doesn't work because the variables load after the scripting.