# Help with if \[mx04\]

**URL:** <https://forum.kirupa.com/t/help-with-if-mx04/208522>\
**Category:** Uncategorized\
**Created:** [November 29, 2006, 5:15pm UTC](https://forum.kirupa.com/t/help-with-if-mx04/208522 "2006-11-29T17:15:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skellykitten](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@skellykitten](https://forum.kirupa.com/u/skellykitten)\
**Post date:** [November 29, 2006, 5:15pm UTC](https://forum.kirupa.com/t/help-with-if-mx04/208522/1 "2006-11-29T17:15:35Z")

</div>

I’m attempting to make an external swf load into empty\_mc when a different movieclip(stage\_mc) hits frame 9. It’s not working . The swf loads if I remove the ‘if’ line of code, so I know that part is working. I’m sure I’m phrasing the code wrong, but since I’ve only been learning actionscript since Oct, I’m notvery good at it, or spotting what I’ve done wrong on my own.  
can anyone help?

```auto

thisRoot.sft1_btn.onRelease = function(){
    thisRoot.stage_mc.gotoAndPlay("closing");
    if(thisRoot.stage_mc._currentframe == 9){
    empty_mc.loadMovie("SFT_gal.swf");
    empty_mc._x = 293;
    empty_mc._y = 275;
    }
}

```

Thanks:thumb:
