# Stopping a movie on a selected frame

**URL:** <https://forum.kirupa.com/t/stopping-a-movie-on-a-selected-frame/31170>\
**Category:** Uncategorized\
**Created:** [September 19, 2003, 12:48am UTC](https://forum.kirupa.com/t/stopping-a-movie-on-a-selected-frame/31170 "2003-09-19T00:48:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yeldarb](https://avatars.discourse-cdn.com/v4/letter/y/51bf81/32.png) [@Yeldarb](https://forum.kirupa.com/u/Yeldarb)\
**Post date:** [September 19, 2003, 12:48am UTC](https://forum.kirupa.com/t/stopping-a-movie-on-a-selected-frame/31170/1 "2003-09-19T00:48:08Z")

</div>

i can’t figure out how to do this…  
ok, here’s what i need. i have a movieclip that plays, (its bars on a motion guide) and i want it, depending on a variable to play to a certain frame. so, lets say the variable = 1 then i would want it to play until it got to frame 15 then stop, if the variable = 2 then i would want it to play until it got to 30. i hope you understand what im saying…  
thanks
