Splash snafu

Ken Norris pixelbird at interisland.net
Tue Dec 23 19:09:58 EST 2003


Hi Ken,

> Date: Tue, 23 Dec 2003 14:22:30 -0600
> From: Ken Ray <kray at sonsothunder.com>
> Subject: Re: Splash snafu

> One other solution is to put into the mainstack the handler that says:
> 
> on openStack
> if the owner of the target is me then
> -- it's running the openStack for the mainstack
> else
> -- it's running the openStack from a substack that didn't
> -- trap the openStack handler
> end if
> end openStack
> 
> "the target" in this case is the card, so the "owner of the target" is
> either the substack or the mainstack (depending on which got the message).
> By checking if "the owner of the target is me", it ends up determining if
> the target of the message is the card of the *mainstack* - if so, it does
> its thing. If not, the target of the message is the card of a *substack*,
> and it can effectively be ignored (or trapped and managed).
> 
> Just my $0.02,
-----------
Thanks for the alternative. I'm not sure precisely what it's doing, so I
need to play al ittle to see.

Ken N.



More information about the use-livecode mailing list