Turning graphic effects off and on

Devin Asay devin_asay at byu.edu
Mon Dec 9 19:14:14 EST 2013


On Dec 9, 2013, at 2:32 PM, Scott Rossi wrote:

> I just tested here in 6.5.0 and using a custom property works as expected,
> so there might be something amiss with your setup.
> 
> You shouldn't need to use an object -- storing a graphic effect in a
> custom property *should* work.


Just went and tried this again. Now it's working. Must have been a typo. I blame morning fog brain. I'm going to use Jacque's time warp stack and go tell myself not to send that email.

Just to recap:

  -- save the colorOverlay settings
  set the colorOverlay_save of btn "foo" to the colorOverlay of img "foo"

  -- get rid of the colorOverlay
  set the colorOverlay of btn "foo" to empty
  
  -- restore the colorOverlay settings
  set the colorOverlay_save of btn "foo" to the colorOverlay_save of img "foo"

Regards,

Devin


Devin Asay
Learn to code with LiveCode University
http://university.livecode.com





More information about the Use-livecode mailing list