Flash CS3 Documentation |
|||
| Extending Flash > Objects > ScreenOutline object > screenOutline.setSelectedScreens() | |||
Flash MX 2004.
screenOutline.setSelectedScreens(selection[,bReplaceCurrentSelection])
selection An array of screen names to be selected in the screen outline.
bReplaceCurrentSelection A Boolean value that, if true, lets you deselect the current selection. The default value is true. If false, Flash extends the current selection to include the specified screens. This parameter is optional.
Nothing.
Method; selects the specified screens in the screen outline. If multiple screens are specified, the screen with the last index value of the selection array is focused on the Stage.
The following example deselects any currently selected screens, and then selects screens slide1, slide2, slide3, and slide4 in the screen outline:
myArray = new Array("slide1", "slide2", "slide3", "slide4");
fl.getDocumentDOM().screenOutline.setSelectedScreens(myArray, true);
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00004383.html