RE: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
And where can I download THIS ImageLoader.as Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 13 september 2010 2:48 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/09/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
Well that is a good question and the answer is... http://developer.longtailvideo.com/trac/browser/tags/mediaplayer-3.8/ com/jeroenwijering/utils/ImageLoader.as At least that seems to be the AS3 version I think. There is an AS2 version that I am using that is very smooth and with dynamic images (lost of them). Haven't used the AS3 version yet though. Best, Karl On Sep 18, 2010, at 5:14 AM, Cor wrote: And where can I download THIS ImageLoader.as Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 13 september 2010 2:48 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/09/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
That one is actually by jeroenwijering. But the one I have is from martijndevisser sry. Best, Karl On Sep 18, 2010, at 5:14 AM, Cor wrote: And where can I download THIS ImageLoader.as Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 13 september 2010 2:48 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/09/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
Karl, THANK YOU!!! Regards, Cor van Dooren -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 12:59 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Well that is a good question and the answer is... http://developer.longtailvideo.com/trac/browser/tags/mediaplayer-3.8/com/jer oenwijering/utils/ImageLoader.as At least that seems to be the AS3 version I think. There is an AS2 version that I am using that is very smooth and with dynamic images (lost of them). Haven't used the AS3 version yet though. Best, Karl On Sep 18, 2010, at 5:14 AM, Cor wrote: And where can I download THIS ImageLoader.as Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 13 september 2010 2:48 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/09/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/17/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
Oh know I see. And it is AS2!!! Can you help me to the other one?? Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 13:02 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps That one is actually by jeroenwijering. But the one I have is from martijndevisser sry. Best, Karl On Sep 18, 2010, at 5:14 AM, Cor wrote: And where can I download THIS ImageLoader.as Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 13 september 2010 2:48 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/09/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/17/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
No problem. If you cant get it to work I can send you marti's version, but it is AS2. It takes the image loads the image in an empty mc then copies the bitmap data into another MC then deletes the original image then loads the bitmap image into what ever MC you have it assigned to and you are able to put smoothing on it as well. Its a very neat script. Kudos to those. Karl On Sep 18, 2010, at 6:02 AM, Cor wrote: Karl, THANK YOU!!! Regards, Cor van Dooren -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 12:59 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Well that is a good question and the answer is... http://developer.longtailvideo.com/trac/browser/tags/ mediaplayer-3.8/com/jer oenwijering/utils/ImageLoader.as At least that seems to be the AS3 version I think. There is an AS2 version that I am using that is very smooth and with dynamic images (lost of them). Haven't used the AS3 version yet though. Best, Karl On Sep 18, 2010, at 5:14 AM, Cor wrote: And where can I download THIS ImageLoader.as Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 13 september 2010 2:48 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/09/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/17/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
There you go. GL Karl On Sep 18, 2010, at 6:05 AM, Cor wrote: Oh know I see. And it is AS2!!! Can you help me to the other one?? Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 13:02 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps That one is actually by jeroenwijering. But the one I have is from martijndevisser sry. Best, Karl On Sep 18, 2010, at 5:14 AM, Cor wrote: And where can I download THIS ImageLoader.as Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 13 september 2010 2:48 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/09/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/17/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 13:02 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps That one is actually by jeroenwijering. But the one I have is from martijndevisser sry. Best, Karl On Sep 18, 2010, at 5:14 AM, Cor wrote: And where can I download THIS ImageLoader.as Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 13 september 2010 2:48 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/09/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/17/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/17/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
Hi All, I went ahead and zipped it up in a folder and put it on my server if anyone else would like to enjoy this script as much as I have. Blew my mind on what it did for me. But I may be easily impressed. :) ***Reminder: These files are AS2 http://designdrumm.com/martijndevisser.zip Another good one is PreloadAssetManager.as, but I am not sure who makes that one. It is a little more technical I think than ImageLoader. http://designdrumm.com/gs.zip This has PreloadAsset.as and PreloadAssetManager.as Have fun! :) Best, Karl On Sep 18, 2010, at 6:09 AM, Karl DeSaulniers wrote: There you go. GL Karl On Sep 18, 2010, at 6:05 AM, Cor wrote: Oh know I see. And it is AS2!!! Can you help me to the other one?? Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 13:02 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps That one is actually by jeroenwijering. But the one I have is from martijndevisser sry. Best, Karl On Sep 18, 2010, at 5:14 AM, Cor wrote: And where can I download THIS ImageLoader.as Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 13 september 2010 2:48 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/09/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/17/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
I guess gs = Grant Skinner He makes awesome tools like TimeLineMax and TweenMax Best, Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 13:24 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Hi All, I went ahead and zipped it up in a folder and put it on my server if anyone else would like to enjoy this script as much as I have. Blew my mind on what it did for me. But I may be easily impressed. :) ***Reminder: These files are AS2 http://designdrumm.com/martijndevisser.zip Another good one is PreloadAssetManager.as, but I am not sure who makes that one. It is a little more technical I think than ImageLoader. http://designdrumm.com/gs.zip This has PreloadAsset.as and PreloadAssetManager.as Have fun! :) Best, Karl On Sep 18, 2010, at 6:09 AM, Karl DeSaulniers wrote: There you go. GL Karl On Sep 18, 2010, at 6:05 AM, Cor wrote: Oh know I see. And it is AS2!!! Can you help me to the other one?? Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 13:02 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps That one is actually by jeroenwijering. But the one I have is from martijndevisser sry. Best, Karl On Sep 18, 2010, at 5:14 AM, Cor wrote: And where can I download THIS ImageLoader.as Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 13 september 2010 2:48 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/09/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/17/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
Ahh yes. Thank you. I should have at least guessed that. :( Karl On Sep 18, 2010, at 6:29 AM, Cor wrote: I guess gs = Grant Skinner He makes awesome tools like TimeLineMax and TweenMax Best, Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 13:24 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Hi All, I went ahead and zipped it up in a folder and put it on my server if anyone else would like to enjoy this script as much as I have. Blew my mind on what it did for me. But I may be easily impressed. :) ***Reminder: These files are AS2 http://designdrumm.com/martijndevisser.zip Another good one is PreloadAssetManager.as, but I am not sure who makes that one. It is a little more technical I think than ImageLoader. http://designdrumm.com/gs.zip This has PreloadAsset.as and PreloadAssetManager.as Have fun! :) Best, Karl On Sep 18, 2010, at 6:09 AM, Karl DeSaulniers wrote: There you go. GL Karl On Sep 18, 2010, at 6:05 AM, Cor wrote: Oh know I see. And it is AS2!!! Can you help me to the other one?? Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 13:02 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps That one is actually by jeroenwijering. But the one I have is from martijndevisser sry. Best, Karl On Sep 18, 2010, at 5:14 AM, Cor wrote: And where can I download THIS ImageLoader.as Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 13 september 2010 2:48 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/09/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/17/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
grant skinner didn't make the greensock stuff. credit for that goes to Jack Doyle :) On 18 September 2010 13:29, Cor c...@chello.nl wrote: TimeLineMax ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
Yep, I think he is right. I think the gs actually stands for greensock. : / The credits are still in the files for anyone to see. Best, Karl On Sep 18, 2010, at 6:48 AM, tom rhodes wrote: grant skinner didn't make the greensock stuff. credit for that goes to Jack Doyle :) On 18 September 2010 13:29, Cor c...@chello.nl wrote: TimeLineMax ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
@Cor, Not sure if this is the same script, but this might be a close one. I do not know as3, but I believe this is an AS3 version. http://code.google.com/p/svgweb/source/browse/trunk/src/org/svgweb/ utils/ImageLoader.as?r=931 Karl On Sep 18, 2010, at 6:05 AM, Cor wrote: Oh know I see. And it is AS2!!! Can you help me to the other one?? Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 13:02 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps That one is actually by jeroenwijering. But the one I have is from martijndevisser sry. Best, Karl On Sep 18, 2010, at 5:14 AM, Cor wrote: And where can I download THIS ImageLoader.as Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 13 september 2010 2:48 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/09/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/17/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
Thanks again Karl!!! This is indeed AS3 and has some beter approach then mine. Regards, Cor van Dooren www.codobyte.com -- There are only 10 types of people in the world: Those who understand binary and those who don't. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 14:02 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps @Cor, Not sure if this is the same script, but this might be a close one. I do not know as3, but I believe this is an AS3 version. http://code.google.com/p/svgweb/source/browse/trunk/src/org/svgweb/ utils/ImageLoader.as?r=931 Karl On Sep 18, 2010, at 6:05 AM, Cor wrote: Oh know I see. And it is AS2!!! Can you help me to the other one?? Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 13:02 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps That one is actually by jeroenwijering. But the one I have is from martijndevisser sry. Best, Karl On Sep 18, 2010, at 5:14 AM, Cor wrote: And where can I download THIS ImageLoader.as Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 13 september 2010 2:48 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/09/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/17/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/17/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
Good to hear. Pay it forward. :) Best, Karl On Sep 18, 2010, at 7:08 AM, Cor wrote: Thanks again Karl!!! This is indeed AS3 and has some beter approach then mine. Regards, Cor van Dooren www.codobyte.com -- There are only 10 types of people in the world: Those who understand binary and those who don't. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 14:02 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps @Cor, Not sure if this is the same script, but this might be a close one. I do not know as3, but I believe this is an AS3 version. http://code.google.com/p/svgweb/source/browse/trunk/src/org/svgweb/ utils/ImageLoader.as?r=931 Karl On Sep 18, 2010, at 6:05 AM, Cor wrote: Oh know I see. And it is AS2!!! Can you help me to the other one?? Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: zaterdag 18 september 2010 13:02 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps That one is actually by jeroenwijering. But the one I have is from martijndevisser sry. Best, Karl On Sep 18, 2010, at 5:14 AM, Cor wrote: And where can I download THIS ImageLoader.as Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 13 september 2010 2:48 To: Flash Coders List Subject: Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/09/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/17/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.851 / Virusdatabase: 271.1.1/3125 - datum van uitgifte: 09/17/10 20:34:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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] Best (fastest/memory efficient) way to animate bitmaps
found this method quite interesting: http://insideria.com/2010/08/advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
Martijndevisser - ImageLoader.as With this you can load the images as they scroll. if you will. :) Very smooth and memory efficient that I have seen. Best, Karl On Sep 12, 2010, at 4:04 PM, Karim Beyrouti wrote: found this method quite interesting: http://insideria.com/2010/08/ advanced-blitting-bitmap-scrol.html not too sure it applies to mobile, but might help... On 12 Sep 2010, at 20:58, gamera wrote: make a benchmark and find out. On Sep 8, 2010, at 8:50 PM, Kevin Newman wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/ removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
i was always under the impression that the best way of doing that (for games sprite animations for instance) is bitmap 'blitting' where you use a tilesheet and then use bitmap draw to pull the current frame you want to show into your actual sprite a quick search turned this up which looks pretty comprehensive: http://www.8bitrocket.com/2008/07/02/tutorial-as3-the-basics-of-tile-sheet-animation-or-blitting/ http://www.8bitrocket.com/2008/07/02/tutorial-as3-the-basics-of-tile-sheet-animation-or-blitting/ best a On 8 September 2010 20:21, Zeh Fernando z...@zehfernando.com wrote: Just have them all on stage and set visible on and off. No crazy setup needed. Zeh On Wed, Sep 8, 2010 at 2:50 PM, Kevin Newman capta...@unfocus.com wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
allandt bik-elliott (thefieldcomic.com) skriver: i was always under the impression that the best way of doing that (for games sprite animations for instance) is bitmap 'blitting' where you use a tilesheet and then use bitmap draw to pull the current frame you want to show into your actual sprite I think that's not the fastest way. It's still copying the pixels. I am fairly sure that not copying the pixels is infinitely faster. My money is on the one Bitmap/multiple BitmapData solution. It should be using the least amount of memory and have no data copying at all. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
but for frame by frame animation (ie: one bitmap per frame), the method Zeh said is the fastest... all bitmaps on stage, visible=true or visible=false var currentFrame:int = 0; var bitmaps:Array = [ ... push the bitmap instances into this array ... ]; function enterFrameLoop (e:Event):void { animateBitmaps(); currentFrame++; if (currentFrame = 20) { // loop play currentFrame = 0; } } function animateBitmaps ():void { var i:int = 0; var iLen:int = 20; for (i; iiLen; i++) { bitmaps[i].visible = false; } bitmaps[currentFrame].visible = true; } addEventListener(Event.ENTER_FRAME, enterFrameLoop); cedric allandt bik-elliott (thefieldcomic.com) skriver: i was always under the impression that the best way of doing that (for games sprite animations for instance) is bitmap 'blitting' where you use a tilesheet and then use bitmap draw to pull the current frame you want to show into your actual sprite I think that's not the fastest way. It's still copying the pixels. I am fairly sure that not copying the pixels is infinitely faster. My money is on the one Bitmap/multiple BitmapData solution. It should be using the least amount of memory and have no data copying at all. ___ 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] Best (fastest/memory efficient) way to animate bitmaps
We use the single Bitmap many BitmapData method on expensive animations (having pre-cached various timelines as arrays of BitmapData) outputting them on the frame rate by reassignment of the Bitmap.bitmapData property. It's been a while since I wrote the engine we use for it but I optimised/benchmarked it a lot and I think it was the best way - especially if you've multiple instances. Many, many times faster than playing a movieclip that's for sure - and faster than doing copyPixels from a master sheet. Of course - it can have a hefty memory footprint for longer animations so management / cleanup is important. On 9 Sep 2010, at 11:29, Henrik Andersson wrote: allandt bik-elliott (thefieldcomic.com) skriver: i was always under the impression that the best way of doing that (for games sprite animations for instance) is bitmap 'blitting' where you use a tilesheet and then use bitmap draw to pull the current frame you want to show into your actual sprite I think that's not the fastest way. It's still copying the pixels. I am fairly sure that not copying the pixels is infinitely faster. My money is on the one Bitmap/multiple BitmapData solution. It should be using the least amount of memory and have no data copying at all. ___ 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] Best (fastest/memory efficient) way to animate bitmaps
What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps
Just have them all on stage and set visible on and off. No crazy setup needed. Zeh On Wed, Sep 8, 2010 at 2:50 PM, Kevin Newman capta...@unfocus.com wrote: What is the fastest way to animate a series of bitmaps (say 20 frames). Here's a couple of ideas: A single big image behind a frame sized mask, move it one frame onEnterFrame. A series of memory cached Bitmap objs, swap them using addChild/removeChild (or set visible?) onEnterFrame. A series of memory cached BitmapData objs swap them by resetting bmp.bitmapData onEnterFrame. Anything faster is nice too - particularly on mobile. Thanks! Kevin N. ___ 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