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

  • 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 172
151
EXTENDING FLASH CS4 PROFESSIONAL
Document object
document.setPlayerVersion()
Availability
Flash CS3 Professional.
Usage
document.setPlayerVersion(version)
Parameters
version A string that represents the version of Flash Player targeted by the specified document. Acceptable values are
"FlashLite", "FlashLite11", "FlashLite20" , "FlashLite30", "1", "2", "3", "4", "5", "6", "7", "8", "9",
"FlashPlayer10", and "AdobeAIR1_1".
Returns
A value of true if the player version was successfully set; false otherwise.
Description
Method; sets the version of the Flash Player targeted by the specified document. This is the same value as that set in
the Publish Settings dialog box.
Example
The following example targets Flash Player 6 as the player version for the current document:
fl.getDocumentDOM().setPlayerVersion("6");
See also
document.getPlayerVersion()
document.setRectangleObjectProperty()
Availability
Flash CS3 Professional.
Usage
document.setRectangleObjectProperty(propertyName, value)
Parameters
propertyName A string that specifies the property to be set. For acceptable values, see the Property summary table for
the
Rectangle object.
value The value to be assigned to the property. Acceptable values vary depending on the property you specify in
propertyName.
Returns
Nothing.
Zobrazit stránku 172
1 2 ... 168 169 170 171 172 173 174 175 176 177 178 ... 559 560

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

Žádné komentáře