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

buttons in movie clip, losing actions -- go to scene

Status
Not open for further replies.

MonicaX

Technical User
Jul 13, 2002
35
0
0
US
I have several buttons that I've converted to a movie clip. I added button actions to the buttons (go to scene) after I converted it to a clip. The buttons all work fine and take me to the appropriate scene.

I tried to repeat the process, but when I convert the buttons to a movie clip, the actions don't work. I've tried adding the actions to the buttons before and after converting them to a clip, neither work.

I'm guessing it's because the scene is at the root level, but I can't seem to get the code right. Is it something like this maybe?

on(release) {

_root.gotoAndPlay("myScene");

}

Thanks
 
Thanks. I did do a search, sometimes it's difficult to choose the right keywords.

It worked like a charm!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top