|
From: onlyunusedname on 8 Apr 2008 11:54 I have a question regarding memory used when loading a .swf. I have a Director MX application that plays a flash attract loop. When the program loads the flash file the memory usage in Task Manager for Director jumps to around 750,000k. When the flash file is not being played it drops to around 10,000k. The flash file is 40M, 361 frames long and plays at 30fps. Roughly 12 seconds. My PC has 1G of memory and this is the only application running. The flash when playing is choppy and sometimes stops. My question is why is the program jumping from 10,000k to 750,000k when a 40M file loads? I can add more memory but I would like to know why such a jump for such a small file. Is there anything else I can do to decrease memory usage and keep the quality of the attract loop? Thanks for your help in advance, Steve
From: Booee on 8 Apr 2008 15:03 It's basically a bug in the software. I made the mistake of using a bunch of the pre-supplied Flash Components in my project, and the same thing was happening. It hogs the memory, and can make everything extremely sluggish (depending on how many Flash things are loaded). Honestly, I would steer clear of using any Flash within Director (or use it at an EXTREME minimum if possible). They did a horrible job of implementing the integration, and that's why it works like sh*t. These experiences are all with Director MX...I'd be curious to hear from others if this was improved/fixed in Director 11... On Apr 8, 10:54 am, "onlyunusedname" <webforumsu...(a)macromedia.com> wrote: > I have a question regarding memory used when loading a .swf. > I have a Director MX application that plays a flash attract loop. When the > program loads the flash file the memory usage in Task Manager for Director > jumps to around 750,000k. > When the flash file is not being played it drops to around 10,000k. > The flash file is 40M, 361 frames long and plays at 30fps. Roughly 12 seconds. > My PC has 1G of memory and this is the only application running. The flash > when playing is choppy and sometimes stops. > > My question is why is the program jumping from 10,000k to 750,000k when a 40M > file loads? > I can add more memory but I would like to know why such a jump for such a > small file. > Is there anything else I can do to decrease memory usage and keep the quality > of the attract loop? > > Thanks for your help in advance, > Steve
From: wherold on 8 Apr 2008 20:04 thats simple. a 800x600 bitmap needs about 2meg memory . Your flash has eg with 350 frames . so you can calculate the need of memory. on the harddisk the swf is stored compressed, but when loaded to memory it will be decompressed. If this is a linear animation, why dont you convert it to flv? regards Wolfgang
From: onlyunusedname on 9 Apr 2008 17:41 Thanks Wolfgang. I didn't know that the swf's were compressed. I ended up converting the file to Quicktime and it worked great. The program only used about 80M total memory.
|
Pages: 1 Prev: Mile High Table O Product New Location Next: Recovering pics from ancient Director app? |