Quick Tip: New Right-Click Mouse Event

In this quick tip I show you how to finally get rid of Flash’s right-click context menu once and for all! You can now listen to a right-click event and use it for a custom menu or for game play. Exciting stuff!




Commentary

  1. Matt Thomson says:

    Yay, right click :) Soo many years coming.

  2. Peter_D says:

    This is a great feature but in days of flash twilight it is a little bit too late for this kind of stuff

  3. Blue112 says:

    That’s really, really cool.

    Which flashplayer do we need to test that feature ? Is it already available in public version ?

    I can’t wait to implement that.

  4. Lee Brimelow says:

    @Peter_D maybe it’s in the twilight for you. For other people it’s just starting to get exciting. But I realize that some people are of the “glass is half empty” variety.

  5. Lee Brimelow says:

    @Blue112 you need the FP 11.2 beta from labs.adobe.com.

  6. Wenderson says:

    Até que em fimmm! Aleluiaaaaaaaa….. Ponto para Adobe!!!!!

  7. Ogy says:

    Finally! :)

    Great stuff…

  8. Christian Johansson says:

    Sweet, thanks!
    I would actually say that this is the time you can make the most money with flash ever. So many opportunities out there.

  9. LogoDesign says:

    “@Blue112 you need the FP 11.2 beta from labs.adobe.com”

    Thank you very much, that was my question also.

    Cheers for this post!!

    Will

  10. Cor says:

    I have added $(AppConfig)/ActionScript 3.0/FP11.2/playerglobal.swc
    But how can I use this in Flash CS5.5?

  11. Bart says:

    It goes well with the MouseLock API and Stage3D driven games. If Adobe could get a handle on making commercial P2P accessible (the choice between open Cirrus and commercial FMS Enterprise makes no sense) and then maybe _finally_ getting gamepad support up things would be very sweet for gaming.

  12. Evgeni Raev says:

    What about middle click? And 4th, 5th mouse buttons? Generally there there is this MOUSEEVENTF_XDOWN and MOUSEEVENTF_XUP that allows you to listen all possible buttons at mouse. http://msdn.microsoft.com/en-us/library/ms646260(VS.85).aspx

  13. Marcus Dobler says:

    Hi I am currently working on an Air for Android App in AS3! This app is running perfectly smooth on an Galaxy S2 with constant 60 fps! My new test device, a Galaxy Nexus with ICS has just arrived and the performance is very bad, unstable 40fps! Now my question is: Is this normal? Is this a problem with my code or is this an known issue of the new operating system?

  14. Tinic Uro says:

    Marcus,

    The Google Galaxy Nexus has an outdated graphics chip set which is unfortunately much slower than the much better one in the Samsung Galaxy SII. Specifically the Google Galaxy Nexus is very similar to the Google Nexus S hardware wise except that the graphics chipset is clocked about 33% higher (note the confusing naming scheme between these phones).

    This is unfortunately not enough to match the Samsung Galaxy SII which uses a ARM Mali 400 GPU vs the Google Galaxy Nexus which uses a PowerVR 540SGX clocked at 307Mhz.

    You find find graphics benchmarks for all kinds of phones here:

    http://www.glbenchmark.com/compare.jsp?benchmark=glpro21&showhide=false&certified_only=2&D1=Google%20Nexus%20S&D2=Samsung%20GT-i9100%20Galaxy%20S2

  15. Farid Valipour says:

    Hi lee

    Thanks and appreciate.

    It seems that flash platform gets more powerful and lovely.

Leave a Comment