Thread: Help!

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Location
    The U S of A
    Posts
    4
    Rep Power
    0

    Exclamation Help!


    I am creating a dynamic navigation system using a PHP/mySQL back bone but when I load:
    ids=1.2.3.5.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?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2001
    Location
    NJ
    Posts
    428
    Rep Power
    17
    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=1.2.3.5.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.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Location
    The U S of A
    Posts
    4
    Rep Power
    0
    Thats probably why it doesn't work because the variables load after the scripting.

IMN logo majestic logo threadwatch logo seochat tools logo