# Need help with my If...continue statement

**URL:** <https://forum.kirupa.com/t/need-help-with-my-if-continue-statement/172824>\
**Category:** flash\
**Created:** [December 18, 2005, 2:30pm UTC](https://forum.kirupa.com/t/need-help-with-my-if-continue-statement/172824 "2005-12-18T14:30:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KingHussien](https://avatars.discourse-cdn.com/v4/letter/k/e5b9ba/32.png) [@KingHussien](https://forum.kirupa.com/u/KingHussien)\
**Post date:** [December 18, 2005, 2:30pm UTC](https://forum.kirupa.com/t/need-help-with-my-if-continue-statement/172824/1 "2005-12-18T14:30:22Z")

</div>

```auto
 

on (release) {
 _root.news_Clip.gotoAndPlay(71);
 if (_root.news_Clip._currentframe == 101) {
  _root.news_Clip.loadMovie("myth_News.swf");
  continue;
 }
}

```

What I’m trying to do is:

When this button is pressed, whatever is in the current news\_Clip movieclip goes to frame 71 and plays till it reaches the end of the outro animation which is frame 101. When it reaches frame 101, I want to load a new swf into news\_Clip.

Using the above code, the contents of news\_Clip does its outro animation but the new SWF is not loaded into it after reaching the end.

I’ve been screwing around with this for the past 7 hours and can’t figure out what I’m not doing or doing wrong.

If anybody can help me, it would be greatly appreciated. Thank you.
