FLASH scroll box
Moderators: Admin, Moderator Team
-
- Moderator
- Posts: 2982
- Joined: Tue Dec 03, 2002 3:24 am
- Location: Ballarat, Victoria, Australia
- Contact:
FLASH scroll box
How do i insert a scroll box into my FLASH project to hold text based choices that will navigate to the frame within the project that I will code them to point to?
-
- Moderator
- Posts: 2982
- Joined: Tue Dec 03, 2002 3:24 am
- Location: Ballarat, Victoria, Australia
- Contact:
RE: FLASH scroll box
got it working. Here is an example of the code i used under my listbox frame
stop();
// 1.
list.removeAll();
list.addItem("One",1);
list.addItem("Two",2);
list.addItem("Three",3);
// 2
function displayDetails(c){
//txtLabel.text = c.getSelectedItem().label+" :";
gotoAndStop(c.getSelectedItem().data);
}
// 3
list.setChangeHandler("displayDetails");
stop();
// 1.
list.removeAll();
list.addItem("One",1);
list.addItem("Two",2);
list.addItem("Three",3);
// 2
function displayDetails(c){
//txtLabel.text = c.getSelectedItem().label+" :";
gotoAndStop(c.getSelectedItem().data);
}
// 3
list.setChangeHandler("displayDetails");