Adobe Extending Flash Professional CS5 Instrukcja Użytkownika Strona 189

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 565
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 188
167
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
document.transformSelection()
Availability
Flash MX 2004.
Usage
document.transformSelection(a, b, c, d)
Parameters
a A floating-point number that specifies the (0,0) element of the transformation matrix.
b A floating-point number that specifies the (0,1) element of the transformation matrix.
c A floating-point number that specifies the (1,0) element of the transformation matrix.
d A floating-point number that specifies the (1,1) element of the transformation matrix.
Returns
Nothing.
Description
Method; performs a general transformation on the current selection by applying the matrix specified in the arguments.
For more information, see the
element.matrix property.
Example
The following example stretches the selection by a factor of 2 in the x direction:
fl.getDocumentDOM().transformSelection(2.0, 0.0, 0.0, 1.0);
document.unGroup()
Availability
Flash MX 2004.
Usage
document.unGroup()
Parameters
None.
Returns
Nothing.
Description
Method; ungroups the current selection.
Example
The following example ungroups the elements in the current selection:
Przeglądanie stron 188
1 2 ... 184 185 186 187 188 189 190 191 192 193 194 ... 564 565

Komentarze do niniejszej Instrukcji

Brak uwag