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!

Skip to a scene

Status
Not open for further replies.

JSP2020

IS-IT--Management
Nov 15, 2002
3
GB
Iv got two scenes in my movie, i want to click on a button which takes starts scene two, if scene 1 is called A and scene 2 is called B, what actions shall i assign to the button?
 
What if i want to go from a button that is not in the main movie timeline? Also how would i specify it witht the tell target command?
 
The tellTarget action is deprecated, you should use simple dot syntax instead.
If the button is on the main timeline, you can use scene names, but from within a movie clip or from an external movie loaded on another level, scene names are meaningless, and you'll have to target a labeled frame, and add _root to the path.
If you want your button (inside a movie clip) to send you to frame 10 of scene 2, label frame 10 of scene 2 with an unique label such as my_start2 or whatever else, and use that label as a target.

on (release){
_root.gotoAndStop("my_start2");
}
_root.
Regards,

new.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top