Closed Herschel closed 4 months ago
I think this causes #3821.
Hi ! i'had a look on your button clip.... and things seem missing : script is'nt full.... Go and see this (as2 only.... I don't like/use as3 !) buttonClip-fix.zip
This is working now on both avm1 and avm2.
In a MovieClip, you can place magic frame labels of
_up
,_over
and_down
. If the clip is in "button mode", it will automatically toggle between these frames as the mouse hovers, like a standardButton
/SimpleButton
.This can be done in both AVM1 and AVM2. In AVM1, "button mode" is triggered by attaching any button event handler to the clip, such as
on(release)
. In AVM2, there is an explicitSprite.buttonMode
property that can be set totrue
.Sample SWFs: button-clip.zip