on mouseEnter me
if OverON then
set the member of sprite the spritenum of me = the OverImage of me
end if
if OSoundON then
puppetSound OverSoundChannel, OverSound
end if
end
on mouseLeave me
set the member of sprite the spritenum of me = the standardImage of me
end
on mouseDown me
if DownON then
set the member of sprite the spritenum of me = the DownImage of me
end if
if DSoundON then
puppetSound DownSoundChannel, DownSound
end if
end
on mouseUp me
if OverON then
set the member of sprite the spritenum of me = the OverImage of me
else
set the member of sprite the spritenum of me = the standardImage of me
end if
end
on beginSprite me
set the standardImage of me = the member of sprite the spriteNum of me
end
on getPropertyDescriptionList
if the currentspritenum = 0 then
set memdefault = 0
else
set memref = the member of sprite the currentspritenum
set castlibnum = the castlibnum of memref
set memdefault = member (the membernum of member memref + 1) of castlib castlibnum
end if