FLASH scroll box

Post all your general non-film related PC and Mac stuff here.

Moderators: Admin, Moderator Team

Post Reply
Grant
Moderator
Moderator
Posts: 2982
Joined: Tue Dec 03, 2002 3:24 am
Location: Ballarat, Victoria, Australia
Contact:

FLASH scroll box

Post by Grant »

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?
Grant
Moderator
Moderator
Posts: 2982
Joined: Tue Dec 03, 2002 3:24 am
Location: Ballarat, Victoria, Australia
Contact:

RE: FLASH scroll box

Post by Grant »

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");
User avatar
DEDFX
Forum Veteran
Forum Veteran
Posts: 1228
Joined: Sun Apr 10, 2005 5:59 pm
Location: eastern MA
Contact:

Post by DEDFX »

FLASH is fun, just wish I could put them into my movies.
Post Reply