Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

FPS problem
 

AndyA7




quote this post edit post

IP Loged report this post

Old Post  11-12-07 - 11: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 fp
s.
Is there a reason why it would lag in IE but not in adobe flash player?
Thanks.



Post Follow-Up to this message ]
Re: FPS problem
 

The Feldkircher




quote this post edit post

IP Loged report this post

Old Post  11-13-07 - 11:15 PM  
Hi

The Flash IDE Player does not depend on the Server - its run locally therefo
re
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.



Post Follow-Up to this message ]
Re: FPS problem
 

AndyA7




quote this post edit post

IP Loged report this post

Old Post  11-13-07 - 11:15 PM  
I am still having lag even if I open it with IE or firefox locally... I am j
ust opening the .swf straight from my hard drive with IE... so there shouldn
't be any server lag, correct?


Post Follow-Up to this message ]
Re: FPS problem
 

Sketchsta




quote this post edit post

IP Loged report this post

Old Post  11-14-07 - 08: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 woul
d
put ALOT of stress on the cpu.
to remedy this, you would have to re-think your code, and clear intervals yo
u
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 causin
g
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.




Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 11:10 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Flash Site Design archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top