# Access the frame label

**URL:** <https://forum.kirupa.com/t/access-the-frame-label/260256>\
**Category:** flash\
**Created:** [May 13, 2008, 8:40pm UTC](https://forum.kirupa.com/t/access-the-frame-label/260256 "2008-05-13T20:40:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![onion](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/onion/32/3349_2.png) [@onion](https://forum.kirupa.com/u/onion)\
**Post date:** [May 13, 2008, 8:40pm UTC](https://forum.kirupa.com/t/access-the-frame-label/260256/1 "2008-05-13T20:40:57Z")

</div>

Hi All, this is hopefully a simple question, but one I can’t find the answer to by googleing.

I need to access the current frame label. I would have thought there would be something like \_root.getFrameLabel() but I can’t find anything.

A forum post I found on flashkit said that there is no way to access the label in AS2, only in AS3.

thanks

---

<div class="post-metadata">

**Author:** ![Michael\_Chen](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@Michael\_Chen](https://forum.kirupa.com/u/Michael_Chen)\
**Post date:** [May 13, 2008, 9:29pm UTC](https://forum.kirupa.com/t/access-the-frame-label/260256/2 "2008-05-13T21:29:40Z")

</div>

**.currentLabel** was introduced in AS3.

> A forum post I found on flashkit said that there is no way to access the label in AS2, only in AS3.

I think they are right, however there may be possible work arounds. Such as using an array to hold frames and it’s equivalent label value.

---

<div class="post-metadata">

**Author:** ![onion](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/onion/32/3349_2.png) [@onion](https://forum.kirupa.com/u/onion)\
**Post date:** [May 13, 2008, 9:56pm UTC](https://forum.kirupa.com/t/access-the-frame-label/260256/3 "2008-05-13T21:56:21Z")

</div>

[quote=Michael Chen;2325808] **.currentLabel** was introduced in AS3.

I think they are right, however there may be possible work arounds. Such as using an array to hold frames and it’s equivalent label value.[/quote]

Fair enough, I’ll have to do that. It’s not such a bit problem.

thanks!
