# Play selected frames from a movie

**URL:** <https://forum.kirupa.com/t/play-selected-frames-from-a-movie/285484>\
**Category:** flash\
**Created:** [April 1, 2009, 1:05pm UTC](https://forum.kirupa.com/t/play-selected-frames-from-a-movie/285484 "2009-04-01T13:05:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![polishdude](https://avatars.discourse-cdn.com/v4/letter/p/54ee81/32.png) [@polishdude](https://forum.kirupa.com/u/polishdude)\
**Post date:** [April 1, 2009, 1:05pm UTC](https://forum.kirupa.com/t/play-selected-frames-from-a-movie/285484/1 "2009-04-01T13:05:24Z")

</div>

Hi,  
Pologies for asking simple questions, i’m just starting flash…

I made a movie button, with lots of animations and frames. The idea was to play part of that animation (frame 0 to 36) for MOUSE\_OVER and 36-end frames for MOUSE\_UP.  
Playing 36 to end frames is easy, but I can’t figure out how to play 0 to 36 frames, I tried to put stop(); on the frame 36 (inside a button) but still the animation goes all through. Can someone pls show me bit of code how to do that? Worst I could play frame by frame, and do if function to stop if the frame 36 pops up. I think thats re inventing a wheel though 😕  
thanks for help!

Polish
