|Flash menu using up 95-100% CPU cycles on slower machines|
Help! Only just came across this problem!
| 12:40 am on Mar 13, 2004 (gmt 0)|
I've made a promotional CD-ROM for my uni project. It's made of HTML, with Flash buttons and a Flash menu.
It all works perfect on my computer and a fair few others I've tried it on that have sufficiently fast processors.
But a few computers I've tested it on now it has suffered very poor performance. It is very unresponsive, and takes 10s of seconds to scroll the Iframe down, rather than like half a second. And it is all slow and juddery. It is the Flash menu which is using up nearly 100% of the cpu cycles. It does this on my old notebook computer that is only a 600 MHz celeron.
But it also did it on my dad's computer (2 GHz+) , - just because there were a couple of applications open in the background!
Can I do anything about this, or will I just have to say that the application requires say at least a 1 GHz processor?
Thanks so much in advance
| 12:53 am on Mar 13, 2004 (gmt 0)|
Ok I've just narrowed down the problem
IT is because I set the menu to transparent using that Wmode thing. I had a photo background showing through.
I dont suppose there is anyway around this? That is the only way - to keep is opaque?
Is it worth having two buttons, letting the user decide which version to enter - i.e. one for CPUs below 1.5 GHz, and another for 1.5+?
| 1:25 am on Mar 13, 2004 (gmt 0)|
It's not just the speed of the processor that you need to consider, but also the speed of the OS. Win2000 and XP have a 10ms (or so) cycle time, whereas Win98 and ME takes about 50ms. (I forget the exact figures.) Which means 2000 and XP are running your application three times as often as 98 and ME.
| 10:26 am on Mar 13, 2004 (gmt 0)|
You need to reduce the FPS rate of your flash movie(s).
It's absolutely sufficient to show 5 or 6 frames per second for most purposes. The default Flash uses is significantly higher, and usually overkill.
| 10:54 am on Mar 13, 2004 (gmt 0)|
Harry I'll mention that in my thesis, it'll look cool. Thanks
Bird - That's perfect. It was using 35 FPS! - I'll change it later!
Thanks again both :)
| 1:06 pm on Mar 13, 2004 (gmt 0)|
i would have thought this is the issue, not the frame rate.
could you make the menu components semi transparent, and put your photogrpah on the bottom layer in flash? if its authored like that in the first place, instead of being told to be transparent by the browser retrospectively, it may take some of the pressure off the processor.
unless the movie is hugely complex, this shouldnt be an issue.
i have a 30 fps fairly mathematically intense game and it runs fine on athlon 1.2ghz/256 ram with photoshop, imageready, dreamweaver opera and flash all running.
it will be worth looking through your code for redundent processing tasks, e.g. are you deleting all onEnterFrame processes when there no longer needed? are there any feedback loops?