Ok, I've figured it out. You add the actions to the Actions layer inside the button symbol. Then it works!
Thank you so much billwatson for your help and insight. It's helped me a lot![thumbsup2]
Thanks for the quick reply. I really appreciate it. Nothing happens when I test the movie and click the button. There's no output window that pops up when I click it.
I put that code in Frame 1 of layer 1 right? That's where my button is located.
Thanks for the help. I've tried it but it still doesn't work for some reason. I really want to get this resolved so let's take an example. This is with Flash MX btw.
1. Starting with a fresh fla, I open up the Common Library with the buttons.
2. Under the Component Buttons, I drag the pill...
OK, I've looked into this setClickHandler method. Now, the problem is that I don't know where to put the ActionScript code? Do I add the action to the button? Or do I add it to a keyframe?
Thanks!
Hi everyone,
I know there are premade buttons in the Flash MX Common Libraries. There's one particular button, the pill button that I don't know how to use. You'd think it's just a regular button but it's a movie clip. That's the reason why I don't know how to use it.
The button seems to be...
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.