splash screen before app loads -- sample script?

Richard Gaskin ambassador at fourthworld.com
Tue May 2 20:54:33 EDT 2006


Mark Smith wrote:
> A very simple example would be where you have your mainstack (called  
> "splashStack") as a splash screen, and your actual logic in a  
> substack (called "logicStack").
> 
> In the script of stack "splashStack"
> 
> on startUp
>    show me
>    open stack "logicStack"
> end startUp
> 
> 
> in the script of stack "logicStack"
> 
> on openStack
>    doAllYourInitializing
>    hide stack "splashStack"
> end openStack

If the goal is to have something savable, rather than a substack he'll 
probably want a separate stack file:


   on startUp
     show me
     open stack "logicstack.rev"
   end startup


--
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list