I wouldn't take the time to download another thing, I would just bake it
into the custom preloader.  The preloader is being tickled by a timer
already, so that's be best you can do.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of celumbra
Sent: Friday, April 18, 2008 6:51 PM
To: [email protected]
Subject: [flexcoders] animation in custom preloader

 

I have a custom preloader, made from implementing the IPreloaderDisplay
interface. It works 
great, but I wonder whether I can animate an object in the display
without using the 
progress event to stimulate the change in values. I've seen examples
that embed a swf made 
in Flash CS, is it possible to download short piece of code that runs
while the Preloader is 
downloading? I tried instantiating a Timer, for instance, during the
initialize() and in the set 
preloader(), but, in the de-bugger, it looks as though tracking the
loaded bits takes over, so 
any bit of code could not respond to timer events until the Preloader
dispatches its final 
event. 

Is this correct? That it is not possible to launch a short piece of code
to execute while the 
main app is downloading (simultaneously)? 

Any comments would be helpful. Thanks.

 

Reply via email to