setSelectedIndex () <-- question about this

Is there a variable that can be placed in -

setSelectedIndex () <-- here that will tell Flash to go forward (+1)?

this is for an FListbox (if you didn’t know already) - the we are looking to make the highlighted area move down the list automatically

Thank you!!!

Sam

depends on where you want it… if we’re following your previous example, you can add the variable to the code in the button, just before you delete your item… here’s the code for your button.


on(release){

newitem=mybox.getselectedindex();
	
mybox.removeitemat(mybox.getselectedindex());
mybox.setselecteditem(newitem);
}

thanks - I’ll try that code, and get back to you in this thread -