Re: [Flashcoders] do we still have to check to see if loaded 10bytes?

2009-03-28 Thread Karl DeSaulniers
Hey thanks for the tip Muzak. It either does not work or I am coding it wrong in my source. I have a feeling my problem stems from this inside the Imageloader code. // remove original bitmap inTarget.unloadMovie(); inTarget.removeMovieClip(); delete inTarget; The inside of my movie is

Re: [Flashcoders] do we still have to check to see if loaded 10bytes?

2009-03-24 Thread Paul Andrews
Yes indeed. I had my mind on onProgress. Doh! Doing too much AS2 perhaps.. Paul - Original Message - From: Muzak p.ginnebe...@telenet.be To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 24, 2009 4:41 PM Subject: Re: [Flashcoders] do we still have to check

Re: [Flashcoders] do we still have to check to see if loaded 10bytes?

2009-03-24 Thread Muzak
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 - Original Message - From: Karl DeSaulniers k...@designdrumm.com

Re: [Flashcoders] do we still have to check to see if loaded 10bytes?

2009-03-24 Thread Karl DeSaulniers
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/

Re: [Flashcoders] do we still have to check to see if loaded 10bytes?

2009-03-24 Thread Muzak
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:

Re: [Flashcoders] do we still have to check to see if loaded 10bytes?

2009-03-24 Thread Karl DeSaulniers
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,