beautypg.com

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

Page 527

background image

505

EXTENDING FLASH PROFESSIONAL

ToolObj object

Last updated 5/2/2011

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()

.

This manual is related to the following products: