Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE FLASH: HomeFlash ForumFlash TutorialsFlash Video TutorialsWeb Streaming ForumAdobe FlashPodcast

How do I make it go back to label?

Cow Forums : Adobe Flash

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
How do I make it go back to label?
by Flash Designer on Aug 30, 2005 at 2:26:02 pm

Hey,
How do I make the Movie Clip go back to a timeline in a movie clip?
In other words, I have a question with choice a. b. c. Then the person clicks the wrong answer (say c), they should go back to the question which is before it on the time line.
What type of action script should I use?

I thought about using an onClipEvent pointing to a label within the timeline, but that is not working.

Thanks for your help.

Respond to this post   •   Return to posts index

Re: How do I make it go back to label?
by LeeBrimelow on Aug 30, 2005 at 5:33:46 pm

You just want to use a gotoAndPlay() or gotoAndStop() function. If your question is on a frame with the label "question", then just put...

gotoAndPlay("question");

Lee

-----------------------------
Flash Blog - http://www.theflashblog.com
Flash Tutorials - http://www.gotoandlearn.com
Personal Site - http://www.leebrimelow.com

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]