Splash Screen Launcher

John Tregea john at debraneys.com
Tue Oct 9 18:12:59 EDT 2007


Hi Guys,
To the suggested script

on startUp
go stack "thatOtherStack"
set the visible of me to FALSE
end startUp

Maybe it would be worth adding

on startUp
wait 2 seconds -- so users can admire my beautiful splash screen
go stack "thatOtherStack"
set the visible of me to FALSE
end startUp


: )

Regards

John
>-----Original Message-----
>From: Shao Sean [mailto:shaosean at wehostmacs.com]
>Sent: Wednesday, October 10, 2007 06:02 AM
>To: use-revolution at lists.runrev.com
>Subject: Re: Splash Screen Launcher
>
>> 3) in the launcher stack's script editor write:
>> on openStack
>> go stack "thatOtherStack"
>> set the visible of me to false
>> end openStack
>
>Viktoras, the only thing I would mention as a possible change would 
>be to put this code into the "startUp" handler instead "openStack"
>
>on startUp
> go stack "thatOtherStack"
> set the visible of me to FALSE
>end startUp
>
>The difference being the "startUp" command is only fired when the 
>program first starts the "openStack" message will be fired every time 
>a stack is opened so you'll need to trap it.
>
>Thanks for the coding tip though as I am going to be doing the exact 
>same thing in the next day or two :-)
>
>-Sean
>_______________________________________________
>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