0
當我在應用程序上時,如何使這個函數直接運行。現在我仍然需要點擊鉛筆電影才能激活它。如果你需要更多的編碼..請讓我知道.. HELP pls ....as3 - 我想運行一次我輸入frame..how?的功能?的onEnterFrame?
private function PencilTool(e:MouseEvent):void
{
/* Quit active tool */
quitActiveTool();
/* Set to Active */
active = "Pencil";
/* Listeners */
board.addEventListener(MouseEvent.MOUSE_DOWN, startPencilTool);
board.addEventListener(MouseEvent.MOUSE_UP, stopPencilTool);
/* Highlight */
highlightTool(pencil);
hideTools(eraser, txt);
ct.color = activeColor;
shapeSize.transform.colorTransform = ct;
}