toolObj.position

Availability

Flash MX 2004.

Usage

toolObj.position

Description

Read-only property; an integer that specifies the position of the tool in the Tools panel. This property is used only when you create extensible tools.

Example

The following commands in the mouseDown() method of a tool's JavaScript file will show that tool's position in the Tools panel as an integer in the Output panel:

myToolPos = fl.tools.activeTool.position;
fl.trace(myToolPos);

Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00004559.html