A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: ending one movie & starting another

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    2
    I have 2 movies in 2 different levels.
    I have one movie named intro loaded into level one which at the end has a load movie script which loads the main menu into level 2 but the second movie does not play instantly it sits on the load script action in the first movie for about 10 seconds

    What am I doing wrong.

  2. #2
    I'm a hero like Robert De Niro
    Join Date
    Mar 2000
    Location
    London
    Posts
    1,171
    Hello,

    The loadMovie command does just that, it LOADS a new movie and sometimes it takes a while and the new movie isn't appearing on command cuz on that command its being loaded.

    You can place a stop action in the 2nd movie's first key frame and delete all the objects in that frame so you'll be able to start loading the movie at the beginning but it wouldn't show and when you want it to play tell it using the "with" action or "tell target" to gotoAndPlay(2);.

    Hope it helps,

    McMurphy

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