toolObj.iconID

Availability

Flash MX 2004.

Usage

toolObj.iconID

Description

Read-only property; an integer with a value of -1. This property is used only when you create extensible tools. An iconID value of -1 means that Flash will not try find an icon for the tool. Instead, the script for the tool should specify the icon to display in the Tools panel; see toolObj.setIcon().

Example

The following example assigns a value of -1 (the icon ID of the current tool) to the toolIconID variable:

var toolIconID = fl.tools.activeTool.iconID

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/00004558.html