# Speed control of movie

**URL:** <https://forum.kirupa.com/t/speed-control-of-movie/260049>\
**Category:** flash\
**Created:** [May 12, 2008, 5:49am UTC](https://forum.kirupa.com/t/speed-control-of-movie/260049 "2008-05-12T05:49:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibm](https://avatars.discourse-cdn.com/v4/letter/i/7ba0ec/32.png) [@ibm](https://forum.kirupa.com/u/ibm)\
**Post date:** [May 12, 2008, 5:49am UTC](https://forum.kirupa.com/t/speed-control-of-movie/260049/1 "2008-05-12T05:49:04Z")

</div>

Dear coder,

I am struck up with movie speed control from panel. It is like volue control though but don’t know how it applies on movie speed contol.

The requirement is : user need to have control of speed control so that he can speed up the viewing of particuler moive. although i guess it’s like volume control where user can increase or decrease the volume in same manner user should change the spped of movie here.

Please help

you can see the link where it is being done  
[http://content.icicidirect.com/mailimages/indexpage.html](http://content.icicidirect.com/mailimages/indexpage.html) from here click on any part and you can see the control at bottom showing " slow" “medium” “fast”

pl help

---

<div class="post-metadata">

**Author:** ![ajcates](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ajcates/32/2435_2.png) [@ajcates](https://forum.kirupa.com/u/ajcates)\
**Post date:** [May 12, 2008, 6:09am UTC](https://forum.kirupa.com/t/speed-control-of-movie/260049/2 "2008-05-12T06:09:47Z")

</div>

If you use AS3 you can control the frame rate of the movie.

You can also write a little script that would play every other frame 2 times or skip every 3rd frame. Doing it this way will force you to drop frames and takes away from the quality.

---

<div class="post-metadata">

**Author:** ![ibm](https://avatars.discourse-cdn.com/v4/letter/i/7ba0ec/32.png) [@ibm](https://forum.kirupa.com/u/ibm)\
**Post date:** [May 12, 2008, 6:54am UTC](https://forum.kirupa.com/t/speed-control-of-movie/260049/3 "2008-05-12T06:54:29Z")

</div>

[quote=ajcates;2324915]If you use AS3 you can control the frame rate of the movie.

You can also write a little script that would play every other frame 2 times or skip every 3rd frame. Doing it this way will force you to drop frames and takes away from the quality.[/quote]

thanks but can you tell me where i can find that code so far i am using

function clipSpeed(){  
mc1.\_currentframe == mc1.\_totalframes ?  
mc1.play() : mc1.nextFrame();  
updateAfterEvent();  
};  
speedID = setInterval(clipSpeed,10);  
// 40 milliseconds is about 25 fps  
// mc1 has a looping timeline

but this causes only increment in speed and not reduction while i need both…
