beautypg.com

Other changes, Javascript api objects, Javascript api – Adobe Extending Flash Professional CS4 User Manual

Page 29: Objects

background image

7

EXTENDING FLASH CS4 PROFESSIONAL

Introduction

Other changes

The following property has a new supported value in Flash CS4:

fill.style

The following objects, methods, and properties are no longer available in Flash CS4:

Project object

ProjectItem object

fl.openProject()

fl.closeProject()

fl.createProject()

fl.getProject()

Effect object

configureEffect()

executeEffect()

removeEffect()

fl.activeEffect

fl.effects

fl.enableImmediateUpdates()

fl.reloadEffects()

JavaScript API objects

This section provides a summary of the objects available in the Flash JavaScript API and how to begin working with
them. All standard JavaScript commands are also available when working with the JavaScript API.

The following table briefly describes each of the objects in the JavaScript API. The objects are listed in alphabetical
order.

Object

Description

actionsPanel object

The actionsPanel object represents the currently displayed Actions panel.

BitmapInstance object

The BitmapInstance object is a subclass of the Instance object and represents
a bitmap in a frame.

BitmapItem object

A BitmapItem object refers to a bitmap in the library of a document. The
BitmapItem object is a subclass of the Item object.

CompiledClipInstance object

The CompiledClipInstance object is a subclass of the Instance object.

compilerErrors object

The compilerErrors object represents the Compiler Errors panel. It is a
property of the flash object (fl.compilerErrors).

ComponentInstance object

The ComponentInstance object is a subclass of the SymbolInstance object
and represents a component in a frame.

componentsPanel object

The componentsPanel object, which represents the Components panel, is a
property of the flash object (

fl.componentsPanel

).