Turning graphic effects off and on

J. Landman Gay jacque at hyperactivesw.com
Mon Dec 9 15:52:17 EST 2013


On 12/9/13 2:22 PM, Devin Asay wrote:

> Right, I know about setting the effect to empty, but it's the saving of the graphic effect settings that's tripping me up. Shouldn't something like this work:
>
>    set the colorOverlay_save of btn "foo" to the colorOverlay of btn "foo"
>    --> I thought this would save the array to a new customProp, but it just creates an empty custom prop
>    set the colorOverlay of btn "foo" to the colorOverlay_save of btn "foo"

On second thought, I've done this successfully actually. Are you sure 
the property is empty? The inspector won't show it, but you should be 
able to retrieve it by script and see it in the variable watcher.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the Use-livecode mailing list