before vs on in behavior scripts

Devin Asay devin_asay at byu.edu
Wed Mar 19 01:14:49 EDT 2014


> On Mar 18, 2014, at 8:54 PM, "Scott Rossi" <scott at tactilemedia.com> wrote:
> 
> I didn't realize it until just now, but this is the order of events:
> 
> before mouseUp
>   answer "A"
> end mouseUp
> 
> on mouseUp
>   answer "B"
> end mouseUp
> 
> after mouseUp
>   answer "C"
> end mouseUp

That's what I thought. But when I tried it earlier today it didn't work with both and after end and on handler. I'll go back and check to make sure I don't have another mouse up Hendler somewhere in the message path.

Devin



More information about the use-livecode mailing list