A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: levels again...

  1. #1
    Junior Member
    Join Date
    Apr 2001
    Posts
    23
    According to Flash help file it's possible to write:

    _level1.gotoAndStop(20);

    So this should work but it doesn't

    on (press) {
    loadMovieNum ("test2.swf", 1);
    _level1.gotoAndStop(20);
    }

    the movie loads but doesn't goto frame 20

    any ideas?

    Rolf

  2. #2
    Pillow Daddy m_andrews808's Avatar
    Join Date
    May 2001
    Location
    London England
    Posts
    924
    When you load a movie it takes a few fractions of a second before it has loaded so when flash reads your goto, the movie it is referring to probably hasn't loaded. Try putting the goto a couple of frames later.

  3. #3
    Junior Member
    Join Date
    Apr 2001
    Posts
    23
    Thank you. Works fine. Maybe a little bit stupid but thats not your fault.

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