Smells like a timing issue.  What are you loading?  JPG?  SWF?  I think 
you've replaced the example on your site with another thread's example 
so I couldn't see what you're talking about.

If you load SWFs there is a timing issue where, once the SWF is loaded, 
we wait one frame and then ask the SWF for its size (_width/_height) 
then use that to calculate the stretch.

If the SWF is multi-frame or code-driven, it can finish its rendering 
and alter its size after we took the snapshot of its size and then it 
won't look right.

Manish proposes the right code, but you probably have to come up with a 
more sophisticated way to find out the true size of the SWF and run the 
Manish's fix at a later time.




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to