Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-06-2009, 09:26 PM   #1
Von2
Registered User
 
Join Date: Dec 2008
Posts: 12
Default Gotoandplay from button in movieclip to main timeline

Hey,

Perhaps a simple question, but I just can't find the answer on the internet.

I have movieclip, that contains several movieclips and one of those movieclips, contains UIloaders. Now when the picture is loaded I want to be able to click on that picture followed by a gotoandplay back to a frame on the main timeline.

What code is need, since the simple gotoanplay(2) won't work. This will redirect you to frame 2 within the movieclip.
Von2 is offline   Reply With Quote
Old 01-06-2009, 09:30 PM   #2
here and there
Member
 
Join Date: Jan 2009
Posts: 57
Default This may help

It sounds like you nested the symbols. I don't know much about flash but from previous experiences its not a good idea to nest symbols at all. Maybe someone else can help you more.
here and there is offline   Reply With Quote
Old 01-07-2009, 12:29 AM   #3
Mazoonist
Site Contributor
 
Mazoonist's Avatar
 
Join Date: Jun 2006
Posts: 3,160
Send a message via AIM to Mazoonist
Default

ActionScript Code:
MovieClip(root).gotoAndPlay(2);
__________________
My Tutorials * My Website
Mazoonist is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
removechild then gotoandplay main timeline fusionspill ActionScript 3.0 0 10-08-2008 02:57 PM
Button to Control Movieclip, from inside a loadMovie GnAProductions ActionScript 2.0 18 01-21-2008 11:15 PM
Loading a movieclip with the Click of a Button! 7arith Other Flash General Questions 1 05-01-2006 03:57 AM
Controling Main Timeline withen a Movieclip? cereal ActionScript 2.0 4 04-02-2005 01:35 AM
Load a movieclip which isn't at the main timeline when hitting a button, HOW? NaQuer Other Flash General Questions 1 08-19-2003 11:43 PM


All times are GMT. The time now is 02:49 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.