# Is it possible to get the current frame LABEL of a MC?

**URL:** <https://forum.kirupa.com/t/is-it-possible-to-get-the-current-frame-label-of-a-mc/58927>\
**Category:** Uncategorized\
**Created:** [July 27, 2004, 4:41am UTC](https://forum.kirupa.com/t/is-it-possible-to-get-the-current-frame-label-of-a-mc/58927 "2004-07-27T04:41:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ratbaggy](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@ratbaggy](https://forum.kirupa.com/u/ratbaggy)\
**Post date:** [July 27, 2004, 4:41am UTC](https://forum.kirupa.com/t/is-it-possible-to-get-the-current-frame-label-of-a-mc/58927/1 "2004-07-27T04:41:49Z")

</div>

is it possible to get the current frame LABEL of a MC?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 27, 2004, 9:56am UTC](https://forum.kirupa.com/t/is-it-possible-to-get-the-current-frame-label-of-a-mc/58927/2 "2004-07-27T09:56:31Z")

</div>

> [@ratbaggy](#):
>
> is it possible to get the current frame LABEL of a MC?

no, you can however work your way around this by storing your labels in an array:

```auto

myLabels = new Array();
myLabels[1]="start";
myLabels[15]="label1";
myLabels[25]="label2";

```

then you could create a function that gets the label for you

```auto

getLabel = function(){
	 var currentF = _root._currentframe;
	 return myLabels[currentF];
}

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 27, 2004, 11:11pm UTC](https://forum.kirupa.com/t/is-it-possible-to-get-the-current-frame-label-of-a-mc/58927/3 "2004-07-27T23:11:58Z")

</div>

cheers Flink
