Example: Make a button graphic and call it "button_still". Make a rollover animation and call it "button_animation". Place your "button_still" on the stage and attach the following behaviour script:
Code:
--
property spriteNum
on mouseEnter me
sprite(spriteNum).member = member("button_animation")
end
on mouseLeave me
sprite(spriteNum).member = member("button_still")
end
--
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.