Actually try:
on mouseUp
put the dropshadow of me into aDropShadow
put "normal" into aDropShadow["normal"]
put "0,0,0" into aDropShadow["color"]
put 180 into aDropShadow["opacity"]
-- change any other element of the array as you see fit
set the dropShadow of me to aDropShadow
end
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
Bob
On Aug 26, 2011, at 7:31 AM, Timothy Bleiler wrote:
> Hi,
>
> This is pretty weird. I was
Wow I'm tired!
The script that doesn't work is supposed to be:
on mouseUp
get the Properties of me
set the Dropshadow of me to EMPTY
end mouseUp
The other one is obviously wrong.
Tim
On Aug 26, 2011, at 10:31 AM, Timothy Bleiler wrote:
Hi,
This is pretty weird. I was having trouble set
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 Prope
Thanks Scott,
There's something strange here. I have now seen cases where Set
DropShadow of control x to empty works!
It looks like that's what's supposed to happen so I'll look closer at
the bad scripts.
Tim
On Aug 25, 2011, at 7:16 PM, Scott Rossi wrote:
Hi Tim:
"set dropshadow of
Hi Tim:
"set dropshadow of control x to empty" works here.
This sounds goofy but are you sure dropshadow is spelled correctly in your
script? On many occasions I find myself misspelling the graphic properties
and then, of course, they don't work.
Also check that the control number is *really*
Hi,
If I set one of the graphic effect properties like "DropShadow" to an
appropriate array within a script how do I turn it back off within a
script?
Set DropShadow of control x to empty -- does not work
Set DropShadow of control x to none -- does not work
Thanks,
Tim Bleiler
_