PDA

View Full Version : How to program a button to select a label in a list component once its clicked


vick_dini
08-31-2005, 04:22 PM
Hi!

i'm trying to program a button with AS 2.0 so that when i click it, it will select a label in a list component. if someone can help me i would appreciate it a lot.

vick_dini
08-31-2005, 04:24 PM
Hi!

i'm trying to program a button with AS 2.0 so that when i click it, it will select a label in a list component. if someone can help me i would appreciate it a lot.

webreake
09-07-2005, 03:35 AM
hi
i didnt test this ::
on(click){
_root.yourList.selectedIndex=2
}

place this code in your button instance