Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,521 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,810 people online right now. Registration is fast and FREE... Join Now!




Frame Rate, Timer & Delay

 
Reply to this topicStart new topic

Frame Rate, Timer & Delay

Jonson
12 Aug, 2008 - 06:36 PM
Post #1

New D.I.C Head
*

Joined: 17 Apr, 2008
Posts: 40

Hi,
i am still not familiar to flash CS3 and i want to know about something about frame rate(default 12 fps) under the properties TAB.

IF i am to create a flash board game, what frame rate should be set for optimum performance?

i am using webservice to set and get data to SQL Server database.

As webservice is passive pull technology, i am using Timers to constantly get DATA from SQL server after a SET event.

Also, i found out that multiple Timers with multiple delays will cause some unsuccesful updates or insert to database, why is it so?

Hope to have a reply asap. Thx.
User is offlineProfile CardPM
+Quote Post

BetaWar
RE: Frame Rate, Timer & Delay
12 Aug, 2008 - 07:17 PM
Post #2

#include <soul.h>
Group Icon

Joined: 7 Sep, 2006
Posts: 2,026



Thanked: 82 times
Dream Kudos: 1175
My Contributions
Well, I would say the slowed frame rate you can get and still have it look nice is the way to go when making a multiplayer game. This is to reduce the number of queries sent to the server per second.

As for the errors with the database this is likely caused by your server not being able to keep up with the number of queries coming in. If this isn't the case it is possible that Flash has a certain number of web connections allowed at a single time that is being exceeded and thus dropped.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 09:31PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month