# Telling main timeline to play backwards from movie clip

**URL:** <https://forum.kirupa.com/t/telling-main-timeline-to-play-backwards-from-movie-clip/221443>\
**Category:** Uncategorized\
**Created:** [April 4, 2007, 11:54am UTC](https://forum.kirupa.com/t/telling-main-timeline-to-play-backwards-from-movie-clip/221443 "2007-04-04T11:54:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SampledFormat](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@SampledFormat](https://forum.kirupa.com/u/SampledFormat)\
**Post date:** [April 4, 2007, 11:54am UTC](https://forum.kirupa.com/t/telling-main-timeline-to-play-backwards-from-movie-clip/221443/1 "2007-04-04T11:54:23Z")

</div>

Hi,

I am trying to tell flash from within a movieclip to start playing a specific frame within the main timeline only after it has finished playing the movieclip backwards. I can get the movieclip to play backwards fine but it’s getting the main timeline to start from frame 1 which doesn’t work. I have the following code on the first frame of the movieclip (which is called video) but it doesn’t seem to do anything

onClipEvent (enterFrame) {  
if prevFrame == 2 {  
\_root.gotoAndPlay(1);  
}  
else if {  
\_root.video.gotoAndPlay(2);

any suggestions?
