August 27th, 2002, 09:45 PM
I am creating a dynamic navigation system using a PHP/mySQL back bone but when I load:
ids=188.8.131.52.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, 10: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=184.108.40.206.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, 01:21 PM
Thats probably why it doesn't work because the variables load after the scripting.