document.swapElement()
Availability
Flash MX 2004.
Usage
document.swapElement( name )
Parameters
A string that specifies the name of the library item to use.
name
Returns
Nothing.
Description
Method; swaps the current selection with the specified one. The selection must contain a
graphic, button, movie clip, video, or bitmap. This method displays an error message if no
object is selected or the given object could not be found.
Example
The following example swaps the current selection with
from the library:
Symbol 1
fl.getDocumentDOM().swapElement('Symbol 1');
document.swapStrokeAndFill()
Availability
Flash 8.
Usage
document.swapStrokeAndFill();
Parameters
None.
Returns
Nothing.
Description
Method; swaps the Stroke and Fill colors.
168
Objects
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers