ActionScript 2.0 Components Language Reference |
|
|
|
| DataProvider API > DataProvider.getItemID() | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
myDP.getItemID(index)
index A number greater than or equal to 0.
A number that is the unique ID of the item.
Method; returns a unique ID for the item. This method is primarily used to track selection. The ID is used in data-aware components to keep lists of what items are selected.
This example gets the ID of the fourth item:
var ID = myDP.getItemID(3);
|
|
|
|