Hi, as many of you have noted I am giving a try on ActionScript 2.0 and I am trying to see how you can code a complete button that is that the button includes that on mouse over changes color, that on click it raises an event, etc… That means everything you can make to a button in a Flash Editor!!
Are there any ideas on how to do this, or any links?
Thanks in advance.
You actually have more freedom using movieClips instead of buttons. I’ve found that the same actions on a mc don’t work on a button.
You can do anything by using a movieClip as a button. Just so long as all actions are within some “on” handler.
The advantage of using a movieclip instead of a button is that buttons don’t support onLoad and onClipEvent, which are two of the most powerful event handlers in Flash.
However is it possible to draw (with ActionScript2.0) some objects on Frame 1 of the movie clip and other objects on Frame 2 of the movie?? and if yes how can this be done?
Just in case someone gets interested … what i did is I added two movies inside my btnOne movieClip, what I do is I play with the visibility of both movies when the user goes on the button!
However Thanks to all for your input
I gues flash does not support that option!!
If you check the helpfile, it has all the information you’d ever need on creating MCs that behave like buttons. Personally, I don’t think any serious flash developer should EVER use the button class.