Adobe Extending Flash Professional CS5 Manuale Utente Pagina 344

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 343
322
EXTENDING FLASH PROFESSIONAL
Layer object
Last updated 5/2/2011
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
Vedere la pagina 343
1 2 ... 339 340 341 342 343 344 345 346 347 348 349 ... 564 565

Commenti su questo manuale

Nessun commento