--Written May, 24 1999
--The sprite to blend targeted by the "sprite to fade:" slider will have an initial blend value of 0
--regardless of the setting in the score window. The sprite will not flash as the value is set before
--the sprite is drawn to the stage during playback.
--Try appling the behavior multiple times to affect a number of sprites. You can change the speed
--on each one for some cool effects.
--Speed is a function of the FRAME RATE and the number you select in the "blending speed" dialouge.
property spriteNum --holds the number of the trigger sprite
property mySprite --holds the number of the sprite to blend
property speed --holds the blend percentage increments
property over --flag for mouseOver, mouseLeave detection
on getPropertyDescriptionList me
set p_list = [ #mySprite: [#comment:"Sprite to fade:", #format:#integer, #range: [#min:1, #max: 120], #default: the currentSpriteNum],¬
#speed: [#comment:"Blending speed:", #format:#integer, #range: [10,20,50,100], #default:10]]
return p_list
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA