# Need help with current frame

**URL:** <https://forum.kirupa.com/t/need-help-with-current-frame/253460>\
**Category:** Uncategorized\
**Created:** [March 1, 2008, 4:54pm UTC](https://forum.kirupa.com/t/need-help-with-current-frame/253460 "2008-03-01T16:54:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ripagiga06](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@ripagiga06](https://forum.kirupa.com/u/ripagiga06)\
**Post date:** [March 1, 2008, 4:54pm UTC](https://forum.kirupa.com/t/need-help-with-current-frame/253460/1 "2008-03-01T16:54:44Z")

</div>

i dont understand why this isn’t working. i thought it would be pretty simple.  
i’m building an external swf which is going to be my menu. and there are  
2 frames the this swf. in the first frame is a movieclip(intro\_mc) and in the  
second frame there is a movieclip

what i am trying to do is if the movieclip in the first frame(intro\_mc) reaches  
frame 319 i want the main swf to gotoAndPlay frame 2

this is what i wrote for it but doesn’t work.

```
ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#0000FF]if[/COLOR][COLOR=#000000]([/COLOR]intro_mc.[COLOR=#0000FF]_currentframe[/COLOR] = [COLOR=#000080]319[/COLOR][COLOR=#000000])[/COLOR][COLOR=#000000]{[/COLOR]
[COLOR=#0000FF]this[/COLOR].[COLOR=#0000FF]gotoAndPlay[/COLOR][COLOR=#000000]([/COLOR][COLOR=#000080]2[/COLOR][COLOR=#000000])[/COLOR];
intro_mc.removeMovieClip();

```

[COLOR=#000000]}[/COLOR]  
[/LEFT]  
[/FONT]
