Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 444

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 443
422
EXTENDING FLASH CS4 PROFESSIONAL
SymbolInstance object
Example
The following example subtracts 100 from the alpha setting of the selected symbol instance:
fl.getDocumentDOM().selection[0].colorAlphaAmount = -100;
symbolInstance.colorAlphaPercent
Availability
Flash MX 2004.
Usage
symbolInstance.colorAlphaPercent
Description
Property; an integer that specifies part of the color transformation for the instance. This property is equivalent to using
the Color
> Advanced setting in the instance Property inspector (the percentage controls on the left of the dialog box).
This value changes the tint and alpha values to a specified percentage. Allowable values are from -100 to 100. See also
symbolInstance.colorAlphaAmount.
Example
The following example sets the colorAlphaPercent of the selected symbol instance to 80:
fl.getDocumentDOM().selection[0].colorAlphaPercent = 80;
symbolInstance.colorBlueAmount
Availability
Flash MX 2004.
Usage
symbolInstance.colorBlueAmount
Description
Property; an integer that is part of the color transformation for the instance. This property is equivalent to using the
Color
> Advanced setting in the instance Property inspector. Allowable values are from -255 to 255.
symbolInstance.colorBluePercent
Availability
Flash MX 2004.
Usage
symbolInstance.colorBluePercent
Zobrazit stránku 443
1 2 ... 439 440 441 442 443 444 445 446 447 448 449 ... 559 560

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

Žádné komentáře