ANSWER To use this and any new features in 11.2, the swf-version needs to be turned all the way up to 15.
My setup:
- FlashBuilder 4.6 Build instructions include "-swf-version=13"
- Flex SDK version 4.6.0 (build 23201) playerglobal.swc (current one from Adobe's page, http://www.adobe.com/support/flashplayer/downloads.html, said to be 11.2 as well)
- Standalone debugger projector (11.2.202.228)
- Browser flash player plugin (11.2.202.228)
So by my reckoning, I'm up to date in everywhere I should be, to be able to use MouseEvent.RIGHT_CLICK (Adobe Documentation: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/MouseEvent.html#RIGHT_CLICK) but, if I do
I understand that right-click was initially supposed to be AIR only, but that's supposedly changed, which is supported by the fact that it's in the website documentation and in the class definition for MouseEvent,
I want to play around with a few right-click stuff in Flash, but it seems like something's definitely not working correctly. Anyone got an insight as to what's wrong?
I'm a bit confused by some of the comments, so in case it's me poorly explaining what's going on, so here's an example of my code running and compiled, with source attached, http://www.tymonrovers.com/seaders/asdf.html