Capturing right clicks in flash panels

Is there a possibility to capture a right click in a Photoshop flash panel?
When running a SWF in a browser you can right click to display a context menu, which can be populated with own items. But when running a flash panel in Photoshop and you right click somewhere no context menu is displayed. If you right click on a flex list or tree control it selects an item as if it you had left clicked.
I know that there is MouseEvent.RIGHT_CLICK constant, but appearently it only works in AIR applications. But I read that flash panels run in the AIR player engine. The problems is that Flex Builder does not compile the swf if I use MouseEvent.RIGHT_CLICK with addEventListener.
Is there any other possibility?

Hi Harald,
You could try implementing a ContextMenu: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/ui/ContextMenu.ht ml
Kind regards,
Lea

Similar Messages

  • Flex 3 : How  to capture   right click on DataGrid ??

    I am using Flex 3 . I have some data inside a DataGrid .
    Now when we the user right clicks on Datagrid Item , i want to show an Alert ??How  to capture 
    right click on DataGrid ??
    Please suggest ,thanks

    Thanks for the resonse , I did not understand what is context menu and how it it associated with Datagrid's right click , could you please elobrate ?? Thanks .

  • Bug? Right-click on Front Panel causes selection rectangle!

    Originally posted on LAVA: http://lavag.org/topic/12097-right-click-on-front-panel-causes-selection-rectangle/. This post contains an updated description of the problem.
    Anytime I right-click on a control on the FP, and dismiss the context menu, I get a selection rectangle. If I don't catch it, moving outside the bounds of the FP will cause the FP to scroll to continue my unwanted "selection". So far this has been repeatable every time.
    I noticed that the problem doesn't occur on the Controls pallette, only the context menu for controls. Also, if I mouse over the context menu before dismissing it, the problem doesn't occur. If I select an item from the context menu (which also dismisses it), the problem doesn't occur.
    I am running LabVIEW 8.6.1f1 on Windows XP Home SP3.
    -Ian
    Solved!
    Go to Solution.

    I once worked in a lab which contained a transformer with its incessant 120 Hz hum.  Just when I could tune it out someone would say "What's that hum?" and then it would annoy me again.  Similar story in a different lab which had a cooling water drain.  Just when I get used to the sound, someone would bring it up.
    This behavior has p#$#ed me of on numerous occasions and I am mostly used to it by now.   At home I use a track ball mouse which covers a lot of real estate in a hurry so of course I am often scrolling a FP into never-never land.  Now you bring it up and I am having flashbacks... (Thanks really, it is time to get this fixed)
    I have learned to spot the little circle in the crosshair cursor.  When it is missing, you are in selection mode.

  • Right click on flash movie / SWF file

    Why we get flash default menu when i right click on a flash
    movie?.
    When i enable video bookmark (videomark). user is suppose to
    right click on flash movie and select videomark.
    is the flash default menu is customizable?. Please let me
    know.

    Here is a sample script to customize the right-click menu.
    Put it in frame 1 of your movie.
    var myContextMenu = new ContextMenu();
    myContextMenu.hideBuiltInItems();
    var thisTitle:ContextMenuItem = new ContextMenuItem("My
    prison movie", bla);
    var thisCredit:ContextMenuItem = new ContextMenuItem("created
    by Paris Hilton", bla, separatorBefore=true);
    var thisCopyright:ContextMenuItem = new
    ContextMenuItem("© My Intelligence Is Ltd.", bla);
    myContextMenu.customItems.push(thisTitle);
    myContextMenu.customItems.push(thisCredit);
    myContextMenu.customItems.push(thisCopyright);
    function bla() {
    //insert your function here
    this.menu = myContextMenu;
    The function can be anything: getURL, load a movie clip, turn
    sound on/off, etc. You can add as many ContextMenuItems as you
    want. Each one can have a separate function assigned. It seems that
    some sort of function is required by the class, so I use an empty
    function like in this example if I want nothing to happen when the
    user clicks the menu item.

  • Right Click on Flash

    Hello-
    If I right click over flash on a web page I get a menu that is in Chinese, while everything else in my system and my usage of the machine is in English. Is there a fix for this? I've heard of this on windows machines and the RavMonE virus, but I cannot find anything about it for the mac.
    Many thanks-

    HI,
    To put your mind at ease, there are no Mac viruses in the wild. The RavMonE file is .exe file which cannot be read or opened on a Mac unless you are running a Windows partition.
    From the Safari Menu Bar, click Safari / Empty Cache. When you are done with that...
    From the Safari Menu Bar, click Safari / Reset Safari. Select the top 5 buttons and click Reset.
    And make sure Safari is not running in Rosetta. Right or control click the Safari icon in your Applications folder then click Get Info. In the Get Info window click the black disclosure triangle so it faces down. Where you see Open using Rosetta... make sure that is NOT selected.
    Now try to right click Flash content... if you still see the Chinese dialog...
    Try clearing your font cache.
    Shut down your Mac.
    Press the power button.
    Immediately after you hear the startup tone, press and hold the Shift key.
    Release the Shift key when you see the gray Apple and progress indicator. During startup in Mac OS X v10.4.x or later, you will see "Safe Boot" on the login window, even if normally you log in automatically. Boot time is a minute or two longer than a normal boot.
    After your Mac boots to the Desktop restart the computer normally, without holding any keys during startup.
    What this process does... It moves to the Trash all font caches normally stored in /Library/Caches/
    Restart your Mac and see if that makes a difference.
    Carolyn

  • Right Clicking on Flash Crashes Safari

    Whenever I right click on any Adobe Flash Player content on any site, Safari will crash for reasons I do not know of. Is there anyway to somehow reinstall Safari or maybe Flash, or better yet, is it possible to fix this problem with a simpler method? Thanks.

    HI,
    Try uninstalling and reinstalling a fresh copy of Flash Player.
    Uninstall Flash
    Install Flash
    Repair disk permissions.
    Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and *restart your Mac.*
    Try emptying the cache and resetting Safari also.
    From the Safari Menu Bar, click Safari / Empty Cache. When you are done with that...
    from the Safari Menu Bar, click Safari / Reset Safari. Select the top 5 buttons and click Reset.
    Make sure you are running Safari in 32-bit mode. Right or control click the Safari icon in the Applications folder, then click: Get Info In the Get Info window click the black disclosure triangle next to General so it faces down. Select 32 bit mode. Quit Safari then relaunch.
    Carolyn

  • Right clicking in flash player now brings up pop up menu.

    Previously I was able to right click within the flash player while playing a video game, which enabled certain game commands.  Now suddenly that functionality has gone away and the settings menu continues to come up every time I try it.  The Flash Player is 10.2.152.26. It's a 64 bit computer, brand new.  Using Explorer 8.   Any thoughts?

    I'm having the same problem and it's very annoying when you're trying to play a game where you have to right click to change something.
    I've read some old posts on this topic and have tried UNenabling the update but this makes no difference. Is there a solution?
    Thanks.

  • Captivate 4, Right Click and Flash 7

    Hello,
    I am using Captivate 4 and I need to include right click boxes. I also have to publish to Flash 7 but, this functionality doesn't work below Flash 8. Is there anything I can do to workaround this?
    Thanks,
    Mary

    Hi Vish,
    Thanks for your response. The problem is I need to use Captivate 4 because I have to publish to Flash 7. I am limited because of the technology on my learners computers. It looks like the right click option isn't compatible with Flash 7. Do you know if there is any type of workaround for this?
    Thanks for your help.
    Mary

  • Mouse Right Click Menus flash and are hard to read

    I am using Windows 7, and on FF 14.0.1.
    Basically, I am having the exact same issue as is described here:
    https://support.mozilla.org/en-US/questions/753329?as=aaq
    When I right click on menus, or when I go to the Firefox menu, the menu is bordered, but it is transparent. If I click on the location where a menu option is, that option is enabled (open new tab, etc). Or if I use the shortcut key, that also works.
    But it's a big pain.

    Do you use a custom theme or any add-ons that customize menus?
    This was helpful to some users in the other thread: did you try disabling graphics hardware acceleration? Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You usually need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    orange Firefox button ''or'' classic Tools menu > Options > Advanced
    On the "General" mini-tab, uncheck the box for "Use hardware acceleration when available"
    If you restart Firefox, is the issue resolved?

  • [Flash Player 9 Mac] Right-click destruction!

    Has anyone else noticed that right-clicking with Flash Player
    9 freezes the player visuals? Doesn't matter what you do
    afterwards, simply right-click anywhere on the player window, and
    you're done seeing and redraw updates. Same results on 4 out 4 Macs
    tested. Anyone else on a Mac have the same issue?
    At this point, I'm not worrying too much about it, as Mac
    users represent a very small user base of our target market, but it
    does represent 90 percent of out production platform, so its quite
    a problem for us, especially when we want to incorporate some
    custom right-click actions!
    Players 8 and below never had this problem, that any of us
    recall. It's a pretty jarring problem, completey blows up your
    experience by a simple right-click 99 percent of the time.

    Very strange. I'm trying it from my home computer and I'm
    getting hangs and such. Even if I close the browser window (but
    without Safari restart) the next pages don't work properly either.
    Then after a few more clicks and such, I will get Safari just
    unexpectedly quitting. All the numbers/versions I gave above are
    the same between the two computers.
    Additional information is that work is a 1.25 G4 tower and
    home is a 1.6 G4 AlBook. At home I haven't done the 2006-008
    security update yet. (And I THINK I did do that at work.) I will
    try that in just a bit and see if it makes a difference.
    The other thing I can think of is that we probably both have
    some version of Flash installed. I don't on my machine at work.
    Very odd!

  • Right click in AS3

    Guys I've just changed for Flash CS3, and I tried using the
    code to disable right click as in AS2 but it outputted some errors.
    What code do you use in order to disable right click in flash cs3
    AS3? Thanks

    What you can do if you want right click is create a new ContextMenu  and ContextMenuItem. You'll have to add a mouse click listener to each  of your stage items though so you can track the last one clicked;
    import flash.events.ContextMenuEvent;
    import flash.ui.ContextMenu;
    import flash.ui.ContextMenuItem;
    var  lastItem:MovieClip;
    var i:int;
    for(i =  0; i < stage.numChildren; ++i){
          stage.getChildAt(i).addEventListener(MouseEvent.MOUSE_DOWN,  itemClicked);
    function  itemClicked(e:MouseEvent):void
         lastItem =  e.currentTarget as MovieClip;
    var  rightClickMenu:ContextMenu = new ContextMenu();
    rightClickMenu.hideBuiltInItems();
    rightClickMenu.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,  rightClickMenuClicked);
    var bringToFront:ContextMenuItem =  new ContextMenuItem("Bring To Front");
    rightClickMenu.customItems = [bringToFront];
    stage.showDefaultContextMenu  = false;
    stage.contextMenu = rightClickMenu;
    function  rightClickMenuClicked(e:ContextMenuEvent):void
          switch (e.mouseTarget.label)
              case "Bring To  Front":
                   if(lastItem != null){
                         lastItem.parent.addChild(lastItem);           
               break;
    NOTE: You do not need to  first remove the child to add it again. By adding an existing child  you're simply resetting it to the top depth.

  • Right-click funcionality not working in assessment mode. I NEED HELP!

    Hi - I've recently created a number of assessment recordings. The right-click function works as I'm recording as well as when preview the project and then after I publish it. However, when I give it to a colleague(s) to demo it, for some reason the assessment isn't recognizing her right-click and she gets stuck. We're both running the same IE, flash and windows versions so I am really a at a loss on this one. Has anyone ever encountered the same problem and if so what did you do to fix it?! Thanks a million!

    Check this out.
    http://blogs.adobe.com/captivate/2009/01/adding_rightclick_in_captivate.html
    somewhere towards the middle of the page @Mike says the following. Hope this helps
    quote
    Now when you run the movie in your browser, Right-Click is not  working...
    off course it will not work, as Right-Click uses Flash External  Interface, and this new path
    is not a trusted path by your flash player
    Solution : You need to add this new path to your Flash Player  security
    Scenario 2: You just shared your right-click movie folder over  the network ,
    say the new path for other users is   "\\your-machine-name\My-Right-Click-Movie"
    ( or "\\nework-machine-02\work\captivate-movies\My-Rihgt-Click" )
    and other users are complaining that , Right-Click is not  working...
    Yes once again the reason is same  and new path   "\\your-machine-name\My-Right-Click-Movie"
    ( or "\\nework-machine-02\work\captivate-movies\My-Rihgt-Click" )   in not a trusted path by
    other user's flash player
    Solution : other user need to add this path  "\\your-machine-name\My-Right-Click-Movie"
    into his Flash player security setting.
    How to add a path to flash player security setting?
    Check this URL :
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l
    unquote

  • Can't Left Click in Flash Player Settings Panel - HELP PLEASE

    Hi and thanks for taking the time to read this. Believe me it is a fraction of the time I have wasted trying to resolve this issue.
    Basic problem is:
    I am trying to stream to Ustream but since downloading AFP11 for my Windows PC when I open the Flash Player Settings panel i can't left click on anything. It is set to deny but I can't click allow, or close or any of the icons.
    Right click does work.
    I have followed countless instructions in other forums from other posts that have encountered the problem on Mac and older versions of AFP but as yet none of the solutions have proven succesul.
    I have tried all of the following but nothing has resolved the problem.
    1. Uninstall and reinstall Adobe Flash Player (although this is impossible using Google Chrome) and restart computer.
    2. Unistall flash and install older version. (made no difference on Google Chrome and on IE8 had no flash whatsoever).
    5. Uninstall older AFP and reinstall AFP11.
    4. Uninstall Google Chrome and restart computer.
    5. Uninstall QuickTime (I got this off http://www.techsupportforum.com/forums/f10/flash-player-not-working-properly-please-help-1 61552.html) and restart computer
    6. Last resort use keyboard shortcuts such as tab, enter and ctrl+arrows. This either didn't highlight the panel at all or if it did I still couln't select allow, or close the panel itself so was no help either.
    So now I'm back to square one.
    Now here's a really bizarre thing... I am using a shared laptop computer and if I use my colleagues profile where she hasn't updated her AFP to Adobe Flash Player 11 the settings panel is responding just fine. IT'S THE SAME PC!
    I know I am alone with this problem but someone out there has an answer. If you can help please let me know how to fix this problem where I can't left click in the Adobe Flash Player settings panel.and I will be eternily grateful.
    many thanks
    nik

    OK the amount I hate myself right now is more than a fat guy's self loathing for raiding the fridge at 2am for Pizza but less than an armed robber who's accidentally shot a pregnant woman in the stomach during a shootout. but not much less.
    So after I had miraculously got the Flash Player Setting Panel to work again, (after deleting QuickTime and leaving the window open for abut an hour it just started working again) I then got enticed into downloading the ustream producer software.
    While downloading it informed me that it would only work with QuickTime.
    Stupidly and Optimistically hoping it would remove the need to use flash player altogether I downloaded and installed both.
    I then discovered to my horror that Ustream producer is not a patch on Vidbalster and that it was not capable of delivering the same level of broadcast.
    I then opened the flash player settings panel on ustream and... the problem has returned!
    This means I am 99% sure that QuickTime IS the cause of the problem so I have uninstalled QT off the PC. I have also uninstalled Ustream Producer.
    The thing is though, now no matter how many times I restart, or uninstall and reinstall Adobe, or Google Chrome, I am once again UNABLE TO LEFT CLICK IN THE FLASH PLAYER SETTINGS PANEL. AAAARRRRRGGGGHHHH!!!!
    What did I do? I fixed it and  f***ing broke it again!
    Now it properly will not come back to life! the problem is not solved and i urgently need help.
    Why does Adobe Flash Player Settings Panel and Apple QuickTime hate each other so much that they've got to ruin my life?
    Help forum PLEASE!
    Regards,
    nik

  • Capture right mouse click in image

    I would like to capture a right mouse click while pointing into am image window.
    So far I've come only to the possibilty to capture events that originate somehow with the left mouse click.
    Or
    Are specific to the front panel of the currently active VI
    Or
    Detect whether at the time of calling a subVI the button is down or up, with all the usual hazzel of detecting the transition (plus the necessity of depending on MS Driect X).
    What I would like to have is a signal that describes the right click in an image window.
    Thanks for any ideas
    Gabi
    7.1 -- 2013
    CLA

    Hi,
    If you use LV7, you can use the event structure. Add an event or filter
    event "Mouse down" for the picture. The "button" value indicates 2 for the
    right button, 1 for the left.
    Regards,
    Wiebe.
    the picture control has a property "Mouse". This is a cluster, that includes
    "Gabriela Tillmann" wrote in message
    news:[email protected]..
    > I would like to capture a right mouse click while pointing into am
    > image window.
    > So far I've come only to the possibilty to capture events that
    > originate somehow with the left mouse click.
    > Or
    > Are specific to the front panel of the currently active VI
    > Or
    > Detect whether at the time of calling a subVI the button is down or
    > up, with all the usual hazzel of det
    ecting the transition (plus the
    > necessity of depending on MS Driect X).
    >
    > What I would like to have is a signal that describes the right click
    > in an image window.
    >
    > Thanks for any ideas
    > Gabi

  • Is it possible to have Flash open the menu when you right click a link?

    I'm using sIFR 3 on a few of my websites. Personally I think it's a really cool and nice solution. I have had no issues with it so far except what I've recently discovered.
    When you right click on a link (or control click on a mac) it should have the normal menu you'd get if you clicked on a regular HTML link. Also when you hover over the link it doesn't display the status in the status bar (i.e. the URL the link will take you to if you click it).
    Anyways, I'm trying to come up with a workaround to this (personally I think the developers should have already thought of one but I guess not). That being said I'm wondering if Flash can do something like that. Is there a code I can put in the Actionscript to tell it to open up the browser menu when someone right clicks or control clicks a link?
    For some reason I'm thinking this isn't possible without JavaScript but I have had some people telling me in the current version of Flash it isn't possible at all. I'd be interested in hearing everyone else's opinion.
    To see what I'm talking about check out this website I'm building here... http://dev.thinktecmediagroup.com/fibre-federal/
    Notice that the top navigation (and side navigation) is all done using sIFR. IF you try and right click (or control click on Mac) on one of the links you'll see nothing happens.

    Probleme solved without having to change anything in the flash.
    The solution was to add a small part in the CSS in HTML
    html {
    overflow-x: hidden;
    overflow-y: auto;
    Solve probleme. All browser. VERY usefull to know !

Maybe you are looking for