beautypg.com

Adobe Extending Flash Professional CS4 User Manual

Page 333

background image

311

EXTENDING FLASH CS4 PROFESSIONAL

Layer object

Example
The following example makes all objects in the first layer invisible:

fl.getDocumentDOM().getTimeline().layers[0].visible = false;