RESTRAINING THE PENCIL IN REV
Joe Lewis Wilkins
pepetoo at cox.net
Sun Sep 21 18:10:16 EDT 2008
Jacque, (my guardian angel!)
Thanks for the support. Actually, I'm doing exactly what you've
suggested, but it's not opening "myRealStack" (smile). The only
difference is that I didn't include the statement "close this stack",
since I thought that probably wouldn't work; and I never got back to
trying that.
Also, I have been trying to make sure it worked in the IDE w/o doing a
build. Shouldn't it?
Joe Wilkins
On Sep 21, 2008, at 2:59 PM, J. Landman Gay wrote:
> Joe Lewis Wilkins wrote:
>> Good to know, Ken. this time I think I'll go with the Splash screen
>> once I figure out exactly how to tie it to my original stack; I
>> assume it has to do with making my stack a substack of a new
>> mainstack (the Splash screen stack); not quite as easily done as I
>> thought, but...!
>
> You're trying to make it too hard. Just leave your stack as-is,
> don't use it to build an app.
>
> Make a new stack, size it smallish like a splash screen, put any
> images on it you want people to see when it starts up, and put (at
> least) one line of script in an opencard handler on the first card:
>
> on opencard
> wait 3 seconds -- or whatever
> close this stack
> go stack "myRealStack"
> end opencard
>
> Build this "stub" stack into a standalone. Put your real stack in
> the same folder with the standalone. Double-click the standalone to
> launch it.
>
> It will open, wait a few seconds, open your working stack and close
> itself. That's all a "splash" stack does. You can add other things
> to the splash stack if you want to make it fancier or perform other
> actions before your real one opens, but basically it's just a
> player. It's also a good place to store common handlers if you want,
> because all open stacks will have access to its stack scripts, but
> you don't have to do that.
>
> Jacque
More information about the use-livecode
mailing list