MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 168

Extending flash
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents