FrameLabel

extern class flash.display.FrameLabelextends EventDispatcherAvailable in flashA FrameLabel contains a frame number and the corresponding label name.
var labelArray:Array = target.currentLabels;
for (i in 0...labelArray.length; i++) {
    var label:FrameLabel = labelArray[i];
    trace("frame number: " + label.frame + " // frame name: " + label.name);
}
var frame(default,null) : IntThe frame number of the label. var name(default,null) : StringThe name of the label. function new( name : String, frame : Int ) : Void
version #12759, modified 2012-04-12 22:23:58 by api
0 comment