incorruptus Posted August 6, 2008 Share Posted August 6, 2008 Hi guys,ok so I have two layers accompanied by frame labels, layer#1(frame label) has the main_mc in it, layer#2(frame label) has an intro_mc. I want when intro_mc is finished playing to jump to a specific frame inside main_mc.I used this code in the last frame of intro_mc: _root.gotoAndStop ("layer#1", 84) it worked but it played the whole main_mc, but I want it to go to frame number 84 within main_mcany advice? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 6, 2008 Share Posted August 6, 2008 Use gotoAndStop (or gotoAndPlay) on main_mc. Link to comment Share on other sites More sharing options...
incorruptus Posted August 7, 2008 Author Share Posted August 7, 2008 Use gotoAndStop (or gotoAndPlay) on main_mc.Could you show me an example please? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 7, 2008 Share Posted August 7, 2008 main_mc.gotoAndStop(1); Link to comment Share on other sites More sharing options...
incorruptus Posted August 10, 2008 Author Share Posted August 10, 2008 main_mc.gotoAndStop(1);Nope, didn't seem to work...Any other ideas? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 11, 2008 Share Posted August 11, 2008 That's going to work, as long as you reference main_mc using the correct scope and the movie's instance name is "main_mc". You might need to use _parent or _root or something to specify the scope, but if you're trying to get a movie clip to go to a certain frame then gotoAndStop is the way to do it. Just make sure you reference the object in the correct scope. If you trace main_mc you'll see whether or not it's defined, and there is a scope resolution tool in Flash you can use (the crosshairs) to find the scope of a certain object either relative or absolute. Link to comment Share on other sites More sharing options...
rzea Posted August 12, 2008 Share Posted August 12, 2008 You need to name the Movie Clip main_mc "main_mc" (without the quotes).Select it and on the Properties panel to the left is a field, that's where you put the name. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.