Rollover effect interfering with Designing...

Sarah Reichelt sarahr at genesearch.com.au
Fri Jun 24 01:26:32 EDT 2005


> I got these little nifty handlers to do some nifty Rollover effects  
> on my buttons.  They work great...  BUT I don't want them running  
> when I am moving things around the card.  How do I tell my Rollover  
> handler to exit if I am designing a card.
>
> Something like this...
>
> On rollOn
>
> IF "I am in design mode" Then Exit rollOn
>
> --do my rollover effect
>
> end rollOn
>
You can key off the tool you are currently using e.g.
     if the tool = "pointer tool" then exit rollOn

HTH,
Sarah



More information about the use-livecode mailing list