Hi everybody,
I use fusionchart to create dashboard and reporting in my company.
I had this problem but I'd fixed it, It seems that is due to the fps of the swf files.
So the solution I choose is to use a new swf file with a 20 fps frame rate as bernard sugest it (thanks to him).
If you want to use a lot of swf without animation you can put the frame rate to 0 but I realy don't know if it change a lot, I have to test.
Here's the procedure :
1. Install the PEAR Package.
2. Install the FILE PEAR PACKAGE.
3. Download the PEAR::File class (by Alessandro Crugnola) here : http://www.sephiroth.it/weblog/archives/2004/07/pearswf_updating_read_and_modify_swf.php
4. Include the class to your php file.
5. Here's the script I use in the top of my page :
I test if my new swf file exist, if doesn't I create new one with the old one and a 20fps.
6 . Then you include the new file created to your dashboard, for exemple :
For 35 to 45 swf in the same web page :
- Before this I have always a cpu ~45-55%.
- Now I have always a cpu ~00-05%.
N.B. : It's better if the wmode is not transparent.