Adobe Extending Flash Professional CS5 Instrukcja Użytkownika Strona 117

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 565
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 116
95
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
Usage
document.duplicateSelection()
Parameters
None.
Returns
Nothing.
Description
Method; duplicates the selection on the Stage.
Example
The following example duplicates the current selection, which is similar to Alt-clicking and then dragging an item:
fl.getDocumentDOM().duplicateSelection();
document.editScene()
Availability
Flash MX 2004.
Usage
document.editScene(index)
Parameters
index A zero-based integer that specifies which scene to edit.
Returns
Nothing.
Description
Method; makes the specified scene the currently selected scene for editing.
Example
Assuming that there are three scenes (Scene0, Scene1, and Scene2) in the current document, the following example
makes
Scene2 the current scene and then deletes it:
fl.getDocumentDOM().editScene(2);
fl.getDocumentDOM().deleteScene();
document.enableAllFilters()
Availability
Flash 8.
Przeglądanie stron 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 564 565

Komentarze do niniejszej Instrukcji

Brak uwag