Right mousedown

Hi Cliffton,
I have a problem with detecting right or left button down. On a single object there is no problem:
but the same code won't work on a group. And unfortunately it's a big group (60 objects).
Any suggestions please?
John
I have a problem with detecting right or left button down. On a single object there is no problem:
- Code: Select all
<function name="myMouseDown" event="mousedown" params="e" useTB="true">
<![CDATA[
sharedActions.down = false;
sharedActions.counterNo = 1;
if (e.button == 0)
{
sharedActions.startTimer();
}
else
{
sharedActions.insertTime();
}
]]>
</function>
but the same code won't work on a group. And unfortunately it's a big group (60 objects).
Any suggestions please?
John