How to disable right-click in Flex app /w actionscript?

Anyone know of actionscript code within Flex for disabling
right-click. I've got an app that I don't want my users to have
access to the right-click menu.

"EvolvedDSM" <[email protected]> wrote in
message
news:gadm7g$fi6$[email protected]..
> Thanks hanchan, I did just want to disable the zoom
options and whatnot.
> After
> watching a few users, who have never worked with a flex
app before,
> accidentally right click here and there and zoom in or
zoom out, I was
> banging
> my head on the wall thinking "this could happen ALL THE
TIME with these
> people".
>
> Ahhh, Amy. You need to feel the love of "No Script", a
FireFox browser
> extension. It is truly the best tool on the net imo. NO
MORE ADS. You
> have
> to allow non-domain site ads to appear on the page, else
they never load
> and
> you don't have to deal with the ads. If you use FireFox,
get it!! And if
> you
> don't use FireFox, try it!!
But even then, the player itself isn't providing you with any
security.

Similar Messages

  • How to disable right click in a transaction?

    Hi,
         How to disable right click in transaction.
    i.e, While in CRMD_BUS2000111, in partners tab, when we right click, a pop up window appears. I don't want this to happen. I don t want the window to pop up.
    How can this be achieved witout changing any standard code?
    Regards,
    Varun

    Hi Amit,
    Tcode - CRMD_BUS2000111
    Regards,
    Varun

  • How to disable right click option re-size on table column header?

    Hi All,
    Please let us know how to disable right click option re-size on table column header.
    The issue is that when I right click on the column header, the column is selected and the context menu with options like Sort, Columns, Resize Columns, etc.. is popping. we want to disable column  re-size option.
    We are binding the table values programatically (not using Bc4J) and the Jdeveloper version is 11.1.2.2
    Thanks in advance,
    - Vignesh S.

    Hi Gawish,
    Thanks for the reply.
    This will make the particular column frozen and only work for that particular column.
    My use case is that to remove the resize columns option from the context menu or to disable the right click option.
    Making column selection as none will disable the right click option but we need column selection for sorting.
    Is there any other way to achieve this?
    Thanks in advance,
    -Vignesh S.

  • How to disable right click on SAP portal login page

    Hi,
    How to disable right click on SAP portal login page. Our requirement is one should not be able to right click -
    >view source. on the portal login page.
    Best Regars,
    Tushar

    Hi Tchanvan,
    If you search google with "javascript disable right click" you will get loads of javascript code. This will also help you to gain knowledge.
    @Explanation to last post : You need to import standard logon par file in NWDS. Create javascript file to disable right click and then include this file in your logon page. i think login page name is portalLogin.jsp and then deploy this new PAR file.
    regards,
    Jigar Oza

  • How to disable right click on your mouse

    hello people ,, cananyone please tell me how to disable
    rightmouse click on my website ,or on my site's photos please
    help

    PLease don't. Not only is it useless as you say, it's a waste
    of time, and
    compromises your website.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "JoeyD1978" <[email protected]> wrote in
    message
    news:gd01lq$1s9$[email protected]..
    > Copy and paste this into the head of your document:
    >
    > <script language="JavaScript">
    > // <!-- var popup="Sorry, right-click
    > is disabled.\n\nThis Site Copyright ?2008"; function
    noway(go) { if
    > (document.all) { if (event.button == 2) { alert(popup);
    return false; } }
    > if
    > (document.layers)
    > { if (go.which == 3) { alert(popup); return false; } } }
    if
    > (document.layers)
    > { document.captureEvents(Event.MOUSEDOWN); }
    document.onmousedown=noway;
    > //
    > -->
    > </script>
    >
    > Keep in mind it's completely useless, and the moment you
    place your photos
    > on
    > the internet someone can acquire them with minimal
    effort. You'll also be
    > damaging the usability of the site by using the script,
    again while
    > gaining
    > absolutely nothing.
    >

  • Adobe Reader Browser Plugin - How to disable right click print

    Here is some background to my question
    I'm using Adobe Reader 9.2 and have configured to use the Adobe Reader Active X browser plugin.
    which has the effect of launching pdf's within the IE browser rather than launching the full client. This is all working fine
    I have a requirement that I need to lockdown certain menu items (for the purpose of this example, lets say "SaveAs" and "Print") and toolbars which I have also done successfully using folder level javascripts. For example I have created a HideMenuItems.js file and placed this in the "C:\Program Files\Adobe\Reader 9.0\Reader\Javascripts", here is a snippet of the file which relate to hiding / removing the SaveAs and Print items
    app.hideToolbarButton("Print"); 
    app.hideToolbarButton("SaveFileAs");
    app.hideToolbarButton("Save");
    These work fine and hide the Print and Save toolbar buttons from the Adobe Reader Browser plugin menu.
    As an aside If I wanted to hide the same icons from the full adobe reader client I could use app.hideMenuItem("Print");
    So this all works fine and I'm happy so far. Now, with these settings in place I launch the pdf within the browser, although save and print buttons are now hidden and I cannot add them back, I can still RightClick anywhere in the pdf and get the context menu, from there I can select print.
    What I'm after is a way to either
    (i) Selectively remove menu items from the right click context menu, and therefore remove the print option e.g something like app.[hideRightClickMenuItem]("Print") would be great but I dont know what that method is called.
    or
    (ii) Disable the RightClick context menu altogether for Adobe Reader Browser Plugin
    Not bothered what the solution is whether its a reg hack - HKCU / HKLM  / or javascript line I can add to my HideMenuItems.js, But basically I want to lock down the ability for the users to select print button from all sources including "CTRL + P",
    Or if this is not possible let them hit CTRL P or right click print, but then not display the Adobe Print Dialog.
    Basically the printing of the documents in handled by our web app sending a silent print to the adobe application which again works fine, I just need to prevent the users from being able to initiate a print from within the pdf when displaying the pdf in a browser.
    Having searched around there is an API called AVAppRegisterForPageViewRightClicks which is supposed to prevent right clicks, But I dont know how to use this, or whether it can be used within my HideMenuItems.js file, tried many different syntaxes but to no avail.
    Does anyone have any experience in this? Adobe - do you have any suggestions ?
    Cheers
    Will

    Hi thanks for your response, yes it seems this API is availalbe but there are no examples of how to use it. You mentioned its available in Adobe reader and Adobe Acrobat plugins. Well I'm using the Adobe Reader Active X Browser Plugin so how would I use this API to restrict the Browser plugin.l
    I am not a developer writing my own custom plugins, I simply want to use the out of the box adobe reader product, specifically the Active X browser plugin, but I need to be able to customise and restrict what the user is able to do.
    The reason I need to do this is that we publish IE on a citrix server which users access to launch this highly secure web based application. The sensitive data that they view is in the forms of PDFs which are viewed by the Adobe reader browser plugin within the browser. The web application controls who can save, export, print etc, so I need to be able to lock down the Adobe Reader Active X browser plugin so that the user cannot initiate save, and print functionality from within the viewed pdf. I've done this successfully by restricting the menu and toolbar items but it is still possible to right click on the viewed pdf and click select print from the context menu. This would cause us a big security flaw, which would result in users that are only supposed to view being able to click print.
    I published a desktop (locked down) and published IE (locked down) all successfully with GPOs so the users cannot do anything they are not supposed to do, however Adobe reader it seems cannot be easily locked down and this is a problem as I might have to start looking at viable alterantives. Surely a simple requirement as this could be acheieved with relative ease.
    In an ideal world there would be an  available GPO template (.ADM file), which could be used to centrally manage these type of settings. I dont even mind writing an ADM myself, I've written many before, but for example what I need is the appropriate registry entries and how they are used to lock down / restrict certain functions so that I can write such an .ADM file.
    I dont mind how I achieve this, I just need a way to do it. So if using the API AVAppRegisterForPageViewRightClicks would achieve this, can someone please tell me how I can implement something that would use this API to restrict the right Click Print options for example.
    The sort of answer I;m looking for would be
    Create a file, paste in this code, place the file is this location xxxxx, this is a per machine fix so will affect all users
    or
    Edit the regstry and make this HKCU change xxxxx - This is obviously a per user fix so use normal methods to get this into every users profile.
    or
    Open up the file in this location xxxxxx and add AVAppRegisterForPageViewRightClicks = AlwaysDisable (or whatever the syntax is)
    Thanks for you help
    Cheers
    Will

  • How to disable right-click and keyboard shortcuts in adobe reader?

    Hello All,
    We are currently working on an issue. We want to display a pdf to users but not allow them to save it. Though we are able to hide the menubar and toolbars, the Shortcuts F8, F9 and Ctrl+Shift+S is the undoing of all. The user can still use these shortcuts to enable toolbar and menubar. Can anyone suggest how to disable the right-click and keyboard shortcuts in adobe reader?
    Thanks in Advance

    Impossible, and illogical. PDF files are not streamed or RAM-cached so if someone is viewing a file they must have already saved it.

  • Help how to disable right click of touchpad

    I have been using my Lenovo X1 carbon for 4 months.  But the experience has been awful.
    I don't know if my tackpad is defective or not.  Currently I am in the Philippines and there is no way to check or service my unit since they don't carry this model here.
    My problem is when i tap the touch pad the right click button comes out 80% of the time.  This is really annoying.  I already disabled the right click to double finger tap.  But still even with one single tap on the middle of the touchpad the result is 80% of the time its like doing a right click.. Very annoying.
    Please help me.  If this is touchpad is defective can anyone let me know so I will have this serviced in Dec. in the US.

    [ahmed@the-rock ~]$ xinput list
    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ SIGMACH1P U+P Mouse id=12 [slave pointer (2)]
    ⎜ ↳ SynPS/2 Synaptics TouchPad id=14 [slave pointer (2)]
    ⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Fujitsu FUJ02B1 id=7 [slave keyboard (3)]
    ↳ Fujitsu FUJ02E3 id=8 [slave keyboard (3)]
    ↳ Video Bus id=9 [slave keyboard (3)]
    ↳ Power Button id=10 [slave keyboard (3)]
    ↳ USB Webcam id=11 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard
    Last edited by remstereo (2011-01-27 18:42:20)

  • How to disable right click on a Matrix Cell??

    Hi,
    It is impossible to disable a number of cells in a matrix. So I use the BubbleEvent = False in application item event to disable certain cells. My code is :
    If pVal.FormUID = "MyForm" And pVal.BeforeAction = True And pVal.ItemUID = "MyMatrix" Then
         If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then
              If pVal.Row <4 Then
                  BubbleEvent = False
              End If
         End If 
    End If
    It works great with left click. But the cell still can be selected  with a right click button. I've tried this code :
    If pVal.FormUID = "MyForm" And pVal.BeforeAction = True And pVal.ItemUID = "MyMatrix" Then
         If pVal.EventType = SAPbouiCOM.BoEventTypes.et_RIGHT_CLICK Then
              If pVal.Row <4 Then
                  BubbleEvent = False
              End If
         End If 
    End If
    and also this code in application rightclick event :
    Private Sub SBO_Application_RightClickEvent(ByRef eventInfo As SAPbouiCOM.ContextMenuInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.RightClickEvent
         If eventInfo.FormUID = "MyForm" And eventInfo.BeforeAction = True And eventInfo.ItemUID = "MyMatrix" Then
              If eventInfo.Row < 4 Then
                   BubbleEvent = False
              End If
         End If
    End Sub
    But it doesn't work... It just make the right click menu not appear, but I still can click and edit the cell with a right click...
    Is there a trick?
    Regards,
    Rinaldi Sugiono

    It is still the same.. 
    up to now, I use this trick :
    Private Sub SBO_Application_RightClickEvent(ByRef eventInfo As SAPbouiCOM.ContextMenuInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.RightClickEvent
            If eventInfo.FormUID = "MyForm" And eventInfo.BeforeAction = True And eventInfo.ItemUID = "MyMatrix" Then
                If SBO_Application.Forms.Item(eventInfo.FormUID).Items.Item("MyMatrix").Enabled = True And eventInfo.ItemUID = "MyMatrix" Then
                    If eventInfo.Row > 4 Then
                    Else
                        SBO_Application.Forms.Item("MyForm").Items.Item("MyMatrix").Specific.Columns.Item("MyColumn-1").Cells.Item(SBO_Application.Forms.Item("MyForm").Items.Item("MyMatrix").Specific.RowCount).Specific.String =_
                        SBO_Application.Forms.Item("MyForm").Items.Item("MyMatrix").Specific.Columns.Item("MyMatrix").Cells.Item(SBO_Application.Forms.Item("MyForm").Items.Item("MyMatrix").Specific.RowCount).Specific.String + ""
                        BubbleEvent = False
                    End If
                End If
            End If
    End Sub
    But it seems too ineffective... It runs slow, and results some "flicky cell"..
    Edited by: Rinaldi Sugiono on Sep 23, 2010 4:49 AM

  • 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 .

  • How do I right click on OLD Apple mouse that is white / oval shape?

    How do I right click on the older version of Apple mouse?
    Please do not tell me to buy a new one, I myself have new mac mini with trackpad, but need to help friend in wheelchair who lives in healthcare facility fix an app on his iMac, need to right click to do it.  We cannot get on internet there to download mouse drivers for a different mouse.
    Thank you in advance for your thoughts.

    Look for secondary (right) click settings in Mouse system preference.  If there are none then the mouse does not have right-click.  In that case you can right-click by holding the Control key while clicking.

  • HT3986 How do I right click on Windows installed using Bootcamp?

    How do I right click on Windows installed using Bootcamp?

    It should work the same way it does in OSX, but for it to work correctly, you need to install the Boot Camp drivers in Windows. You can do this by using the Boot Camp Assistant in OSX, then creating the "Windows support software (drivers)" package. Follow the instructions there, then use the resulting thumbdrive to install the drivers and apps into Windows. Then you should be able to two-finger-click the touchpad or right-click your mighty mouse or other two-button-enabled mouse.
    http://support.apple.com/kb/HT4407 for more info on this.
    Caveat: I've done this, and I've found that the two-finger-click in Windows is iffy. That is, it frequently triggers a left-click function instead of right-click. :-/

  • Disable right click on a button

    I created a banner, covered it with a button and added a clickthrough. Is there a way to disable the right click capability.
    EB.Clickthrough("");

    Is there a way to disable the right click? When I publish the edge file I get an html5 site. I have tried implementing this
    http://stackoverflow.com/questions/737022/how-do-i-disable-right-click-on-my-web-page
    but it is still right clicking.

  • Wanted to disable right click for RRI for one of coulmns...

    Hi
    I created query in WAD 7. The query output in Portal shows 5 columns. For this query i have RRI (Jump query). Could u pls. let me know how can I disable Right-Click functionality for one of the column field (basically i wanted to restrict RRI functionality for one of the field column).
    Thanks...

    As far as I know, RRI works at the level of record, not column... So for any column in any record where you right click and select Go To, you'll get the settings from RSBBS...
    Fields and settings specified in Assignment Details are for those parameters to be transferred to the target, not for determining what columns accept the right-click or not...

  • How do you right click for skype features on an Micosoft Surface Tablet to block a contact

    how do you right click for skype features on an Micosoft Surface Tablet to block a contact

    Go to Settings>General>Restrictions and turn on Restrions for Safari and also hide the App store to prevent purchasing apps like another browser
    iOS: Understanding Restrictions

Maybe you are looking for

  • HP 4185 deskjet all-in-one " Carriage Stalled"

    Hello, I have HP all in one 4185,i have recently encountered the problem of "CARRIAGE STALLED".I changed my black ink cartridge but its a while now,and i have started facing this problem about a week ago. Printer wont print a single page and it displ

  • Problem with number field

    Hi, I'm using ADO (Oracle Provider for OLEDB) to connect Oracle 9. If the type of any field in table is Number(9) and I open query with this field, all negative values are displayed as positive values. For example: If I write -1 value to this field a

  • UNBILLED RECIEVABLE ACCOUNT- SERVICE CONTRACT WITH REVENUE RECOGNITION

    Hi SAP Gurus, I want to draw your kind attention towards my problem: I have created  service contract with one year contract and created an invoice for the whole year in advance. Now in-between i cancelled  a contract (after three months) and want to

  • Outbound Mail Adapter Mail Package

    Hi there, I have a problem in a XI-Scenario. There is an incoming mail with a CSV-File as an attatchemant. It s transformed by an itemfield-module into xml-soap. Then the message is mapped and end to a sap-hr via rfc. This is how far it works. my pro

  • How Do I download older apps for a older IPod

    I wanted to download facebook but everytime I try it says I need iOS 6.0, and says cancel idk what to do. Help?