Toolobj.showtransformhandles() – Adobe Extending Flash Professional CS4 User Manual

Page 521

Advertising
background image

499

EXTENDING FLASH CS4 PROFESSIONAL

ToolObj object

bShow

A Boolean value that determines whether to show or hide the specified control (

true

shows the control;

false

hides the control).

Returns
Nothing.

Description
Method; shows or hides a control in the Property inspector. This method is used only when you create extensible tools.

Example
The following command in an extensible tool’s JavaScript file will set Flash to not show the fill options in the Property
inspector for that tool:

fl.tools.activeTool.showPIControl("fill", false);

toolObj.showTransformHandles()

Availability
Flash MX 2004.

Usage

toolObj.showTransformHandles(bShow)

Parameters

bShow

A Boolean value that determines whether to show or hide the free transform handles for the current tool (

true

shows the handles;

false

hides them).

Returns
Nothing.

Description
Method; called in the

configureTool()

method of an extensible tool’s JavaScript file to indicate that the free

transform handles should appear when the tool is active. This method is used only when you create extensible tools.

Example
See

configureTool()

.

Advertising