Adobe Extending Flash Professional CS5 Bedienungsanleitung Seite 524

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 565
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 523
502
EXTENDING FLASH PROFESSIONAL
ToolObj object
Last updated 5/2/2011
<properties>
<property name="Style"
variable="style"
list="polygon,star"
defaultValue="0"
type="Strings"/>
<property name="Number of Sides"
variable="nsides"
min="3"
max="32"
defaultValue="5"
type="Number" />
<property name="Star point size"
variable="pointParam"
min="0"
max="1"
defaultValue=".5"
type="Double" />
</properties>
Example
The following example specifies that the file named PolyStar.xml is associated with the currently active tool. This code
is taken from the sample PolyStar.jsfl file (see
Sample PolyStar tool” on page 13):
theTool = fl.tools.activeTool;
theTool.setOptionsFile("PolyStar.xml");
toolObj.setPI()
Availability
Flash MX 2004.
Usage
toolObj.setPI(pi)
Parameters
pi A string that specifies the Property inspector to invoke for this tool.
Returns
Nothing.
Description
Method; specifies which Property inspector should be used when the tool is activated. This method is used only when
you create extensible tools. Acceptable values are
"shape" (the default), "text", and "movie".
Seitenansicht 523
1 2 ... 519 520 521 522 523 524 525 526 527 528 529 ... 564 565

Kommentare zu diesen Handbüchern

Keine Kommentare