That's what I just did, actually, and it is working; however, it seems that the other code should have worked too. Is this a bug, or am I missing something?

On Oct 7, 2004, at 4:07 PM, Scott Rossi wrote:

Recently, Frank D. Engel, Jr. wrote:

Should this, or should it not, be valid Transcript code for a
preOpenStack handler in a stack script:

if the target is the first card of me then

Upon execution, that code results in the complaint:

Chunk: source is not a container


So I try this:

if the name of the target is the name of the first card of me then

Which is accepted; however, this is in a main stack; opening one of its
substacks should NOT cause the code within the 'if' block to execute,
correct? But it does...


How can I avoid this problem?

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.


Regards,

Scott Rossi
Creative Director
Tactile Media, Development & Design
-----
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


-----------------------------------------------------------
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
$




___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to