A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Help with MC pleeeeease!

  1. #1
    when a user is finished watching a MC how can I get the MC to go back to a particular frame in the main time line?

    what i want the main time line to do is.... it plays through to frame 94 and then stops the user then has a choice of four buttons to press (which starts an MC) in the button action i not only have the MC to start playing but another 10 frames that plays an animation as the MC is starting (this all works great)......

    The problem is once they have finished with the MC I want the main stage to go back to frame 94 and not stay at frame 105 (where it stays while the MC is playing)

    hope someone can help me!


    Cheetah

  2. #2
    FlashKit Joker
    Join Date
    Jan 2001
    Posts
    659
    Hi there,

    What you have to do is tell the MC that it has to go to the main timeline (_root). so at the end of your mc you place this script.

    tellTarget ("_root") {
    gotoAndStop (94);
    }

    This also works for buttons within movieclips to direct them to other movieclips. But if you do this you have to give the mc's a 'instance' name and tell the target with the circle with the crosshair in it.

    Hope this helps

    Seeya

  3. #3

    Smile yayyyy!!!!

    oh wow!!! thankyou sooo much!! lol i had it just like you had it except not 'tell target' i was saying 'go to'...gurrrrrr been trying everything for hours!! lol but anyway thanx it works great! big ol hugzzzzzz!

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