A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Wont Stop Skipping Scenes??? Please Help Me

Hybrid View

  1. #1
    Member
    Join Date
    Feb 2004
    Posts
    64

    Wont Stop Skipping Scenes??? Please Help Me

    Hi i have a swf file that has 6 scenes in it. The first scene is a sort of preloader which on its own works fine.Here is the code that i have on the preloader:

    on frame 1:

    total = _root.getBytesTotal();
    loaded = _root.getBytesLoaded();
    if (loaded>=total) {
    _root.gotoAndPlay(30)
    }

    on frame 23: _root.text.nextFrame();

    on frame 24: gotoAndPlay(1);

    this code comes from a tutorial preloader on flash kit

    MY PROBLEM IS: when the file is exported it does not go to the correct scene which is the next one in the list, it sort of jumps it, even though the frame on scene 2 has a stop(); code,i have several different files which rely on this preloader with a website, SO PLEASE AM BEGGING FOR SOME HELP!!!!!!

  2. #2
    Senior Member jbum's Avatar
    Join Date
    Feb 2004
    Location
    Los Angeles
    Posts
    2,920
    What frame does Scene 2 begin on? I notice in your code that you are skipping anything that happens on frames 25 thru 29.

    - Jim

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