# Mc.currentLabel?

**URL:** <https://forum.kirupa.com/t/mc-currentlabel/322100>\
**Category:** Uncategorized\
**Created:** [May 10, 2011, 7:41pm UTC](https://forum.kirupa.com/t/mc-currentlabel/322100 "2011-05-10T19:41:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luigi\_Vercotti](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@Luigi\_Vercotti](https://forum.kirupa.com/u/Luigi_Vercotti)\
**Post date:** [May 10, 2011, 7:41pm UTC](https://forum.kirupa.com/t/mc-currentlabel/322100/1 "2011-05-10T19:41:56Z")

</div>

Hello  
I thought would be easy but obviously I do something wrong…

```auto
function fireBallisComing():void
{

    fireBallComing.gotoAndPlay("fireBall_Start");
    trace("fire ball is coming function funguje");
    trace(fireBallComing.currentLabel);
    trace(fireBallComing.currentFrame);
    
}
if (fireBallComing == "finish")
    {
        trace("if funguje");
        trace(fireBallComing.currentLabel);
        trace(fireBallComing.currentFrameLabel);
        
        fireBallCrashing();
    }

```

What I am trying to do is… if playhead goes to the label “finish” of the fireBallComing so it starts or go to function fireBallCrashing…  
the fireBallComing is working but it never do anything else…  
what do you think?
