Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.
Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger
- Posts: 125
- Joined: Sun Apr 19, 2009 3:22 pm
Some of my tool scripts are stopped working in 11 without any visible error. The symptoms are simple: you click on the tool icon, and nothing happens. It took me a while to find the reason - the failing scripts didn't have the OnMouseDown method.
So, if your scripts are not working in ASP 11, try this workaround:
Code: Select all
function <yourScriptName>:OnMouseDown(moho, mouseEvent)
-- do nothing