PDA

View Full Version : Command to help create MC buttons


JEBoothjr
06-11-2004, 11:25 AM
I always use MC's as buttons, for greater control and I always found myself having to always add the stop(); action and the frame labels, either manually or copying and pasting frames. Well, no more. I've been experimenting with JSFL a bit and this is my first command. Once you've converted you symbol to a movieclip, open it up in edting mode and run this command. It will automatically create a new layer called 'actions', put a 'stop();' action with '_up' label on the first frame and at 10 frame intervals, create labels for '_over', '_down', '_active', and '_disabled'. I added the '_active' and '_disabled', which are NOT part of Flash AS, but I use them often for additional button states. You're free to modify it if you'd like.

JEBoothjr
06-14-2004, 02:48 PM
There was an error in the MXP file, but I corrected it so it should work now. Like I said, it's my first one, but it should work now.