loading another stack from splash

Shadow Slash shadow.slash at yahoo.com
Mon Sep 20 11:36:25 EDT 2010


Hi Mark,

First off, is that a typo in your handler? -> "preopenstackit".
IMO, that should be "preOpenStack".
Now for your problem, can you try this in place of your code instead?
on preopenstack
   answer the utargetstack of this stack
   go to stack (the utargetstack of this stack)
end preopenstack

If that still didn't work please do tell so I can try to further help you.

--- On Mon, 20/9/10, Mark Smith <Mark_Smith at cpe.umanitoba.ca> wrote:

> From: Mark Smith <Mark_Smith at cpe.umanitoba.ca>
> Subject: loading another stack from splash
> To: "use-revolution at lists.runrev.com" <use-revolution at lists.runrev.com>
> Date: Monday, 20 September, 2010, 3:28 PM
> Hi folks,
> 
> I've written an application (a simple notepad) that I
> wanted to compile. RunRev documentation suggests creating a
> "splash screen" that
> calls the "notepad" so that notepad can save into itself.
> So I created a stack called Startup. So far it has a single
> script in the stack script that says
> 
> on preopenstackit
>    answer the utargetstack of this
> stack  -- works
>    go to stack the utargetstack of this
> stack -- not working
> end preopenstack
> 
> utargetstack is defined as Notepad3. When I open the
> startup stack it displays the name of the "target" stack
> correctly
> in a dialog (ie. Notepad3).
> 
> The next line however does nothing. By that I mean it does
> not seem to load and run
> the Notepad3 stack. This is what I get when I say "put the
> openstacks"
> 
> Message Box
> revMenubar
> revTools
> revStartCentre
> Startup
> revApplicationOverview
> 
> Any suggestions?
> 
> Thanks
> 
> -- Mark
> _
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 






More information about the use-livecode mailing list