A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Load Level then target?

  1. #1
    Senior Member
    Join Date
    Mar 2000
    Posts
    161
    What's the best way to load a movie into a level and then tell that movie to go to a certain frame all in the same action?

    Something like:

    on (press) {
    loadMovieNum ("mymovie.swf", 2);
    _level2.gotoAndStop(15);
    }

    This doesnt seem to work..it will load the movie but wont jump to the frame...any suggestions?

  2. #2
    Senior Member
    Join Date
    Feb 2001
    Posts
    206
    on (press) {
    loadMovieNum ("mymovie.swf", 2);

    on(release)
    _level2.gotoAndStop(15);
    }


    Flashlite

  3. #3
    Senior Member
    Join Date
    Mar 2000
    Posts
    161
    Great...seems to work...one more question.....If I have a movie with say 100 frames and I want to call that movie with a mouse action and tell it to go to frame 50, does it have to wait to load the first 50 frames or will it just go there?

  4. #4
    Junior Member
    Join Date
    Feb 2001
    Posts
    22

    Cool this is what i want... but

    This is what I need to do as well.

    Just one thing how do I write it ?

    I have looked in the Action window and can not figger out how to write the actions.

    I am sure this is easy to do but I can not find out how to do it using the Flash help files.

  5. #5
    Senior Member
    Join Date
    Feb 2001
    Posts
    206
    I believe it must load the 50 frames first.

    on (press) {
    loadMovieNum ("mymovie.swf", 2);

    on(release)
    _level2.gotoAndStop(50);
    }

    Flashlite

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