openStack Initialization Issues
Richard Gaskin
ambassador at fourthworld.com
Sun Feb 26 22:36:38 EST 2006
Arthur Urban wrote:
> Is there a way I can detect when my main stack receives the openStack
> message versus when my substacks receives the message and pass it all
> the way down to the mainstack? I do once only initialization in my
> mainstack, and I can't seem to reliably detect when a substack is
> triggering the openStack message and skip over the init code. I've tried
> using the target and the me function, nothing seems to work. Too bad
> there is no openMainStack handler. (even using on startUp doesn't help
> me) Ugh...what am i missing? thanx!
If you put your mainStack's initialization into the card script of your
mainStack you never need to worry about substacks triggering it.
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
More information about the use-livecode
mailing list