This would be a better test case, to verify that
a) one onmenuopen is sent each time right button is clicked, even if menu
is already open
b) no mouse events are sent when you dismiss the context menu by
clicking outside of it or releasing the mouse outside of it
<view width="200" height="200" bgcolor="0xff0000">
<contextmenu name="cm" onmenuopen="Debug.write('opened menu')" >
<contextmenuitem caption="hello world"/>
</contextmenu>
<handler name="onmousedown">
// Expected: Fires in swf8 and dhtml for left mouse click
// Unexpected: Fires in dhtml for right mouse click
Debug.write("onmousedown");
</handler>
<handler name="onmouseup">
// Expected: Fires in swf8 and dhtml for left mouse click
// Unexpected: Fires in dhtml for right mouse click
Debug.write("onmouseup");
</handler>
<handler name="onclick">
// Expected: Fires in swf8 and dhtml for left mouse click
Debug.write("onclick");
</handler>
</view>
_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews