Extending Flash |
|
|
|
| Objects > ToolObj object > toolObj.position | |||
Flash MX 2004.
toolObj.position
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.
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);
|
|
|
|