A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [FlashLite 1.x] loadVariables - takes time to load!

  1. #1
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831

    [FlashLite 1.x] loadVariables - takes time to load!

    Hello All,

    I am loading a *.txt file and it takes some time to load it. Is there any event generated which confirm the full fletch loading of txt file OR alternatively what logic I apply to do so ?
    As ever,
    Vinayak Kadam

  2. #2
    Senior Member
    Join Date
    Aug 2006
    Posts
    322
    in the last line of the .txt file put this line &loaded=1
    in flash lite frame action after the loadVariables comand put this line for a loop and confirmation of the total txt file r loaded
    if (/:loaded == 1){
    gotoAndStop(2);
    }else{
    gotoAndPlay(1);
    }


    thank you

  3. #3
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831

    thanks!

    Ya exactly, I did the same. I just wanted to confirm that I am not seriously missing something which I am not aware of about the loadVariables in FlashLite 1.x.

    Thanks for confirming.
    As ever,
    Vinayak Kadam

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center