# Stop timeline

**URL:** <https://forum.kirupa.com/t/stop-timeline/301452>\
**Category:** flash\
**Created:** [December 9, 2009, 2:48pm UTC](https://forum.kirupa.com/t/stop-timeline/301452 "2009-12-09T14:48:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergeylandar](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@sergeylandar](https://forum.kirupa.com/u/sergeylandar)\
**Post date:** [December 9, 2009, 2:48pm UTC](https://forum.kirupa.com/t/stop-timeline/301452/1 "2009-12-09T14:48:53Z")

</div>

Hi.  
I have 2 keyframes on time line.  
And i have separated code like:  
package {  
import flash.display.Sprite;

```
public class Example extends Sprite {
    public function Example() {
        myTest();
    }
    private function myTest():void {
        trace("hello");
    }
}

```

}

How i can stop my time line on keyframe 1.
