Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 279

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 278
257
EXTENDING FLASH PROFESSIONAL
flash object (fl)
Last updated 5/2/2011
Usage
fl.selectTool(toolName)
Parameters
toolName A string that specifies the name of the tool to select. See “Description” below for information on acceptable
values for this parameter.
Description
Method; selects the specified tool in the Tools panel. The acceptable default values for toolName are "arrow",
"bezierSelect", "freeXform", "fillXform", "lasso", "pen", "penplus", "penminus", "penmodify", "text",
"line", "rect", "oval", "rectPrimitive", "ovalPrimitive", "polystar", "pencil", "brush", "inkBottle",
"bucket", "eyeDropper", "eraser", "hand", and "magnifier".
If you or a user creates custom tools, the names of those tools can also be passed as the toolName parameter. The list
of tool names is located in the following file:
Windows Vista:
boot drive\Users\username\Local Settings\Application Data\Adobe\Flash
CS3\language\Configuration\Tools\toolConfig.xml
Windows XP:
boot drive\Documents and Settings\username\Local Settings\Application Data\Adobe\Flash
CS3\language\Configuration\Tools\toolConfig.xml
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.
Zobrazit stránku 278
1 2 ... 274 275 276 277 278 279 280 281 282 283 284 ... 564 565

Komentáře k této Příručce

Žádné komentáře