Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
6 Cards in this Set
- Front
- Back
Interfaces for ArrayCollection
|
ICollectionView, with methods for filtering and sorting data at runtime
IList, with the methods described previously for adding, removing, and accessing data at runtime |
|
filterfunction
|
private function functionName( item:Object ):Boolean
|
|
filterfunction example
|
private function filterTables( item:Object ):Boolean
{ return ( item.id == 2 ); } |
|
use filterfunction
|
tableDataCollection.filterFunction = filterTables;
tableDataCollection.refresh(); |
|
Constructor of sortfield
|
var mySortField:SortField = new SortField( 'propName', caseInsensitive=false, descending=false, numeric=false );
|
|
User sortfields
|
var mySort:Sort = Sort();
mySort.fields = new Array(); mySort.fields.push(new SortField('price', false, false, true)); mySort.fields.push(new SortField('title')); myAc.sort = mySort; myAc.refresh(); |