On 5/25/12 2:09 PM, Graham Samuel wrote:
I found that if I put a script like this into the first card:

on openCard
wait 4 seconds
go to "Card2"
end openCard

then the splash screen stays around for an extra 4 seconds, and the
first thing the user sees is Card 2 - Card 1 is never visible.

The launch screen shouldn't matter, your app doesn't really start until that disappears. What may be happening is that the "wait" command is blocking, and preventing the first card from drawing. Try "wait 4 seconds with messages" and see if that helps.

If it doesn't, then use "send" instead:

on openCard
 send "goCard" to me in 4 seconds
end openCard

on goCard
 go to "Card2"
end goCard

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to