This should help:
http://www.onflex.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php



On 5/20/07, herklano <[EMAIL PROTECTED]> wrote:

  Hi,

Any tips on how to make a smooth preloader on Flex for an SWF, without
the big jumps. Or instead is there a away to check if a SWF is already
in cache?

i'm trying to use this, but the problem is that when the ProgressEvent
stops the "animation" is not complete:

percent -= (percent-((evt.bytesLoaded/evt.bytesTotal)*100))*.25;

if (percent < 99)
{
fpProgressBarMC.bar.width = Math.round (761 * percent / 100);
}
else
{
fpProgressBarMC.bar.width = 761;
completeTimer.start(); //animOUT but wait on complete
}




--
Tim
timwalling.com

Reply via email to