In my Animate project (HTML 5) I have a button on the main timeline. When clicked it goes to a specific frame on the main timeline. That works fine. From there I have a different button that needs to trigger a movie clip AND a specific frame.
For the life of me I am unable to figure this out. Can anyone help me out?
Let me know if you need more information. I would be happy to give you what ever you need.
this.yourmovieclip.gotoAndStop("yourframelabel or number");
Thank you for responding. I entered in your suggestion, but it didn't work. Below is my code so you can see what I have. I selected my button (bt_white) and on that button I have the following code:
Rooftop is my MovieClip and "white_roof" is my label within my movie clip is "white_roof". Am I still missing something that I need to do in order for it to work?
the code should be attached to the frame that contains that button and movieclip