RE: [Flashcoders] Re: Caching loaded bitmaps
Hi Omar, To give you a good advice, I would need to know more of what is happening, code wise. Do you HAVE TO wait until all the pictures are loaded or can you preload them while something else keeps the user happy. But, testing locally never gives the real picture, Mac or PC. You should put it online and test it to see what loading time really is. HTH Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Omar Fouad Sent: donderdag 31 december 2009 2:54 To: Flash Coders List Subject: [Flashcoders] Re: Caching loaded bitmaps No one? On Wed, Dec 30, 2009 at 10:54 PM, Omar Fouad omarfouad@gmail.comwrote: Hi all, I have some sort of game that requires to load some bitmaps before it starts. I do this by using the Loader class, and shifting from an array of image Links on each time the Event.COMPLETE fires so that the images load one by one. The project is a FLA file (CS4) using document class and some other classes. I did most of this project on my Mac Book today, and every time I test the application I had to wait for all the images to load (which takes almost 2 minutes and it was so annoying). By coincidence I moved the project to a PC (windows 7) and I noticed that when I test the swf movie from Flash CS4, I have to wait until my 39 bitmaps load only the first time, unless I restart Flash CS4, in all the others movie tests, the bitmaps remain cached and they load in a heart beat (in less than 2 secs). I would like to know what is the trick with that. Why this does not happen on Mac? How can I enable this on Mac? Thanks in advance. -- Omar M. Fouad - Adobe™ Flash© Platform Developer http://omarfouad.net Cell: (+20) 234.66.33 This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. -- Omar M. Fouad - Adobe™ Flash© Platform Developer http://omarfouad.net Cell: (+20) 234.66.33 This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ 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: 9.0.722 / Virus Database: 270.14.123/2594 - Release Date: 12/30/09 08:27:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Caching loaded bitmaps
Hey Omar, PreloadAssetManager by GreenSock is really good and it smoothes dynamic content. But I have the AS2 version. Might be a AS3 version out there though. Loads smooth and you can set up a progress bar for each pic as well. Users like to know its at least loading.. :) Karl On Dec 31, 2009, at 2:58 AM, Cor wrote: Hi Omar, To give you a good advice, I would need to know more of what is happening, code wise. Do you HAVE TO wait until all the pictures are loaded or can you preload them while something else keeps the user happy. But, testing locally never gives the real picture, Mac or PC. You should put it online and test it to see what loading time really is. HTH Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Omar Fouad Sent: donderdag 31 december 2009 2:54 To: Flash Coders List Subject: [Flashcoders] Re: Caching loaded bitmaps No one? On Wed, Dec 30, 2009 at 10:54 PM, Omar Fouad omarfouad@gmail.comwrote: Hi all, I have some sort of game that requires to load some bitmaps before it starts. I do this by using the Loader class, and shifting from an array of image Links on each time the Event.COMPLETE fires so that the images load one by one. The project is a FLA file (CS4) using document class and some other classes. I did most of this project on my Mac Book today, and every time I test the application I had to wait for all the images to load (which takes almost 2 minutes and it was so annoying). By coincidence I moved the project to a PC (windows 7) and I noticed that when I test the swf movie from Flash CS4, I have to wait until my 39 bitmaps load only the first time, unless I restart Flash CS4, in all the others movie tests, the bitmaps remain cached and they load in a heart beat (in less than 2 secs). I would like to know what is the trick with that. Why this does not happen on Mac? How can I enable this on Mac? Thanks in advance. -- Omar M. Fouad - Adobe™ Flash© Platform Developer http://omarfouad.net Cell: (+20) 234.66.33 This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. -- Omar M. Fouad - Adobe™ Flash© Platform Developer http://omarfouad.net Cell: (+20) 234.66.33 This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ 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: 9.0.722 / Virus Database: 270.14.123/2594 - Release Date: 12/30/09 08:27: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] Caching loaded bitmaps
I don't know about Macs, but I have noticed this same caching behavior in the past using Windows XP and Flash CS3. If my memory serves me well, flushing IE's cache made Flash reload the images from disk (I discovered this by chance); this seemed a bit odd but I remember I could reproduce it every time. So maybe, and I'm just guessing here, this feature is due to how the Flash IDE works in Windows, and hence Windows only? Cheers Juan Pablo Califano 2009/12/30 Omar Fouad omarfouad@gmail.com Hi all, I have some sort of game that requires to load some bitmaps before it starts. I do this by using the Loader class, and shifting from an array of image Links on each time the Event.COMPLETE fires so that the images load one by one. The project is a FLA file (CS4) using document class and some other classes. I did most of this project on my Mac Book today, and every time I test the application I had to wait for all the images to load (which takes almost 2 minutes and it was so annoying). By coincidence I moved the project to a PC (windows 7) and I noticed that when I test the swf movie from Flash CS4, I have to wait until my 39 bitmaps load only the first time, unless I restart Flash CS4, in all the others movie tests, the bitmaps remain cached and they load in a heart beat (in less than 2 secs). I would like to know what is the trick with that. Why this does not happen on Mac? How can I enable this on Mac? Thanks in advance. -- Omar M. Fouad - Adobe™ Flash© Platform Developer http://omarfouad.net Cell: (+20) 234.66.33 This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. 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