myListener = new EventListener()
myListener.onrtmouseup=function(e) {
e.cancelBrowserEvent()
}
myListener.onrtmousedown=function(e) {
e.cancelBrowserEvent()
}
Notice that this can easily be made into an extension with DynObject.prototype.allowContextuals(true/false) that
would add/remove the above listener to the layer calling the method. This is some easy homework for those who want
to starting getting their hands dirty.
Note from dFrameAPI team:
Does not work
under dFrameAPI.