Can Mouse.hide() be disabled/disallowed?

I am loading fileB.swf into fileA.swf. I want fileA.swf to
disallow fileB.swf from calling Mouse.hide(). So far I am
completely clueless as to how this may be done. My primary
application, fileA.swf, will be loading many 3rd-party swf's, and I
don't want those swf's hiding the mouse.
Any ideas? Can it be done?

Thank you very much for the reply, I will add that code. It
doesn't fix the problem, but it makes it tolerable. I think that
may be the best fix... but I will leave this question open to see
if anyone else has a better idea.

Similar Messages

  • How can I Hide(not Disable) the Save As and Exit options in the File menu of Excel Documents in SharePoint 2013?

    Hi,
    I want to hide(not disable) the "Save As" and "Exit" options in the File Menu of Excel Documents in SharePoint 2013.When I make changes in the excelribbon.css file of xlviewer.aspx,all the options under File menu are getting hidden but
    I want to hide only these two options while retaining the others.
    Kindly suggest me a method to achieve this.
    Looking forward to your reply at the earliest.
    Thanks in advance.
    Regards,
    Sanjana

    Hi Sanjana,
    To hide the “Save As” and “Exit” options in xlviewer.aspx page in SharePoint, I recommend to use the code below(however it is not recommended):
    <style>
    div.cui-menusection li.cui-menusection-items:nth-child(2)
    display:none !important;
    div#m_excelWebRenderer_ewaCtl_menuJewelSaveAs{
    display:none !important;
    div#m_excelWebRenderer_ewaCtl_msJewelSecondary{
    display:none !important;
    </style>
    As “:nth-child()” selector is supported in IE 9 and later versions, please use IE 9 or later versions’ IE browser.
    http://www.w3schools.com/cssref/sel_nth-child.asp
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Hide or disable HELP button in ME21N

    Hello ABAPers,
    How can I hide or disable the [HELP button|http://img174.imageshack.us/img174/8445/picjy7.jpg] in standard transaction ME21N? It's located within pf-status NORMAL of functiongroup MEGUI.
    (I tried SDH0, but I believe it is not possible to change a pf-status. If it is, please tell me how.)
    (Release 4.7)
    With kind regards,
    Mehmet

    Hello Mehmat-
    I am not sure how will you achieve this,but I can suggest you.Try to find screen exit if I find i will def let you know.
    Cheers,
    ~Srini....

  • How can I Hide/ Disable the Question mark and Exit button in the Top right corner of Link Bar of Excel Documents in SharePoint 2013?

    Hi,
    How can we  Hide / Disable the Help(?) and Close(x) buttons which are located in the right corner of the Top Link Bar in the Sharepoint Document Library pages as well as Excel Web Access?
    Our requirement is : When we try to view the Excel Services Report from another web site, Help(?) and Close(x) icons are also appearing in the Excel Web Access Web Part, but we don't want to display them in our site.
    Please let us know the solution for this case.
    Thanks in advance.
    Regards,
    Sanjana

    Hi,
    In the xlviewer.aspx, we can find the two buttons like this:
    To hide them, you need to add the CSS into the xlviewer.aspx which stays in:
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Can I hide/disable the presentation playbar

    I'mputting together a project consisting entirely of imported flash swf files. Some of the swfs are interactive, and some are not, so per other discussions, I'm choosing which files should be controlled by the playbar, and which should not. My issue is usability. On the files where there is user interaction, I need to either hide or disable the playbar so that the user isn't confused as to why pausing/playing/etc. do not work. Does anyone know of a way to hide or diable the playbar on a per screen basis? Thanks!
    Bill

    Hey Bill,
    I just came across a very interesting solution to eliminating the playbar entirely without modifying the vconfig.xml file.  The good news is that it works fantastically...the bad news is that you MUST pay careful attention to what you're doing with the Flash files that you'll have to reimport as a result.  More on that in a sec....
    Someone once added an entry in this forum suggesting that you could use a flash-based button to "communicate" with the Presenter components in a published file.  Although assigning code to a button will work, you can also use “onEnterFrame” event handler as a way to automatically trigger various things to happen.  This way, you won’t need to create buttons that require user interaction to occur just to make something happen in Presenter...or you can leave the level of interactivity for the flash files you're looking to build.  In any case, to kill the playbar scrubber while leaving the attachments and audio controls intact, use the following code on a single frame of an fla:
    this.onEnterFrame = function () {
    _root.m_controlBar.m_scrubBar._visible= 0;
    Save and publish the Flash file, and then add the swf to the first slide in a presentation.  Publish the content and the scrubber/playback will be gone!
    Programming NOTE: because Breeze/Presenter is set up for Flash Player 6/7/8, its best to code everything using Flash Player 6 / Actionscript 2.0 as the coding environment.
    The drawback: as soon as you navigate to the screen that contains a flash object with the above code, the playbar will be killed off for the entire presentation.  Therefore, as you navigate to a slide/screen where you need the playbar to re-appear, you're going to need to create another flash file that resets the visible property of the scrubBar object:
    this.onEnterFrame = function () {
    _root.m_controlBar.m_scrubBar._visible= 1;
    Save and publish this second Flash file and import on your slide where needed/required.
    Hope that helps!
    Rob
    www.robrode.com/yabb/

  • HT204389 When texting I keep hitting the microphone button. It's aggravating. Can I move it left of the 123 button? That would be ideal. Or, second choice, can I hide microhphone button without disabling Siri?

    When texting I keep hitting the microphone button. It's aggravating. Can I move it left of the 123 button? That would be ideal. Or, second choice, can I hide microhphone button without disabling Siri?

    the think the answer is No to both your questions.
    I don't see a way to move the microphone, also can't hide it w/o disabling siri.

  • How can I hide a JPanel?

    I have some JPanels and using the mouse motion listeners you can scribble on them. I want to be able to switch between these panels but the problem is the drawings get wiped off when I use repaint() and frame.add(panel).
    Any ideas how else I could try doing this?

    Ok thanks everyone. I've taken the MyPanel class from here http://java.sun.com/docs/books/tutorial/uiswing/painting/step3.html
    class MyPanel extends JPanel {
        private int squareX = 50;
        private int squareY = 50;
        private int squareW = 20;
        private int squareH = 20;
        public MyPanel() {
            setBorder(BorderFactory.createLineBorder(Color.black));
            addMouseListener(new MouseAdapter() {
                public void mousePressed(MouseEvent e) {
                    moveSquare(e.getX(),e.getY());
            addMouseMotionListener(new MouseAdapter() {
                public void mouseDragged(MouseEvent e) {
                    moveSquare(e.getX(),e.getY());
        private void moveSquare(int x, int y) {
            int OFFSET = 1;
            if ((squareX!=x) || (squareY!=y)) {
                repaint(squareX,squareY,squareW+OFFSET,squareH+OFFSET);
                squareX=x;
                squareY=y;
                repaint(squareX,squareY,squareW+OFFSET,squareH+OFFSET);
        public Dimension getPreferredSize() {
            return new Dimension(250,200);
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);      
            g.drawString("This is my custom Panel!",10,20);
            g.setColor(Color.RED);
            g.fillRect(squareX,squareY,squareW,squareH);
            g.setColor(Color.BLACK);
            g.drawRect(squareX,squareY,squareW,squareH);
    }Now if I use this class to make two panels, how can I hide one and bring the other one up and vice versa, using two buttons? setVisible() still doesn't work properly.
    Here's the whole code.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.SwingUtilities;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.BorderFactory;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseMotionListener;
    import java.awt.event.MouseMotionAdapter;
    public class PanelTest extends JFrame {
        private MyPanel panelOne;
        private MyPanel panelTwo;
        private BorderLayout layoutManager;
        private PanelTest() {
            layoutManager = new BorderLayout();
            this.setLayout(layoutManager);
            panelOne = new MyPanel();
            panelTwo = new MyPanel();
            panelOne.add(new JLabel("This is Panel One"));
            panelTwo.add(new JLabel("This is Panel Two"));
            setCurrentPanel(panelOne);
            JButton switchButton = new JButton("Switch");
            switchButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    if(getCurrentPanel() == panelOne) {
                        setCurrentPanel(panelTwo);
                    } else {
                        setCurrentPanel(panelOne);
            this.getContentPane().add(switchButton, BorderLayout.SOUTH);
            this.pack();
            this.setVisible(true);
        private void setCurrentPanel(MyPanel panel) {
            this.getContentPane().add(panel, BorderLayout.CENTER);
            panel.revalidate();
            panel.repaint();
        private JPanel getCurrentPanel() {
            return (JPanel)layoutManager.getLayoutComponent(BorderLayout.CENTER);
        public static void main(String[] args) {
            new PanelTest();
    class MyPanel extends JPanel {
        private int squareX = 50;
        private int squareY = 50;
        private int squareW = 20;
        private int squareH = 20;
        public MyPanel() {
            setBorder(BorderFactory.createLineBorder(Color.black));
            addMouseListener(new MouseAdapter() {
                public void mousePressed(MouseEvent e) {
                    moveSquare(e.getX(),e.getY());
            addMouseMotionListener(new MouseAdapter() {
                public void mouseDragged(MouseEvent e) {
                    moveSquare(e.getX(),e.getY());
        private void moveSquare(int x, int y) {
            int OFFSET = 1;
            if ((squareX!=x) || (squareY!=y)) {
                repaint(squareX,squareY,squareW+OFFSET,squareH+OFFSET);
                squareX=x;
                squareY=y;
                repaint(squareX,squareY,squareW+OFFSET,squareH+OFFSET);
        public Dimension getPreferredSize() {
            return new Dimension(250,200);
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);      
            g.setColor(Color.RED);
            g.fillRect(squareX,squareY,squareW,squareH);
            g.setColor(Color.BLACK);
            g.drawRect(squareX,squareY,squareW,squareH);
    }Edited by: atom.bomb on Mar 30, 2010 11:25 AM

  • How can I hide a text label as I would a control or indicator?

    As I have multiple indicators that must have the same identifier to the operator I can not use the indicator label as the items identifier. At times I want to hide the indicator and label. How can I hide the label? Please recall a text label just sits on the front panel as desired. It isn't within a raised or lowered box. In the attached sample I would like to hide "MyLabel" when the date indicator is hidden.
    Attachments:
    Test_Label.vi ‏35 KB

    Here�s a way. Its a little involved, but it will work:
    1. Customize a control or indicator to remove the border (I used a string control)
    a. Right click on the control or indicator, go to �Advanced � Customize�
    b. Click on the wrench on the tool bar to enter edit mode
    c. Select the border and drag it off to the side
    d. Reduce the size of the border to a single pixel (it won�t let you delete it)
    e. Rubber band a box around the 1 pixel border to select it and use the cursor keys to move it within the �white space� of the string control. It will effectively disappear. You will NOT be able to move it with the mouse as LV will try to resize the border instead of moving it.
    f. Using the color tools �suck up� the background color of your vi and �paint� i
    t into the white space of the control.
    g. Make the control the correct size to hide your label(s). Make sure it is right as you will NOT be able to resize the control outside of the �customize� function (i.e.: while on your front panel)
    h. Click on the tweezers to go back to customize mode.
    i. Give your control a descriptive name
    j. Right click on the control, go to �Visible Items� and uncheck �label� to hide the label.
    k. Save your new control
    2. Back on your front panel, place your new control over what you want to hide and programmatically make it visible or invisible as desired.
    I have included a copy of your original vi, modified to hide and unhide your label. I have also included the customized string control that accomplishes this. You may resize the control as needed by �customizing it as described above.
    The only disadvantage to this method is that if you want to hide multiple labels they must be in the same area of the front panel. Otherwise you must have seve
    ral �hiding� controls.
    An advantage is that you will not have to make the original control or indicator (i.e.: the date indicator) visible or invisible as it can be hidden as well.
    Hope this does what you want.
    Good Luck.
    Attachments:
    Test_Label.vi ‏27 KB
    InvisibleString.ctl ‏6 KB

  • How can you hide a Continue button until all clickboxes are clicked?

    I have seen similar questions to this one, but none seemed to be the exact situation as mine.
    What I have: Several images on a screen.  When a user clicks an image it is replaced with another image.  I am using clickboxes for this task.  I do not wish for them to toggle back and forth. Once they click the original image it should stay changed.
    What I am trying to do: Once a learner clicks all the images (in no particular order) a Continue button appears that allows them to go to the next screen.
    If anyone has some suggestions on this situation please let me know, thanks.

    I cannot log in on the forum for the moment, so will try by answering by
    mail. I was aware of that problem (have presented those solutions so
    often), thought that since you left all images visible once the click box
    was clicked it wouldn't be a problem.
    Two possible solutions:
       1. Easiest one: add a statement in the Always decision that will Hide
       the click box just clicked. It has no sense to click it another time. That
       will mean that you still can do it with a shared action but that shared
       action will have two parameters now, the second one being the click box
       that has to adapted on each application of the shared action.
       2. If you don't want to make the click box hidden (which means at the
       same time disabled), you'll need a user variable for each click box,
       starting with a default value of 0, and toggle it in the Decision 'Always'
       to 1. The second decision will then need a condition that checks the value
       of all the user variables (with AND) and shows the Next button only when
       all variables have the value of 1.
    Sorry, but have to mail, cannot offer a screenshot in that case.
    Lilybiri
    2014-03-13 5:31 GMT+01:00 Joseph_McDonald <[email protected]>:
        Re: How can you hide a Continue button until all clickboxes are
    clicked?  created by Joseph_McDonald<http://forums.adobe.com/people/Joseph_McDonald>in *Advanced
    Adobe Captivate Users* - View the full discussion<http://forums.adobe.com/message/6205043#6205043

  • Mouse.hide() not working on air/mac app

    Hi,
    I have an air app with a Mouse.hide() that is not working on the mac, but in an odd way. It has the latest AIR runtime as of the other day and I am publishing to AIR 2.0 from Flash Pro CS5. I'm making it from windows where it works fine, but the show computer is a mac mini.
    I am calling Mouse.hide on the Document class in the ADDED_TO_STAGE handler (right before going FULL_SCREEN_INTERACTIVE), as well as 2 seconds after ADDED_TO_STAGE via a timer.
    Here's the thing. If you launch the air app from the dock in osx, it works every time. However, if you launch the app from a finder window, the Mouse.hide() does not work! It also doesn't work when the app is set to run at login, as this is a trade show display setup just to run this app. It is also worth noting that in this case, the app still does have keyboard focus as the keyboard events are registering properly. Hit "M" and I've got the mouse hiding that way with no problem. Trouble is the client wants it to be automatic, so that show staff can hit the power button on the computer and be done.
    I would post my code, but seriously it's just on ADDED_TO_STAGE -> Mouse.hide() and it hasn't changed. Shouldn't that work? This has been working since the beginning of this project almost 10 months ago but just stopped working recently (within the last couple of times we have updated software on the show machines).
    I need to come up with a solution to this, but as far as I can see the only solution is to upgrade the project to run at 10.2 and air 2.7 to use native mouse cursors and load a blank cursor. To do that I think I would need to convert my .xfl project over to a flex builder project with components but I'm still not quite sure how to do that, so it would definitely take some time :/
    thanks for reading this and if you think it would help for me to show my code I'll put together a test bed.
    Nick

    Hi Chris,
    Thank you for posting. Here's what I filed 6-27-13, but I did not receive a tracking # from Adobe:
    Feature Request/Bug Report : Bug Report
    Product                    : Flash Authoring
    Product Version            : FlshProCS6
    Product Language           : English
    Browser                    : Safari
    Web Server                 : Apache
    Application Server         : Other : none
    Database                   : MySQL
    Operating System           : Mac OS X Intel based
    OS version                 : 10.7.4
    OS language                : English
    Device Profile             :
    Device Model               :
    Mobile Device              :
    HTTPREFERRER               : https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&promoid=EWQQL
    Feedback Report            : ******BUG******
    Concise problem statement:
    When using Flash Pro CS6 to build a standalone Mac .app player, this code from CS5/AS3 no longer hides the mouse cursor. SWF and .exe files are not affected.
    If you use Mouse.hide OR the FULL_SCREEN command, they work fine. Just not concurrently, like in CS5.
    Steps to reproduce bug:
    1. Use the following AS3 code together:
    stage.displayState=StageDisplayState.FULL_SCREEN;
    Mouse.hide();
    2. Publish .fla as .app
    Results:
    App is full screen but mouse cursor is showing.
    Expected results: Mouse should be hidden.

  • How can I hide the scroll bar in TextArea?

    How can I hide the scroll bar in TextArea?

    Hi. To remove the horizontal scrollbar you can do this:
    textArea.setWrapText(true);
    To remove the vertical scrollbar you can do this:
    ScrollBar scrollBarv = (ScrollBar)ta.lookup(".scroll-bar:vertical");
    scrollBarv.setDisable(true);  and set the opacity to 0 in the css file:
    //css file
    .text-area .scroll-bar:vertical:disabled {
        -fx-opacity: 0;
    }Here is an example:
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ContextMenu;
    import javafx.scene.control.MenuItem;
    import javafx.scene.control.ScrollBar;
    import javafx.scene.control.TextArea;
    import javafx.scene.input.ContextMenuEvent;
    import javafx.scene.layout.StackPane;
    import javafx.stage.Stage;
    public class TextAreaSample extends Application {
        @Override
        public void start(Stage primaryStage) {
        final TextArea textArea = new TextArea();
            textArea.setWrapText(true);
            StackPane root = new StackPane();
            root.getChildren().add(textArea);
            Scene scene = new Scene(root, 300, 250);
            primaryStage.setScene(scene);
            primaryStage.show();
            scene.getStylesheets().add(getClass().getResource("style.css").toExternalForm());
            ScrollBar scrollBarv = (ScrollBar)textArea.lookup(".scroll-bar:vertical");
            scrollBarv.setDisable(true);
        public static void main(String[] args) {
            launch(args);
    }

  • Mouse.hide() errors

    I am using AS 3 Flash CS4, WIndows XP SP3. I am unable to use the Mouse.hide(); method in many of my scripts.
    If I add Mouse.hide() to a preexisting script, I get the following error;
    line1 1061: Call to a possibly undefined method hide through a reference with static type Class.
    If I add Mouse.hide():void; to a preexisting script, I get the following error:
    line1 Label must be a simple identifier
    Once this has happened, if I then remove ALL lines of script from the file...but leave the Mouse.hide(); [or Mouse.hide():void;], and also remove all objects from the stage, when I run the file, I still get those same errors.
    On the other hand, if I begin with a brand new, virgiin fla and type Mouse.hide(); in the first frame of the movie, then run it, I have no problem. I see a blank page and the mouse is not visible over the stage. If I then add  more script to the page (e.g. a couple of trace statementa), and run it again, I now get the error I described above. And if I then remove the new lines of script in this file, but leave the original Mouse.hide(); line of code, I now still get the error anyway, even though the file looks the same to me as it looked when I first began (the virgin file with only the Mouse.hide(); line of code present).
    This behavior is baffling and frustrating. I can't debug it because there is nothing to debug...I am using the Mouse.hide(); method correctly in all instances. What else could be responsible for such weirdness??? It makes me wonder if there are other AS3 methods that won't work on my system.
    This problem is present whether or not I use "strict" mode in my publication settings.
    Any help or suggestions as to what is happening would be appreciated.
    Thanks,
    Chick

    I have checked the same fla file that throw errors when Mouse.hide(); is placed in the script in both Windows 7 and Windows XP. The problem ONLY occurs when the OS is XP (I have tried it on two completely different computers with XP and had others try it on two computers with Windows 7).
    Once the problem exists, removing all the other script on the page...i.e. leaving Mouse.hide(); as the only line of code still causes an error on XP. If I begin a new fla file and begin with  Mouse.hide(); there is no problem on any OS. It's a problem only when other code (not sure what lines or type of code triggers this) is already present when Mouse.hide(); is added.
    Does that help at all? Is there some configuraton in XP that I need to adjust to get things to work?
    Thanks,
    Chick

  • How can we hide userid & password from browser

    How can we hide the userid,password and connectionstring from the address bar of explorer when we run 9i forms on browser

    Ok - I have 9.0.4 and I want to disable this hiding of password, as I have the follwing problem: Forms creates a temporary local file which contains javascript. Per default in xp service pack 2 it is not allowed to run javascript from local file. Is there any parameter in webforms.cfg to disabel the creation of this temporary file?

  • OBIEE - How to selectively hide or disable columns on a dashboard prompt?

    Hello! I need some help with OBIEE dashboard Prompts. Any help will be highly appreciated!
    Question 1. How to selectively hide or disable columns on a dashboard prompt or the entire prompt? There seems to be no "hide" or "dsable" options on
    prompts.
    Question 2. How to synchronize 2 different prompts on the same dashboard?
    The application is this: There are total of 2 tabs on a dashboard ("tab_1" and "tab_2"). Each tab uses different prompts ("pr_1" and "pr_2"), having just one first drop down column in common ("Product_id").
    The desired functionality is this: user selects "Product_id" on the first tab's prompt, which filters its reports (on "Go") and also propagates to the second tab. When user clicks on the second tab, the reports there are already filtered (or begin filtering) by "product_id", selected on the first tab.
    Question 3. How to prevent the reports from retrieving when switching to a different tab on a dshboard? Specifying dummy default values in the prompt does
    not seem to preven reports from retrieving, which still takes time.
    Thank you very much!
    Roger

    Regarding Question 2:
    What you need to have is a Dashboard scope dashboard prompt for Product_ID (i.e., Don't use the column prompt from the prompt tab within the Request.)
    1) Create the dashboard prompt, put it on tab1 and save the prompt to a presentation variable, say prmtProdID. Set the scope to "dashboard." (This is the default, by the way.) If you create a dashboard prompt and set the scope to "dashboard," then the prompt values selected will hold true across dashboard pages.
    2) On tab2, go to your report and in Criteria mode, apply a filter to the Product_ID column making it equal to the PV. (Click the filter icon, Add>Variable>Presentation Variable and type prmtProdID. Save.)
    When the user selects a Product_ID on tab1 of your dashboard and hits "Go," not only will it filter your report on tab1, when you go to tab2 the report here will be filtered with the same value selected in the prompt on tab2.
    Regarding Question 3:
    If you implement 2, you cannot implement 3. You can't have it both ways. Not for the same scenario. But if you want to know how to do it in general, read this:
    http://obieeone.com/2009/08/24/how-to-stop-queries-to-automatically-fire-off-once-entering-dashboarddashboard-page/

  • How can i hide or lock the apps on ipad

    How can i hide or lock the apps on ipad, i don't want anyone to see some apps when my ipad was used. Without Jailbreak.

    It depends what you mean by 'lock' if you mean keep the iPad on a specific app that's easy to do as long as you are updated to iOS 6 which from your device information I can see your iPad is updated to iOS 6.0.2. All's you have to do is go to Settings > General > Accessability > Guided Access > ON > Set Passcode (Set a passcode to lock an app onto the screen). Go back to the home screen and click the app you would like to lock onto. Press the home button three times quickly. You can then highlight certain parts of the app you would not like them to be able to press, disable touching or motion if thats what you need. Press start. To exit the locked app triple press the home button again and type in the passcode you set earlier. Press end in the top left corner. I hope this helped you but if by 'lock' you meant don't allow on the app this is not possible as of yet with the iOS software although some apps do allow you to lock them with a passcode or you could try restrictions in the settings menu but this only works with built in apps such as; camera, facetime, safari, downloading apps, siri etc.

Maybe you are looking for