Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

go to label on current scene from mc

Status
Not open for further replies.

rubychyld

Programmer
Mar 22, 2001
76
US
I'd sure appreciate any advice... I'm going around in circles...

On the main scene named "lookupSplash" the second frame has a stop action.
There is a movie clip playing.

On the mc's second to last frame it has the action:
scene.lookupSplash.play = "theEnd";
or
scene.lookupSplash.gotoandplay = "theEnd";

the last frame has this action:
stop();

problem is, it never advances to this label, which is on the 4th frame of
the main timeline.

why?

Thanks a million, Liz Catch the vigorous horse of your mind!
 
Without seeing the actual fla file it is hard to visualize but you may need to use == instead of =.

Just try it and it may work. Ya' Gotta Love It!
sleepyangelsBW.jpg
 
hi

If I'm reading your post correctly, your action just has to be:

_root.gotoandplay("theEnd");

When Flash compresses scenes to swf format they are basically concatenated into one huge timeline. So if you have a label "theEnd" in the middle of scene 3 (for example) then it can be targetted on the _root timeline.

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top