Thanks, I will try that.
Sent from losPhone
On Mar 24, 2009, at 6:15 PM, "Muzak" <p.ginnebe...@telenet.be> wrote:
Not sure, my AS2 is *very* rusty, but think this should work:
import com.martijndevisser.ImageLoader;
function onLoadProgress(target:MovieClip, bytesLoaded:Number,
bytesTotal:Number):Void {
trace("Application ::: onLoadProgress");
trace(" - target: " + target)
trace(" - bytesLoaded: " + bytesLoaded);
trace(" - bytesTotal: " + bytesTotal);
}
function onLoadInit(target:MovieClip):Void {
trace("Application ::: onLoadInit");
trace(" - target: " + target);
}
var loader:ImageLoader = new ImageLoader();
loader.addListener(this);
loader.loadImage( "some_image.jpg", image_mc );
regards,
Muzak
----- Original Message ----- From: "Karl DeSaulniers" <k...@designdrumm.com
>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Tuesday, March 24, 2009 9:19 PM
Subject: Re: [Flashcoders] do we still have to check to see if
loaded >10bytes?
No. This project is still as2
Sent from losPhone
On Mar 24, 2009, at 3:03 PM, "Muzak" <p.ginnebe...@telenet.be> wrote:
I'm confused, Martijn's ImageLoader is AS2.
Are you trying to use that in AS3?
http://www.martijndevisser.com/blog/2006/imageloader-class-for-
flash-8/
http://www.martijndevisser.com/download/ImageLoader.as
regards,
Muzak
_______________________________________________
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