6 Replies Latest reply: Apr 4, 2012 6:00 PM by seaders RSS

    MouseEvent.RIGHT_CLICK is undefined at runtime?

    seaders

      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?