Hey, that works. Good stuff. One thing I neglected to mention before. The code I posted is for rollovers
. If you're making rollunders
like I am, you'd have to do it more like Box0r does, with procedures, and you'd have to call your animated layer from your button. As in:
StartAnimation(PreviousAnim, 1, 10, 50);
Notice the the base is "Previous", a button, but the StartAnimation is on PreviousAnim
, an animated layer. StartAnimation() is the procedure out of the box0r script, which you may have to modify for your purposes (I did).