# Dynamic movie slider control constructed.. Have a little bug

**URL:** https://forum.kirupa.com/t/dynamic-movie-slider-control-constructed-have-a-little-bug/209916
**Category:** Uncategorized
**Created:** [December 13, 2006, 10:46am UTC](https://forum.kirupa.com/t/dynamic-movie-slider-control-constructed-have-a-little-bug/209916 "2006-12-13T10:46:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![manikk](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/manikk/32/3083_2.png) [@manikk](https://forum.kirupa.com/u/manikk)
#### Post date: [December 13, 2006, 10:46am UTC](https://forum.kirupa.com/t/dynamic-movie-slider-control-constructed-have-a-little-bug/209916/1 "2006-12-13T10:46:49Z")

</div>

I have constructed dynamic movie slider control … Have a little bug…The problem is after the control is dragged to the last the movie starts to play from the begining. This is I dont want. I think that the code goes wrong with this line

Math.ceil((mcDragger.\_x/mcBar.\_width)\*\_root.\_totalframes);  
Suggestions needed regarding this.
