on getPropertyDescriptionList me
list = [:]
addProp list, #pMemberRollover, [#comment: "Wich Member for rollover?",#format: #bitmap, #default: ""]
addProp list, #pSoundMember, [#comment: "Which Sound member to fade?",#format: #sound, #default: ""]
addProp list, #pVolume, [#comment: "What sound Volume?", #format:#integer, #range: [#min:0, #max:255], #default: 0]
addProp list, #pChannel, [#comment: "What sound channel?", #format: #string, #range: [#min:1, #max:8], #default: 1]
addProp list, #pFadeIn, [#comment: "How many Milliseconds to fade?", #format: #string, #default: 3000]
return list
end
on beginSprite me
pMemberNormal = sprite(me.spriteNum).member
end
on mouseEnter me
sprite(me.spriteNum).member = pMemberRollover
end
on mouseLeave me
sprite(me.spriteNum).member = pMemberNormal
end
on mouseUp me
sound(pChannel).volume = 0
sound(pChannel).play(member(pSoundMember))
sound(pChannel).volume = pVolume
sound(pChannel).fadeIn(pFadeIn)
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA