[ascoders] Re: loadMovie(jpg)

  • From: Timo Stamm <t.stamm@xxxxxxxxxx>
  • To: ascoders@xxxxxxxxxxxxx
  • Date: Tue, 22 Feb 2005 16:25:20 +0100

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 : //www.freelists.org/archives/ascoders/ RSS : //www.freelists.org/archives/ascoders/feed.rss Optionen : //www.freelists.org/list/ascoders --------------------------------------------------------------

Other related posts: