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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bug in "go to" action???

Status
Not open for further replies.

nivosh

MIS
May 8, 2000
38
0
0
IL
doas any one encountered a bug when using a "go to" statement in a frame action?
i have placed a "go to scene2" action in a frame but it kept going back to the same scene. when i use it in a button, it's working.
am i doing something wrong?
thanks
nivosh
nivosh
nivosh@hotmail.com
 
Using this from a movie clip or a loaded movie and targeting the main movie's timeline?
A movie clip or a loaded movie seems the main timeline as one big scene even it holds several of them!
Try using a labeled frame as a target, that's the better way, and specify _root for a movie clip, or _level0 from a loaded movie.
Label the frame you want to go to (select frame -> then in Panel Frame, name it!) and use:

_root.gotoAndPlay("label"); // from movie clip

Or...

_level0.gotoAndPlay("label"); // from movie on levelx

Regards,
wink4.gif
ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top