Seems a bit silly...

Erik Hansen erikhans08 at yahoo.com
Thu Oct 7 23:44:50 EDT 2004


--- Scott Rossi <scott at tactilemedia.com> wrote:

> Are you trying to limit preOpenStack messages
> to the main stack only?  If
> so, move the preOpenStack handler to the script
> of the first card of the
> main stack, instead of the stack itself.  Then
> you shouldn't need to worry
> about checking the target at all.

what if you are constantly adding, deleting
and shuffling cards?  how about setting the
script of each new card to:

on preOpenStack
  if (the number of this card = 1) -- if needed
  then doOpenStackThings
end preOpenStack

doOpenStackThings resides in the stack script. 
if this works i can take my startup handler out
of
that button script!
> Scott Rossi
> Creative Director
> Tactile Media, Development & Design
> -----
> E: scott at tactilemedia.com
> W: http://www.tactilemedia.com

=====
erik at erikhansen.org    http://www.erikhansen.org


		
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 


More information about the use-livecode mailing list