[ascoders] Re: loadMovie(jpg)

Hello LexGraphics.


You have to wait until the image is loaded. Use getBytesLoaded and getBytesTotal.



Timo


LexGraphics@xxxxxxx wrote:
it doesnt. at least not in my case. this is what i do.

// mc   is an empty movieclip

mc.loadMovie("home.jpg");

trace(mc._width); //gives "0"
trace(mc._height); //gives "0"


-------------------------------------------------------------- Archiv : http://www.freelists.org/archives/ascoders/ RSS : http://www.freelists.org/archives/ascoders/feed.rss Optionen : http://www.freelists.org/list/ascoders --------------------------------------------------------------

Other related posts: