# Question about \_currentframe not working

**URL:** <https://forum.kirupa.com/t/question-about--currentframe-not-working/301048>\
**Category:** flash\
**Created:** [December 2, 2009, 8:52pm UTC](https://forum.kirupa.com/t/question-about--currentframe-not-working/301048 "2009-12-02T20:52:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fadingblack](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@fadingblack](https://forum.kirupa.com/u/fadingblack)\
**Post date:** [December 2, 2009, 8:52pm UTC](https://forum.kirupa.com/t/question-about--currentframe-not-working/301048/1 "2009-12-02T20:52:46Z")

</div>

I have this code

on(release){  
\_root.ohm\_mc.gotoAndPlay(11);   
if (\_root.ohm\_mc.\_currentframe == 25)  
{  
\_root.ohm\_mc.gotoAndPlay(“ORGANOS DE GOBIERNO”);  
trace(“va”);  
delete (this.onEnterFrame);  
}  
}

I need ohm movieclip to reach frame 25 and then jump to “organos de gobierno”, but although it is stopped at frame 25, it does not do the jump to the other frame … aAny idea why?? Please i need to fix this to finish a job. And in my previous times using this it always worked
