Advanced Flash Components
Search!
Search!
Home >  Bugs >  Flow List >  selectPreviousItem( ) problem
selectPreviousItem( ) problem
Bug ID: 0000000030
Item Type: BUG Component: Flow List
Reproduced: Always Severity: Minor
Priority: Normal Component Version: 1.1
Status: NEW Last Update: Jul 08, 2007 22:41
Summary: selectPreviousItem( ) problem
Description: When the first item in an XML list is selected, then selectPreviousItem( ) is called, the first item is pushed back into line, and the list is permanently shifted to the right!

I made a little workaround, but I thought you ought to know!



Communique
Rene Brouwer [brouwerbetist]:   Jul 10, 2007 11:57   post#0000000041
Maybe this solves the problem?

prev_btn.onRelease = function (){
if(myFlow.getSelectedItem().id > 0){
myFlow.selectPreviousItem();
}
}
Matthew Lucas [toxoplasmotic]:   Jul 12, 2007 20:36   post#0000000042
Yep, that's pretty much what I did. Thanks!
Login to add your comment.