Controlling Graphic Effects in Scripts

Bob Sneidar bobs at
Fri Aug 26 13:23:00 EDT 2011

The properties of anything is an array of ALL the properties. You cannot set one property to the whole array of properties! It should read:

get the dropshadow of me
set the dropshadow of me to empty


On Aug 26, 2011, at 7:31 AM, Timothy Bleiler wrote:

> 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
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list