I'm loading images using the Image class, and I'm trying to analyze their height and width after they load for sizing purposes.  Problem is, sometimes (not always but sometimes) someImage.width and someImage.height are still 0 when the "complete" event gets handled.  Same problem with the "init" event, even though according to the docs, it's not supposed to be fired until the properties of the loaded object are available. 

Am I missing something?  Anyone having similar issues and/or solutions?  I seem to recall Flash having similar problems with inconsistent event firings when it comes to swf / image loading...

--Brian


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to