Adobe Extending Flash Professional CS5 Instrukcja Użytkownika Strona 182

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 565
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 181
160
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
Example
The following examples skew the selected object by 2.0 vertically and 1.5 horizontally. The second example transforms
the object at the top center edge:
fl.getDocumentDOM().skewSelection(2.0, 1.5);
fl.getDocumentDOM().skewSelection(2.0, 1.5, "top center");
document.smoothSelection()
Availability
Flash MX 2004.
Usage
document.smoothSelection()
Parameters
None.
Returns
Nothing.
Description
Method; smooths the curve of each selected fill outline or curved line. This method performs the same action as the
Smooth button in the Tools panel.
Example
The following example smooths the curve of the current selection:
fl.getDocumentDOM().smoothSelection();
document.sourcePath
Availability
Flash CS4 Professional.
Usage
document.sourcePath
Description
Property; a string that contains a list of items in the document’s ActionScript 3.0 Source path, which specifies the
location of ActionScript class files. Items in the string are delimited by semi-colons. In the authoring tool, the items
are specified by choosing File > Publish Settings and then choosing ActionScript
3.0 Script Settings on the Flash tab.
Example
The following example adds the ./Class files folder to the document’s Source path:
Przeglądanie stron 181
1 2 ... 177 178 179 180 181 182 183 184 185 186 187 ... 564 565

Komentarze do niniejszej Instrukcji

Brak uwag