-- apply the drop shadow effect
on beginSprite me
set sNum = the spriteNum of me
set animMode = #relativeToPoint
dropShadow(sprite sNum, [#animMode: animMode, #transparency: transparency, #red: red, #green: green, #blue: blue, #feather: feather, #xOffSet: offsetX, #yOffSet: offsetY])
end
on mouseDown me
DragLight(me)
end
on DragLight me
repeat while the mouseDown
SetShadow(me)
updateStage
end repeat
end
-- new light settings if needed
on setShadow me
set x = the mouseH
set y = the mouseV
dropShadow(sprite sNum, [#lightLocX: x, #lightLocY: y])
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA