112
Chapter 3: Objects
myArray.push(" "+i+" : "+fl.getDocumentDOM().screenOutline[i]) ;
}
fl.trace("Here is the property dump for screenOutline:: "+myArray);
document.selectAll()
Availability
Flash MX 2004.
Usage
document.selectAll()
Parameters
None.
Returns
Nothing.
Description
Method; selects all items on the Stage. This method is equivalent to pressing A
(Windows) or A (Macintosh) or selecting Edit > Select All. See
document.selectNone()
and
document.selection
.
Example
The following example selects everything that is currently visible to the user:
fl.getDocumentDOM().selectAll();
document.selection
Availability
Flash MX 2004.
Usage
document.selection
Description
Property; an array of the selected objects in the document. If nothing is selected, returns an array
of length zero. If no document is open, returns
null
.
To add objects to the array, you must first select them in one of the following ways:
•
Manually select object(s) on the Stage.
•
Use one of the selection methods, such as
document.setSelectionRect()
,
document.setSelectionBounds()
,
document.mouseClick()
,
document.mouseDblClk()
,
or
document.selectAll()
.
•
Manually select a frame or frames.
Summary of Contents for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Page 1: ...Flash JavaScript Dictionary ...
Page 16: ...16 Contents ...
Page 40: ...40 Chapter 2 Top level functions ...
Page 368: ...368 Chapter 3 Objects ...