beautypg.com

Toolobj.enablepicontrol() – Adobe Extending Flash Professional CS5 User Manual

Page 520

background image

498

EXTENDING FLASH PROFESSIONAL

ToolObj object

Last updated 5/2/2011

Usage

toolObj.depth

Description
Read-only property; an integer that specifies the depth of the tool in the pop-up menu in the Tools panel. This property
is used only when creating extensible tools.

Example
The following example specifies that the tool has a depth of 1, which means one level under a tool in the Tools panel:

fl.tools.activeTool.depth = 1;

toolObj.enablePIControl()

Availability
Flash MX 2004.

Usage

toolObj.enablePIControl(control, bEnable)

Parameters

control

A string that specifies the name of the control to enable or disable. Legal values depend on the Property

inspector invoked by this tool; see

toolObj.setPI()

.

A shape Property inspector has the following controls:

A text Property inspector has the following controls:

A movie Property inspector has the following controls:

stroke

fill

type

font

pointsize

color

bold

italic

direction

alignLeft

alignCenter

alignRight

alignJustify

spacing

position

autoKern

small

rotation

format

lineType

selectable

html

border

deviceFonts

varEdit

options

link

maxChars

target

size

publish

background

framerate

player

profile

This manual is related to the following products: