Hi,
This sounds like a good situation for a Flash component. Either use a combobox or a listbox to display your list of names. Each Flash component can use an event handler like "onSelect" when an item in the listbox or combobox is selected. You have a few options on how you want to set it up to load a movie or an html page. You can do it directly from the component when the label is selected, or you can store the label in a variable and use a button to load content based on the selected label.
Example, ..... drag a listbox component onto the stage, give it labels and a change handler in the properties panel. Whatever the name you use for the change handler, code it something like this...
Code:
onSelect=function(){
myItem=myListBox.getSelectedItem().label;
if(myItem=="Some Name"){
getURL('http://somesite.com');
}else if(myItem=="Some other name"){
getURL('http://someOtherSite.com');
}
}
hope it helps
NTD
A mind once stretched by a new idea never regains its original dimensions.
- Oliver Wendell Holmes
Bookmarks