Adobe Extending Flash Professional CS5 Instrukcja Użytkownika Strona 185

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 565
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 184
163
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
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.testMovie()
Availability
Flash MX 2004.
Usage
document.testMovie([Boolean abortIfErrorsExist])
Parameters
abortIfErrorsExist Boolean; the default value is false. If set to true, the test movie session will not start and the .swf
window will not open if there are compiler errors. Compiler warnings will not abort the command. This parameter
was added in Flash Professional CS5.
Returns
Nothing.
Description
Method; executes a Test Movie operation on the document.
Example
The following example tests the movie for the current document, but aborts the test movie if compiler errors exist:
fl.getDocumentDOM().testMovie(1);
Przeglądanie stron 184
1 2 ... 180 181 182 183 184 185 186 187 188 189 190 ... 564 565

Komentarze do niniejszej Instrukcji

Brak uwag