I'm using FlashBuilder 4.6, with 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), the standalone debugger projector (184.108.40.206) and same browser flash player plugin (220.127.116.11), so by my reckoning, I'm up to date in everywhere I should be, but, if I do
var a:String = MouseEvent.RIGHT_CLICK;
that prints "undefined null".
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?
Nope, according to
It's AIR 1.0, Flash Player 11.2 and Flash Lite 4.
From my opening post,
I'm using FlashBuilder 4.6, with 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)
the standalone debugger projector (18.104.22.168)
same browser flash player plugin (22.214.171.124)
There's no versioning information on the swc (nor the name of it, only 11_2), but it's modified date/time is 28 March 2012, 19:39:20. So it certainly seems as if it's the most recent.
And just to make 100% sure, my build instructions do include "-swf-version=13".
I've uploaded a swf with the behaviour and source attached,
While ya coulda been a bit more informative, you are right. I had swf-version at 13, but it needed to be all the way up to 15 for 11.2 stuff. Disappointing from me, but I do think Adobe could put that stuff in the docs too. When you're not paying 100% attention, there's always things like this that you can miss out on. In the docs, they have which versions of AIR have that property / functionality and same for the Flash Player, but if there's a min-spec for the swf-version, could that not be stated too?
Anyway, -swf-version=15 is the key.
Europe, Middle East and Africa