-- apply the bevel effect
on beginSprite me
set sNum = the spriteNum of me
set animMode = #relativeToPoint
bevel(sprite sNum, [#animMode: animMode, #bevel: bevel, #red: red, #green: green, #blue: blue, #strength: strength, #bevCrop: crop, #radius: radius, lightRelToSprite:FALSE ])
end
on mouseDown me
DragLight(me)
end
on DragLight me
repeat while the mouseDown
SetBevel(me)
updateStage
end repeat
end
-- update light location if needed
on SetBevel me
set x = the mouseH
set y = the mouseV
bevel(sprite sNum, [#lightLocX: x, #lightLocY: y])
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA