Not sure what is pertinent here, but in a new stack with this in the card script:
Code: Select all
on closeStack
-- stop the timer
-- if sTimerState is "running" then
--put "stopping" into sTimerState
-- end if
--- wait 1 seconds
pass closeStack
end closestack
The stack window stays visible, even though the handler (visible because I was working from there) in the SE is deleted. Sending "closeStack" to the card by msg does the same thing. Of course, sending "close this stack" actually closes the stack.
The closeStack message is sent when the stack closes, and is not the trigger for that action just because it passes through that stack. But then why does the SE close the card script tab?
Craig