In my Timeline I have 4 layers, each with labels on different keyframes. I have the following code, which obeys to my first layer:

Actionscript Code:
private function Frame(event:Event) {

            if (currentFrameLabel!=null) {

                obj.doSomething();
            }
        }

How can I make AS3 to detect the specific "currentFrameLabel" of a named layer?

Thanks in advance.