# Movieclip - \_currentframe | \_totalframes

**URL:** <https://forum.kirupa.com/t/movieclip--currentframe--totalframes/267804>\
**Category:** flash\
**Created:** [August 5, 2008, 9:57pm UTC](https://forum.kirupa.com/t/movieclip--currentframe--totalframes/267804 "2008-08-05T21:57:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![webbhelp](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@webbhelp](https://forum.kirupa.com/u/webbhelp)\
**Post date:** [August 5, 2008, 9:57pm UTC](https://forum.kirupa.com/t/movieclip--currentframe--totalframes/267804/1 "2008-08-05T21:57:42Z")

</div>

Hi!

I have use that code when someone press on a button.  
First i start a movieclip - start\_hide

I check with if(), if the movieclip has been finished and if it has finished, the visitor will be sent to a fram that is named - tjanster.

NOW

MC - start\_hide, starts but i never comes to “tjanster”, so i think the if(), it’s wrong,

I’m just a beginner so I think I did a “easy” wrong but please help me!

```auto

on(release) { _root.start_hide.gotoAndPlay(1); if(_root.start_hide._currentframe == _root.start_hide._totalframes) { _root.gotoAndPlay('tjanster'); } 

```
