# Embeded Videos in flash CS3 stuttering?

**URL:** <https://forum.kirupa.com/t/embeded-videos-in-flash-cs3-stuttering/325710>\
**Category:** flash\
**Created:** [November 1, 2011, 12:39pm UTC](https://forum.kirupa.com/t/embeded-videos-in-flash-cs3-stuttering/325710 "2011-11-01T12:39:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pratik\_Pawar](https://avatars.discourse-cdn.com/v4/letter/p/90db22/32.png) [@Pratik\_Pawar](https://forum.kirupa.com/u/Pratik_Pawar)\
**Post date:** [November 1, 2011, 12:39pm UTC](https://forum.kirupa.com/t/embeded-videos-in-flash-cs3-stuttering/325710/1 "2011-11-01T12:39:41Z")

</div>

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]
