View Single Post
Old 04-15-2009, 08:38 PM  
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
Quote:
Originally Posted by Sex9 View Post
all responses are greatly appreciated(and am sure you are smarter than I)...i already changed all of of my mysql_pconnect to mysql_connect....changed nothing.
Not sure about the second point...the only thing I can brainstorm,, is that somehow when flash is receiving and sending the data each time..it is stored as brand new data(maybe not overwriting variables, but storing the same variable as a new one?)...therefore the more sections in the file where data is received -maybe the data piles up somehow...not really sure and I still can't believe this problem hasn't come up before(at least I cant find it.)...or maybe it's something completely different...just don't even know what to look for at this point
1. I'm 99% sure what I write below could be blown away with a simple answer.... so just wait for that answer, as I'm not a flash dude.

2. It's often difficult to debug stuff over forums sometimes, so just keep hopes up that someone chimes in with a fix. I'll bump my retarded thoughts cuz I'd like to see a solution, just for the sake of seeing one. And I'm not a flash guy.

From what I read from your earlier posts, is that when a user clicks too fast through the flash game, and each click possibly requiring feedback from a database call before next click should occur, that's causing slowness.

Again, this is conjecture and purely made up, but the swif, as served in an individual browser instance, is trying to process multiple requests for the database calls at the same time ( or close to the same time if the user clicks too fast ).

So, my guess is:
- In the flash movie, when a user does an action that requires a database call / external PHP call that must return a response to the flash movie, put that into some Flash array.

- Every subsequent call to such things get appended to that array.

- Have a Flash process work through that array, from the first request to the next, until the user can progress.

That's my babble and a bump for ya.
Good luck, yo.
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote