XY

Scott Rossi scott at tactilemedia.com
Fri Jan 25 14:40:01 EST 2002


On Friday, January 25, 2002, at 11:19  AM, Nelson Zink wrote:

> While mousemove seems straight forward, how would one go about turning 
> it on
> and off as might be needed in the "XY function"?

One way is with a variable toggle, via a global variable or a user 
property.
For example, in a button script that toggles the XY function on and off:

    set the uAllowXY of this stack to not the uAllowXY of this stack

In the card or stack script:

    on mouseMove x,y
      if not the uAllowXY of this stack then exit mouseMove
      # XY function here...
    end mouseMove

Regards,

Scott Rossi
Creative Director, Tactile Media
scott at tactilemedia.com
http://www.tactilemedia.com




More information about the metacard mailing list