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 (11.2.202.228) and same browser flash player plugin (11.2.202.228), so by my reckoning, I'm up to date in everywhere I should be, but, if I do
trace(MouseEvent.RIGHT_CLICK);
var a:String = MouseEvent.RIGHT_CLICK;
trace(a);
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?
From my opening post,
seaders wrote:
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 (11.2.202.228)
same browser flash player plugin (11.2.202.228)
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.
North America
Europe, Middle East and Africa
Asia Pacific