For the life of me I can't figure out how to trace out the current label in my movie's main timeline. This is in AS3.
I have a button on stage that spans the timeline of the movie. It detects keypresses. I want to trace the current frame label that the play head is on.
on(keypress "<left>") {
trace(this);
trace(this.currentFrameLabel);
trace(this.currentLabel);
trace(currentFrameLabel);
trace(currentLabel);
}
I get "_level0" for this...and undefined for the rest. What am I doing wrong here?