Page 1 of 1
showing the outerglow effect
Posted: Sun Jun 10, 2018 2:42 am
by monki
I need to have the outerglow of a graphic turned on/off by the script, but this doesn't seem to be it.
Code: Select all
set the outerglow of graphic "myRec" to true
Does anyone know how to reference the show/hide outerglow effect? Thanks
Re: showing the outerglow effect
Posted: Sun Jun 10, 2018 8:06 am
by richmond62
#1 Read the built-in help system.
#2 Try this:
Code: Select all
set the outerglow["color"] of graphic "myRec" to "255,0,0"
Re: showing the outerglow effect
Posted: Sun Jun 10, 2018 7:20 pm
by monki
1. yeah, I did that.
2. I did that, too.
Looking at the interface, it actually shows the radio as checked (active), but still doesn't show the outer glow...
Maybe I need to reinstall livecode, or something

Re: showing the outerglow effect
Posted: Sun Jun 10, 2018 7:31 pm
by richmond62
This is because you have to mess around with opacity and size as well:
Code: Select all
on mouseUp
set the outerglow["color"] of graphic "g1" to "255,255,255"
set the outerglow[size] of graphic "g1" to 150
set the outerglow[opacity] of graphic "g1" to 255
end mouseUp
-
-
Re: showing the outerglow effect
Posted: Sun Jun 10, 2018 7:46 pm
by monki
Ah, ok, that worked. Thanks for your help
