Adobe Extending Flash Professional CS4 Instrukcja Użytkownika Strona 276

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 560
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 275
254
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
Mac OS X:
Macintosh HD/Users/username/Library/Application Support/Adobe/Flash
CS3/language/Configuration/Tools/toolConfig.xml
Example
The following example selects the Pen tool.
fl.selectTool("pen");
See also
Tools object, ToolObj object
fl.setActiveWindow()
Availability
Flash MX 2004.
Usage
fl.setActiveWindow(document [, bActivateFrame])
Parameters
document A Document object that specifies the document to select as the active window.
bActivateFrame An optional parameter that is ignored by Flash and Fireworks and is present only for compatibility
with Dreamweaver.
Returns
Nothing.
Description
Method; sets the active window to be the specified document. This method is also supported by Dreamweaver and
Fireworks. If the document has multiple views (created by Window
> Duplicate Window), the most recently active
view is selected.
Example
The following example shows two ways to activate a specified document:
fl.setActiveWindow(fl.documents[0]);
var theIndex = fl.findDocumentIndex("myFile.fla");
fl.setActiveWindow(fl.documents[theIndex]);
fl.showIdleMessage()
Availability
Flash 8.
Przeglądanie stron 275
1 2 ... 271 272 273 274 275 276 277 278 279 280 281 ... 559 560

Komentarze do niniejszej Instrukcji

Brak uwag