This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > November 2007 > FPS problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| AndyA7 2007-11-12, 6:15 pm |
| I have a small flash game that I am making at 60 frames per second. When I
open it or preview it adobe flash player it works fine, but if I open it in IE
or firefox it lags tremendously. It seems to do this even it I lower the fps.
Is there a reason why it would lag in IE but not in adobe flash player?
Thanks.
| |
| The Feldkircher 2007-11-13, 6:15 pm |
| Hi
The Flash IDE Player does not depend on the Server - its run locally therefore
no Server Lag.
This lag can be quite high at high fps especially if your movie is loading a
volume of MC's and Graphics.
Its advisable not to go above 35-40fps for any movie. Try to optimise your
Timelines/Code to improve your animation at a lower fps. Other than that you
will always suffer Server loading.
| |
| AndyA7 2007-11-13, 6:15 pm |
| I am still having lag even if I open it with IE or firefox locally... I am just opening the .swf straight from my hard drive with IE... so there shouldn't be any server lag, correct?
| |
| Sketchsta 2007-11-14, 3:14 am |
| Hi AndyA7
You might want to try "cache as bitmap" for your movie. This is an option
available in your properties inspector.
secondly... If you have multiple Intervals or onEnterFrame events, this would
put ALOT of stress on the cpu.
to remedy this, you would have to re-think your code, and clear intervals you
dont need, and delete onEnterFrame() handlers when you dont need tham.
Re-enable them as needed by your game.
If this doesnt help in any way. Maybe you can tell us abit about your code,
or post a link to you fla for us to have a look and see what could be causing
the lag.
You said the lag happens locally as well, this would lead me to believe that
your cpu is stressing over the calculations it's doing.
Try playing your movie, then open your Task Manager, and have a look at the
CPU Usage.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|