Revlet - how to get back to the main stack from a substack?

Keith Clarke keith.clarke at
Wed Mar 23 08:47:08 EDT 2011

OK, it seems that within a revlet, navigation from main stack to substack and between substacks works fine using...

on mouseUp
    go to stack "<another substack>" in the window of this stack
end mouseUp

Getting back to the main stack as the revlet's 'home page' seems more difficult (at least, I can't solve it). 

So, it looks like the work-around is to make the main stack an introductory splash screen with a 'click-to-enter' control and have the 'home' page as just another substack.

On 23 Mar 2011, at 11:34, Keith Clarke wrote:

> Hi Folks,
> I'm using 'go to stack "substack" in the window of me' to navigate to substacks in a revlet but can't seem to find a suitable script for a 'close' button on the substack to return to the main stack. The following lines are ignored:
> 'go to stack "<main-stack>" in the window of me'
> 'go to stack "<main-stack>"'
> 'go back'
> So, what's the secret formula? ;-)
> Best,
> Keith..   

More information about the Use-livecode mailing list