PDA

View Full Version : MX return to main timeline



Pjc4real
December 10th, 2002, 09:01 AM
Im in a movie clip, on the 1st frame of my main timeline.

Once my movieclip has reached a point/finished, I would like return to the main timeline.

Anyideas??:q:

andr.in
December 10th, 2002, 09:07 AM
what? what are you talking about! All objects are displayed no matter what timeline they are on!

Pjc4real
December 10th, 2002, 09:13 AM
Ok, This is my setup.


On 1st frame of main timeline, I go into a movieclip (1). Then into a another movieclip (2), which is inside mc1. Now, I have a movieclip (3) on the MAIN TIMELINE.... How do I target that?

I've tried _root.movieclip3.gotoAndPlay, but because Im already in a movielcip, is that wahy its not working?

I want to get to the ABOSLUTE root/timeline of my movie....

h88
December 10th, 2002, 09:16 AM
_root.movieclip3.gotoAndPlay(frame no.) Should work, unless u had mistaken with the instance names.

Sorcerer
December 10th, 2002, 09:16 AM
Try instead of _root.movieclip3.gotoAndPlay

_root.movieclip3.play();

Pjc4real
December 10th, 2002, 09:31 AM
Tried that as well Sorcerer:*(

Thats wot I thut - ITS NOT WRKING!!!!

Heres my flash so far:

Hierarchy

MAIN TIMELINE
| |
| |
MC 1 MC3
|
|
MC2 HERE is where I need the code to target MC3

h88
December 10th, 2002, 09:32 AM
Try:

_parent._parent.MC3.gotoAndPlay(10);

although it's exactly the same as _root.MC3.gotoAndPlay(10);, but try it anyways.

andr.in
December 10th, 2002, 09:34 AM
_root.mc3.play(); HAS TO WORK!
check the instance names and stuff just to make sure!

h88
December 10th, 2002, 09:35 AM
Both should work syko. :o Try attaching the Fla File.

andr.in
December 10th, 2002, 09:38 AM
this is strange!:crazy:

Pjc4real
December 10th, 2002, 09:43 AM
CRACKED IT!!!!

I THINK......


_parent._parent.interrfaceIn.gotoAndPlay(2);

That wrked - thanks every1, esp h88 SUPER MODERATOR!

Cld hav possibly been bcoz the mc I was trying to target was previously a graphic symbol, which I then changed... sumtimes u hav to delte the symbol and make it agian for it to register, rite???

h88
December 10th, 2002, 09:46 AM
You can't target a graphic symbol :q:

Pjc4real
December 10th, 2002, 09:50 AM
Yes I know u can only target MCs (whice are symbols neway!!)

Wot I meant was - I had originally created a graphic symbol, which I then wanted to target, so changed its behaviour to a Moveiclip.

And I dn think Flash recognizes wen u do this.... maybe a bug, as Ive kum across it in the past. I fI want to change one symbol to anutha IE graphic-movieclip, it only works if I delete the symobl and use a new one - just changing the behaviour duznt seem to wrk!!!:q:

h88
December 10th, 2002, 09:53 AM
Hmm, I'll test that later.