Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 618 Bytes

File metadata and controls

21 lines (12 loc) · 618 Bytes

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