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?
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,
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.