Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouse rollover problem 1

Status
Not open for further replies.

doog1

Programmer
Jul 15, 2003
8
GB
with a mouse rollover i want to add an aminated sprite, or film loop to the existing button sprite ??

thanks
 
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
--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top