# Simple List Menu

**URL:** <https://forum.kirupa.com/t/simple-list-menu/304512>\
**Category:** flash\
**Created:** [February 9, 2010, 9:02am UTC](https://forum.kirupa.com/t/simple-list-menu/304512 "2010-02-09T09:02:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BigDaftie](https://avatars.discourse-cdn.com/v4/letter/b/c57346/32.png) [@BigDaftie](https://forum.kirupa.com/u/BigDaftie)\
**Post date:** [February 9, 2010, 9:02am UTC](https://forum.kirupa.com/t/simple-list-menu/304512/1 "2010-02-09T09:02:26Z")

</div>

[FONT=Times New Roman][SIZE=3]I haven’t used Flash for a few years and thought I would do a ‘simple’ list menu for a friend’s web site but finding problems with moving to the selected frame.[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Can anyone help?[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3][/SIZE][/FONT]  
import fl.controls.List;  
import fl.data.DataProvider;  
import flash.net.navigateToURL;

var graphic:Array = [  
{label:“Home Page”, data:“home”},  
{label:“About”, data:“about”},  
{label:“Index”, data:“index”},  
];  
myList.dataProvider = new DataProvider(graphic);  
myList.allowMultipleSelection = false;  
myList.addEventListener(Event.CHANGE, showData);

////Goto selected frame name

function showData (event:Event)  
{ gotoAndStop (+ event.target.selectedItem.data);  
}

////Help!!
