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

  • 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 330
309
EXTENDING FLASH CS4 PROFESSIONAL
Layer object
layer.locked
Availability
Flash MX 2004.
Usage
layer.locked
Description
Property; a Boolean value that specifies the locked status of the layer. If set to true, the layer is locked. The default
value is
false.
Example
The following example stores the Boolean value for the status of the first layer in the lockStatus variable:
var lockStatus = fl.getDocumentDOM().getTimeline().layers[0].locked;
The following example sets the status of the first layer to unlocked:
fl.getDocumentDOM().getTimeline().layers[0].locked = false;
layer.name
Availability
Flash MX 2004.
Usage
layer.name
Description
Property; a string that specifies the name of the layer.
Example
The following example sets the name of the first layer in the current document to foreground:
fl.getDocumentDOM().getTimeline().layers[0].name = "foreground";
layer.outline
Availability
Flash MX 2004.
Usage
layer.outline
Zobrazit stránku 330
1 2 ... 326 327 328 329 330 331 332 333 334 335 336 ... 559 560

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

Žádné komentáře