basic question about "go to stack" and scripts in that stack

J. Landman Gay jacque at hyperactivesw.com
Mon Sep 1 17:52:10 EDT 2008


william humphrey wrote:
> It wasn't a bug just another thing i didn't understand. The script in
> question was in the card script of the stack not the stack script. So even
> though I would go to the specific card it still didn't work and for some
> reason only works if you are on that card by clicking on it.
> Moving the scripts to the background of the main stack solved the problem as
> you pointed out those scripts work from any card in any substack of the main
> stack.
> 
> It is still unexpected behavior to me that "go to card testscripts of stack
> mainstack" isn't the same thing as clicking on it with your mouse.

It should work as you expect; if you are on the card, its scripts should 
be available. I'm not sure why it isn't working, but there must be 
something going on in your stacks. What's the defaultstack when you 
arrive at the card? (Put a line of script into the card function that 
puts the defaultstack so you can see it.)

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list