hi,
i have made a game in flash cs3 which uses embedded videos as background.
Currently it contains 2 videos for 2 levels. The videos are encoded in flash
while embedding using
“onvp6 and data rate of 1024 kbps(graphic guy did this
cuz anything less is blurry)”.
Now this is going to be a standalone desktop
game so file size is no issue.Video 1 has 1500 frames and Video 2 has 850 frames.
Currently the .fla file size is 35Mb and .swf file size results to approx 17mb.
The video and overall game is 800x600. With embedded sounds also. This game
will be distributed as .exe (i.e. Swf -> create projector .exe) at 25 fps
Sorry that background was necessary. Now i have implemented a class to control
the video[INDENT]
1]frame by frame
2]slow down
3]speed up
4]reverse
[/INDENT]
As these were the game’s requirement. Basically whatever algo is calculated
for above operation ends up as “this.nextframe()” or “this.prevframe()” for
the video embedded in movieclip. Now wen the game is started the video is
“Stuttering” (Means lagging or choppy or Buffering-like Playback) all the time.
I have checked/traced and it is not due to my algo.
Now have i hit performance boundary of flash or is there some other reason for this.
Is there any preloading or hardware acceleration enabling anything to
remove the “Stuttering”
[INDENT] Guyz please help ?
[/INDENT]
[INDENT]
[/INDENT]