Jacque thanks very much, works perfectly. My mistake was to think that the card is drawn after "preOpenCard" and before "openCard" (this is implied by the SC docs, which tell you to use a "preOpenCard" handler to execute stuff that you want to do before the card appears). It appears that actually the drawing must done during "openCard".
I have never noticed this before. It's interesting that, although the drawing action is internal to LC, iOS doesn't let go of the launch image/splash screen until the app has something to show. Makes sense tho. Thanks again Graham On Fri, 25 May 2012 22:04:02 -0500, "J. Landman Gay" <jac...@hyperactivesw.com> wrote: > > 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