Extending Flash |
|
|
|
| Objects > ScreenOutline object > screenOutline.getSelectedScreens() | |||
Flash MX 2004.
screenOutline.getSelectedScreens()
None.
An array of selected Screen objects (see Screen object).
Method; returns an array of Screen objects that are currently selected in the screen outline.
The following example stores the selected Screen objects in the myArray variable and displays the screen names in the Output panel:
var myArray = fl.getDocumentDOM().screenOutline.getSelectedScreens();
for (var i in myArray) {
fl.trace(myArray[i].name)
}
|
|
|
|