Controlling Graphic Effects in Scripts

Timothy Bleiler bleiler at buffalo.edu
Fri Aug 26 10:31:36 EDT 2011


Hi,

This is pretty weird. I was having trouble setting the dropShadow to  
empty. It seemed not to work sometimes. I've isolated the problem to  
this -

Create a button with the dropShadow property set from the property  
inspector.

Put this script into the button

on mouseUp
    get the Properties of me
   SET THE Dropshadow of me to it
end mouseUp

What I'm seeing is that commenting out the first line allows the  
dropShadow to be set to empty.
With the first line in, the dropShadow doesn't change.

Is this a bug? Or is there some reason for this?


Tim Bleiler, Ph.D.
Instructional Designer, HSIT
University at Buffalo




More information about the Use-livecode mailing list