# History like back button on MX

**URL:** <https://forum.kirupa.com/t/history-like-back-button-on-mx/163006>\
**Category:** flash\
**Created:** [September 18, 2005, 10:30pm UTC](https://forum.kirupa.com/t/history-like-back-button-on-mx/163006 "2005-09-18T22:30:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![King\_Smeagol](https://avatars.discourse-cdn.com/v4/letter/k/e56c9b/32.png) [@King\_Smeagol](https://forum.kirupa.com/u/King_Smeagol)\
**Post date:** [September 18, 2005, 10:30pm UTC](https://forum.kirupa.com/t/history-like-back-button-on-mx/163006/1 "2005-09-18T22:30:55Z")

</div>

[font=Verdana][size=1]I want to create a history function in Flash MX pro for an interactive CD i’m making. Each section in the interactive cd has its own label. Each section (individual mc’s) have their own sub-sections with their own labels also.

My idea is to create an array that stores the label of the last 5 sections visited. I thought i could read the label and put it into the last position of the array every time the user visits a section. When the user press the “back” button I would grab the last frame label from the array and put that into the gotoAndPlay code in the back function.[/size]

**Question:** _How do I read the label value? ie the character string itself._

[size=1]If anybody else has a better idea please let me know.

Cheers. :)[/size]  
[/font]
