
July 31st, 2009, 10:13 PM
|
|
Registered User
|
|
Join Date: Jul 2009
Posts: 1
Time spent in forums: 23 m 50 sec
Reputation Power: 0
|
|
|
Image redrawing speed. Causes lag!
O K, you must know what I'm trying to do is play back images. I'm just simply trying to redraw images at any set framerate I want by using setInterval. But unfortunately when I do this the whole flash starts to go really really slow.
My question is, how do I speed redrawing images up to a video playback worthy speed?
This seems just like how GIF images can be extremely slow.
I'm just wondering why frame by frame animation done by flash itself can be fast while redrawing images is super slow.
Anyone have some hints on how I could do this with flash.
And to divulge what I'm doing. I'm working with some online factors in flash. And I want to do some video only webcam stuff using images sent over an xmlSocket server.
I got it working perfectly except it ran way too slow when I was running it at 3fps or higher. At 24 fps. 11 minutes in. The images were like 5 minutes behind what the webcam was showing.
Basically, everything that happened at 6 min, showed 5 minutes later at 11 min. I know the sending wasn't slow. It's something to do with flash being too slow.
|