Adobe Extending Flash Professional CS4 User Manual Page 186

  • Download
  • Add to my manuals
  • Print
  • Page
    / 560
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 185
164
EXTENDING FLASH CS4 PROFESSIONAL
Document object
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 Symbol 1 from the library:
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.
Example
The following example swaps the Stroke and Fill colors in the current document:
fl.getDocumentDOM().swapStrokeAndFill();
document.synchronizeWithHeadVersion()
Availability
Flash CS3 Professional.
Usage
fldocument.getDocumentDOMsynchronizeWithHeadVersion().swapStrokeAndFill();
Parameters
None.
Returns
A Boolean value of true if the specified file was successfully synchronized with the Version Cue server, false
otherwise.
Page view 185
1 2 ... 181 182 183 184 185 186 187 188 189 190 191 ... 559 560

Comments to this Manuals

No comments