Just wanted to let everyone know I finally figured it out.
Had to get the variable when it triggered the

function onLoadInit() {

Thank you all who contributed.. your input helped keep my wheels turning.
Danka Shern


Karl DeSaulniers
Design Drumm
http://designdrumm.com

On Apr 18, 2009, at 10:38 PM, Muzak wrote:

This should work:

import ImageLoader;

var imgHolder:MovieClip = this.createEmptyMovieClip("imgHolder_mc", this.getNextHighestDepth());
var imgURL:String = "ableton_live6_logo.jpg";
var imgLoader:ImageLoader;

function onLoadInit():Void {
trace("Application ::: onLoadInit");
trace("    - width: " + imgHolder._width);
trace("    - height: " + imgHolder._height);
}

imgLoader = new ImageLoader();
imgLoader.addListener(this);
imgLoader.loadImage(imgURL, imgHolder);

regards,
Muzak

----- Original Message ----- From: "Karl DeSaulniers" <k...@designdrumm.com>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Sunday, April 19, 2009 12:56 AM
Subject: Re: [Flashcoders] Just a quick one


Thank you all for the great responses. I actually think I have a copy of flex 1 somewhere. LOL But alas my movie is still not working and my programming knowledge extent at this time is as2 based. Don't seem to get the time to dive into as3 or any other ie: flex 1 I really am stumped on how to get the w&h of this loaded data. Nothing I do seems to work.
:(

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to