property pBlurX, pBlurY, pQuality, pStrength -- blur vars property pR, pG, pB -- gradient colors property pAlpha -- ratio and alpha values property pInner, pKnockout -- knockout vars -- -- Drop onto a sprite for a Glow Filter visual effect on mouseUp. -- Works only with Director 11.5 or newer -- Sprite must have 32-bit color for the effect to display. -- Ken Loge - http://diginoodles.com -- on getPropertyDescriptionList me list = [:] addProp list, #pBlurX, [#comment: "Horizontal Blur:", #format: #integer, #default: 4, #range: [#min: 0, #max: 255]] addProp list, #pBlurY, [#comment: "Vertical Blur:", #format: #integer, #default: 4, #range: [#min: 0, #max: 255]] addProp list, #pQuality, [#comment: "Blur Quality:", #format: #integer, #default: 2, #range: [#min: 0, #max: 15]] addProp list, #pStrength, [#comment: "Imprint Strength:", #format: #integer, #default: 1, #range: [#min: 0, #max: 10]] addProp list, #pR, [#comment: "Red Color Value:", #format: #integer, #default: 0, #range: [#min: 0, #max: 255]] addProp list, #pG, [#comment: "Green Color Value:", #format: #integer, #default: 255, #range: [#min: 0, #max: 255]] addProp list, #pB, [#comment: "Blue Color Value:", #format: #integer, #default: 0, #range: [#min: 0, #max: 255]] addProp list, #pAlpha, [#comment: "Alpha Start Value:", #format: #integer, #default: 0, #range: [#min: 0, #max: 255]] addProp list, #pInner, [#comment: "Inner or Outer Glow:", #format: #boolean, #default: 0] addProp list, #pKnockout, [#comment: "Knockout Effect:", #format: #boolean, #default: 0] return list end on mouseEnter me -- add VFX filter myFilter = filter(#GlowFilter, [#Color:color(pR,pG,pB), #alpha:pAlpha, #BlurX: pBlurX, #BlurY: pBlurY, #strength: pStrength, #quality: pQuality, #strength: pStrength, #inner: pInner, #knockOut: pKnockout]) sprite(me.spriteNum).filterlist.append(myFilter) end on mouseLeave me -- clear VFX filter sprite(me.spriteNum).filterlist.deleteAll() end