Make MC Button from a MovieClip
There are several ways to create buttons in Flash. Some people will create a button class, where they’ll define all the methods for rollovers , active and disabled states and associate it with the particular MovieClip symbol in the library. The other will create a Button instance and place the graphics on the timeline under frames with labels “over”, “down” etc.
Not everybody is aware though, you can make any ordinary MovieClip to behave like Button type of symbol (i.e. going automatically to differently labeled frames depending on the mouse events). All needed is following :
- Your movie clip must have specifically named frame labels : “_up”,”_over”,”_down”,”_hit”
- Your movie clip must have some methods defined for it, such as onRollOver, onRelease ..etc.
I have written this extension to automate the process of creating the frames, label names and adding stop frames for it. Read the rest of this entry »
Posted in AS2, JSFL | 2 Comments »

