Stack in runtime...
Ken Ray
kray at sonsothunder.com
Thu Sep 8 15:03:23 EDT 2005
On 9/8/04 1:31 PM, "Gilberto Cuba Ricardo" <gilbert at isphlg.rimed.cu> wrote:
> on mouseUp numberButton
> if numberButton = 1 then
> create invisible stack "MyStack"
> set the visible of stack "MyStack" to true
> wait 10 seconds
> close the defaultStack
> delete stack "MyStack"
> end if
> end mouseUp
The problem, Gilberto, is that "the defaultStack" is not "MyStack"; it's the
stack that called it. So you can do one of two things:
1) set the defaultStack to "MyStack" -- do this before you close the
defaultStack
OR
2) close stack "MyStack" -- instead of "close the defaultStack"
HTH,
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode
mailing list