RE: [Flashcoders] AS3 examples of amoeba or microbes
@Matt Thank you!! Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Muller Sent: maandag 23 maart 2009 22:15 To: Flash Coders List Subject: Re: [Flashcoders] AS3 examples of amoeba or microbes click on source at the tom right. choose category. click on an experiment which is one of the little blocks that fly in, on the bottom right there is a button which says download. does that answer your question?? On Mon, Mar 23, 2009 at 7:50 PM, Cor c...@chello.nl wrote: Source??? Where exactly?? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Muller Sent: maandag 23 maart 2009 18:10 To: Flash Coders List Subject: Re: [Flashcoders] AS3 examples of amoeba or microbes you might find something useful here http://www.liquidjourney.com/ there is source. MaTT On Mon, Mar 23, 2009 at 3:19 PM, Alan Shaw noden...@gmail.com wrote: Check this out: http://www.nicoptere.net/blog/index.php/2008/10/13/51-bacteria-generator-act ionscript-flashhttp://www.nicoptere.net/blog/index.php/2008/10/13/51-bacter ia-generator-act%0Aionscript-flash On Sun, Mar 22, 2009 at 11:11 PM, Anthony Pace anthony.p...@utoronto.ca wrote: I am looking for some really good examples of amoeba or microbe simulations done in as3 I know that it is probably just done using beziers; yet, I am also wondering what the best way would be to connect hair feelers to the edges, so if the microbe changes shape the hairs move accordingly. Do I break down the curve along a larger bezier to find the distance it covers and then based on averaging the distance of the hairs place them? or would it be better to just make a curve that has more control points; thus, making it easier to track the position of the feelers along the curve but having to process a kappas(? not sure if the term really applies here, just guessing) value for each added control point? What do you think? ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.278 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09 06:52:00 ___ 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 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.278 / Virus Database: 270.11.25/2019 - Release Date: 03/23/09 18:51:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Anyone remember 3d tile stacking physics app?
Hi there I saw a video that showed the speeded-up development for an application that used the cove APE physics engine to create a 3D effect board with tiles on that you could move around and stack. I can't find this anywhere. Can anyone point me in the direction of the project or the video that shows the development? Thanks :) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Anyone remember 3d tile stacking physics app?
http://dougmccune.com/blog/2007/08/04/the-making-of-tileui/ Here y'go! James Marsden Creative Je Ne Sais Quoi | FuturLab Limited +44 (0) 1273 420 367 +44 (0) 7547 775 705 -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ali drongo Sent: 24 March 2009 11:01 To: Flash Coders List Subject: [Flashcoders] Anyone remember 3d tile stacking physics app? Hi there I saw a video that showed the speeded-up development for an application that used the cove APE physics engine to create a 3D effect board with tiles on that you could move around and stack. I can't find this anywhere. Can anyone point me in the direction of the project or the video that shows the development? Thanks :) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Anyone remember 3d tile stacking physics app?
There's this too: http://www.ted.com/index.php/talks/anand_agarawala_demos_his_bumptop_des ktop.html Cheers, James ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender
Yep, I have been considering haXe, especially now that they have added SWC support I can export the core of my rendering engine as haXe compiled SWC and then use that in my Flex Project, agreed tho the alchemy cheats are anoying but still very impressive what is possible if you try hard enough ;) 2009/3/20 Juan Delgado zzzar...@gmail.com You can try haXe, it outputs Alchemy bytoce for that extra performance: http://ncannasse.fr/blog/adobe_alchemy Still, it's odd that to get the best of Flash you are forced to use... C or haXe, not ActionScript. On Thu, Mar 19, 2009 at 8:25 PM, Latcho spamtha...@gmail.com wrote: You are still clever:) I think the Alchemy story is a bit of a frustrating one (to know). Especially if you don't want to go C++ to obtain...performative AS3. Latcho mike cann wrote: Just thought I would update anyone interested, I have updated my Particle Playground see post: http://www.mikecann.co.uk/?p=392 Also I stumbled accross this very interesting particle on 300k 3D particles in flash using alchemy and pixel bender! http://www.unitzeroone.com/blog/2009/03/18/flash-10-massive-amounts-of-3d-particles-with-alchemy-source-included/ It put a swift end to the thoughts about how clever i was with 40k 2D particles :P 2009/3/18 mike cann mike.c...@gmail.com Sure will, i learnt quite abit about what you can and cant do with shaders in flash making this. I hope to share with you all soon. 2009/3/18 Eric E. Dolecki edole...@gmail.com Ping us when you release something or have a demo online. Looks cool. E. On Wed, Mar 18, 2009 at 8:03 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: awesome:) On Wed, Mar 18, 2009 at 12:45 PM, mike cann mike.c...@gmail.com wrote: Hey List, I have been playing around with particles again... I have just released my latest little saunter into the world of particles and shaders in flash 10. It started off as and idea to use the new pixel bender shaders of flash 10 as a more efficient method of updating particle simulations. Well after a few struggling evenings I managed to get a little prototype going. I was so amazed at some of the beautiful patterns and effects that the particles were making I thought it may be nice rather than just releasing a tech demo, to add abit more to it and release it for others to enjoy. I will be releasing the source code in the coming weeks along with a blog post which should explain in detail how the technical aspects of updating and rendering tens of thousands of particles per frame works. The tool features a gallery tab which you can use to take screenshots then upload them to my picassa account (proxyed via php). The hope is to get some realy beautiful images in here, perhaps if some are good enough ill get them printed and framed ;) You can see it in action over on my blog: http://www.mikecann.co.uk/?p=384 Let me know what you think! Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Juan Delgado - Zárate http://zarate.tv http://blog.zarate.tv ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] do we still have to check to see if loaded 10 bytes?
in as2 there used to be a thing where you had to check to make sure loaded was above 10 bytes or it would sometimes give a false reading (so you might see if (this.getBytesLoaded == this.getBytesTotal() this.getBytesLoaded 10) for instance) does the same apply to as3 or can i safely leave that part out of my code? thanks a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender
can anyone recommend a good set of tutorials compatible with both haXe and flashdevelop - i started going through the ones on haXe.org but they bang on about a bunch of files that don't seem present in my flashdevelop project (i suspect they are hidden). The flashdevelop ones seem to be missing. On Tue, Mar 24, 2009 at 2:53 PM, mike cann mike.c...@gmail.com wrote: Yep, I have been considering haXe, especially now that they have added SWC support I can export the core of my rendering engine as haXe compiled SWC and then use that in my Flex Project, agreed tho the alchemy cheats are anoying but still very impressive what is possible if you try hard enough ;) 2009/3/20 Juan Delgado zzzar...@gmail.com You can try haXe, it outputs Alchemy bytoce for that extra performance: http://ncannasse.fr/blog/adobe_alchemy Still, it's odd that to get the best of Flash you are forced to use... C or haXe, not ActionScript. On Thu, Mar 19, 2009 at 8:25 PM, Latcho spamtha...@gmail.com wrote: You are still clever:) I think the Alchemy story is a bit of a frustrating one (to know). Especially if you don't want to go C++ to obtain...performative AS3. Latcho mike cann wrote: Just thought I would update anyone interested, I have updated my Particle Playground see post: http://www.mikecann.co.uk/?p=392 Also I stumbled accross this very interesting particle on 300k 3D particles in flash using alchemy and pixel bender! http://www.unitzeroone.com/blog/2009/03/18/flash-10-massive-amounts-of-3d-particles-with-alchemy-source-included/ It put a swift end to the thoughts about how clever i was with 40k 2D particles :P 2009/3/18 mike cann mike.c...@gmail.com Sure will, i learnt quite abit about what you can and cant do with shaders in flash making this. I hope to share with you all soon. 2009/3/18 Eric E. Dolecki edole...@gmail.com Ping us when you release something or have a demo online. Looks cool. E. On Wed, Mar 18, 2009 at 8:03 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: awesome:) On Wed, Mar 18, 2009 at 12:45 PM, mike cann mike.c...@gmail.com wrote: Hey List, I have been playing around with particles again... I have just released my latest little saunter into the world of particles and shaders in flash 10. It started off as and idea to use the new pixel bender shaders of flash 10 as a more efficient method of updating particle simulations. Well after a few struggling evenings I managed to get a little prototype going. I was so amazed at some of the beautiful patterns and effects that the particles were making I thought it may be nice rather than just releasing a tech demo, to add abit more to it and release it for others to enjoy. I will be releasing the source code in the coming weeks along with a blog post which should explain in detail how the technical aspects of updating and rendering tens of thousands of particles per frame works. The tool features a gallery tab which you can use to take screenshots then upload them to my picassa account (proxyed via php). The hope is to get some realy beautiful images in here, perhaps if some are good enough ill get them printed and framed ;) You can see it in action over on my blog: http://www.mikecann.co.uk/?p=384 Let me know what you think! Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Juan Delgado - Zárate http://zarate.tv http://blog.zarate.tv ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Mike Cann http://www.mikecann.co.uk/
Re: [Flashcoders] do we still have to check to see if loaded 10 bytes?
I can't say, but it wouldn't harm to leave it there.. - Original Message - From: allandt bik-elliott (thefieldcomic.com) alla...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 24, 2009 4:03 PM Subject: [Flashcoders] do we still have to check to see if loaded 10 bytes? in as2 there used to be a thing where you had to check to make sure loaded was above 10 bytes or it would sometimes give a false reading (so you might see if (this.getBytesLoaded == this.getBytesTotal() this.getBytesLoaded 10) for instance) does the same apply to as3 or can i safely leave that part out of my code? thanks a ___ 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
Re: [Flashcoders] do we still have to check to see if loaded 10 bytes?
In AS3 you usually listen for the complete event, which is triggered when loading is completed. regards, Muzak - Original Message - From: allandt bik-elliott (thefieldcomic.com) alla...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 24, 2009 5:03 PM Subject: [Flashcoders] do we still have to check to see if loaded 10 bytes? in as2 there used to be a thing where you had to check to make sure loaded was above 10 bytes or it would sometimes give a false reading (so you might see if (this.getBytesLoaded == this.getBytesTotal() this.getBytesLoaded 10) for instance) does the same apply to as3 or can i safely leave that part out of my code? thanks a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Removing a key and value in an object
Hey there, I was trying to remove the first key and value ( a:foo ) from the oject. var obj:Object = {a:foo, b:bar} Is there a way to remove it? Thank you ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Removing a key and value in an object
to remove dynamic properties you: delete obj.a; Same as removing nodes or properties from an XML; Romu www.soundstep.com ACE Flash wrote: Hey there, I was trying to remove the first key and value ( a:foo ) from the oject. var obj:Object = {a:foo, b:bar} Is there a way to remove it? Thank you ___ 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
Re: [Flashcoders] do we still have to check to see if loaded 10 bytes?
I have an issue with dynamic content not triggering my code when its complete. I am trying to call the progress from a external class.. any sample code that anyone can give to implement this easily. The class is com.martijndevisser.ImageLoader Please pardon my Newbieizm I am self taught AS2 and evidently I havent taught myself enough. : | Karl DeSaulniers Design Drumm http://designdrumm.com On Mar 24, 2009, at 11:41 AM, Muzak wrote: In AS3 you usually listen for the complete event, which is triggered when loading is completed. regards, Muzak - Original Message - From: allandt bik-elliott (thefieldcomic.com) alla...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 24, 2009 5:03 PM Subject: [Flashcoders] do we still have to check to see if loaded 10 bytes? in as2 there used to be a thing where you had to check to make sure loaded was above 10 bytes or it would sometimes give a false reading (so you might see if (this.getBytesLoaded == this.getBytesTotal() this.getBytesLoaded 10) for instance) does the same apply to as3 or can i safely leave that part out of my code? thanks a ___ 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
[Flashcoders] Re: Removing a key and value in an object
I am able to use this.delete obj[k]; thanks all On Tue, Mar 24, 2009 at 12:35 PM, ACE Flash acefl...@gmail.com wrote: Hey there, I was trying to remove the first key and value ( a:foo ) from the oject. var obj:Object = {a:foo, b:bar} Is there a way to remove it? Thank you ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] do we still have to check to see if loaded 10bytes?
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 to see if loaded 10bytes? In AS3 you usually listen for the complete event, which is triggered when loading is completed. regards, Muzak - Original Message - From: allandt bik-elliott (thefieldcomic.com) alla...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 24, 2009 5:03 PM Subject: [Flashcoders] do we still have to check to see if loaded 10 bytes? in as2 there used to be a thing where you had to check to make sure loaded was above 10 bytes or it would sometimes give a false reading (so you might see if (this.getBytesLoaded == this.getBytesTotal() this.getBytesLoaded 10) for instance) does the same apply to as3 or can i safely leave that part out of my code? thanks a ___ 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
Re: [Flashcoders] do we still have to check to see if loaded 10bytes?
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 To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 24, 2009 5:50 PM Subject: Re: [Flashcoders] do we still have to check to see if loaded 10bytes? I have an issue with dynamic content not triggering my code when its complete. I am trying to call the progress from a external class.. any sample code that anyone can give to implement this easily. The class is com.martijndevisser.ImageLoader Please pardon my Newbieizm I am self taught AS2 and evidently I havent taught myself enough. : | Karl DeSaulniers Design Drumm http://designdrumm.com On Mar 24, 2009, at 11:41 AM, Muzak wrote: In AS3 you usually listen for the complete event, which is triggered when loading is completed. regards, Muzak ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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 - Original Message - From: Karl DeSaulniers k...@designdrumm.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 24, 2009 5:50 PM Subject: Re: [Flashcoders] do we still have to check to see if loaded 10bytes? I have an issue with dynamic content not triggering my code when its complete. I am trying to call the progress from a external class.. any sample code that anyone can give to implement this easily. The class is com.martijndevisser.ImageLoader Please pardon my Newbieizm I am self taught AS2 and evidently I havent taught myself enough. : | Karl DeSaulniers Design Drumm http://designdrumm.com On Mar 24, 2009, at 11:41 AM, Muzak wrote: In AS3 you usually listen for the complete event, which is triggered when loading is completed. 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
[Flashcoders] AS3 - Help me remove the previous image
http://rafb.net/p/NZxD3554.html [1] my code is pasted above for easy reading. In AS3 I am trying to remove the previous image. In AS2 I could type my_mc.unloadMovie(); but in AS3 I ned to refrence the child? I am not 100% sure as to what to do. I tried to write a way for it to find the previous image but it didn't work out so well... Line 80 and 90 were a attempt but they just don't seem correct... I'd rather remove the image at line 103 right before I load the new image, but was unsuccessful. any ideas? Thanks! Links: -- [1] http://rafb.net/p/NZxD3554.html ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 - Help me remove the previous image
If your image holder MC only has images in it, you can do this, BEFORE you load the next image: //remove all loaded images from img while(img.numChildren 0){ var killIMG = img.getChildAt(0); img.removeChild(killIMG); killIMG = null; } I'm sure someone else will suggest a superior method but it does the trick ;) .m On Tue, Mar 24, 2009 at 5:22 PM, zu...@zadesigns.com wrote: http://rafb.net/p/NZxD3554.html [1] my code is pasted above for easy reading. In AS3 I am trying to remove the previous image. In AS2 I could type my_mc.unloadMovie(); but in AS3 I ned to refrence the child? I am not 100% sure as to what to do. I tried to write a way for it to find the previous image but it didn't work out so well... Line 80 and 90 were a attempt but they just don't seem correct... I'd rather remove the image at line 103 right before I load the new image, but was unsuccessful. any ideas? Thanks! Links: -- [1] http://rafb.net/p/NZxD3554.html ___ 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
Re: [Flashcoders] do we still have to check to see if loaded 10bytes?
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
Re: [Flashcoders] do we still have to check to see if loaded 10bytes?
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