How to prevent click through?

Basically I have mulitple buttons on the stage. Every button on the stage is an instance of the same component. When one of the buttons is pushed, that component imports an MC from the library to the stage (popup window). It then creates a text box and imports text into the box based on the XML settings typed in that components component inspector. The problem I keep running into is that I can still push the other component buttons through the mc that was imported to the stage.
I've tried the old way of fixing it.  ie. make a button the size of the popup window and put it behine the window.  This doesn't work.
I've tried using
stage.mouseChildren = false;
but that turns all the clicks off.  Even the one that the user needs to close the popup window.  I'm at a loss now.  Any help you can give is much appreciated.

I'm not sure why.  But adding a button behind it isn't working for me.  Maybe it has something to do with the fact that all the buttons are components or maybe because all their instances of the same component.  I don't know.
Is there a way the components can speak to eachother?  Maybe I can set a global boolean value.  When a button is clicked it sets it to true.  Then if another button is clicked it checks to see if its true or false.  It won't open if its true.
I don't know.

Similar Messages

  • How to prevent people asking how to prevent "click to activate and use this control"

    When I visit the fourms, I keep seeing these questions about
    how to disable
    "click to activate and use this control". Its really annoying
    and
    disrupting my web experience. I do know this really this is a
    blatant
    attack on Adobe and Flash by Microsoft and is obviously
    related to the Adobe
    takeover of Macromedia, and probably also related to the fact
    that it is now
    impossible for anyone to install Flash Player (which Adobe is
    ignoring
    because their support is so useless since the takeover). Is
    there something
    I can do to prevent these questions being posted? I've
    searched all the
    forums and cannot find any information. Surely someone else
    has had this
    problem.
    Jeckyl

    Some people don't like to search...
    Some people don't know what to search...
    Some people don't even know there is a search...
    Just ask them to search for "click to activate and use this
    control".
    Search
    Flash Support Forums
    Search
    Google

  • How to track click throughs in an a pdf document?

    I am working on an online magazine created using Adobe Acrobat 9 Pro.  The document is made in Indesign CS4 and converted to a pdf for reading online or downloading. It's important to us to be able to track click throughs to advertisers urls. I've been told by both Adobe tech support and my hosting provider that it can't be done.  Is there another product or service which would allow us to do track these click throughs?
    Any help is greatly appreciated.

    Clicking on a link in a PDF is not different from clicking a link in a browser. In both cases, a URL is launched.
    In this URL you can include the parameters your web-server needs in order to record the action.
    You can even add an extra parameter to tell you what the source of the click was, another web-page or a PDF.

  • How can u click through images one by one

    Hello there,  I am designing my site and would like to have a gallery of images that can be view one image at a time. I want to place arrows on either side and numbers beneath to help navigate the user. I know there are slideshows out there but I've not found one right.  Am I asking for the impossible? Thought there would be a Way of layering or defining a folder to cycle through my images.  Is there someone out there that can help? Thank you Nicola

    That's commonly known as a carousel
    http://sorgalla.com/projects/jcarousel/
    http://www.pixelzdesign.com/blog_view.php?id=55
    http://www.projectseven.com/products/tools/horizontal-glider/examples/featured-items/index .htm (commercial, paid-for product)

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • Since upgrading to 4.0 I've been receiving irritating messages every time I click through via a link embedded in a document or an email. The message says "An error occurred in sending the command to the application". How can I remove it?

    Since upgrading to Firefox 4.0 I've been receiving irritating messages every time I click through via a link embedded in a document or an email. The message says "An error occurred in sending the command to the application". How can I remove it?

    Certainly!
    This is the module in our eMac 1.42:
    1GB PC2700 DDR 333MHz CAS 2.5 184 Pin DIMM
    The vendor, Other World Computing, ships to the UK but I suspect the shipping would make it pricy. I also trust this vendor:
    Apple G4 eMac 1.42GHz (184 Pin PC2700 DDR DIMMs)
    Between the two vendor's description, you should have a good idea of the Specs
    PPC Macs do not like hi-density PC RAM. That's why I linked these two; they send the right stuff to Mac users.
    Crucial UK is usually cited as good but, like their US counterpart, seldom go against Apple's outdated specs. See:
    http://www.crucial.com/uk/store/listparts.aspx?model=eMac%20(1.42GHz)&Cat=RAM
    They show the max RAM for your model as 1GB--yesterday's news. However, if you order their offering for a G5 iMac, you get the larger modules. Here is a listing for a 2GB kit (2 x 1GB modules) of the right config:
    http://www.crucial.com/uk/store/listparts.aspx?model=iMac%20(G5-1.8GHz%2C%2020-i nch)&Cat=RAM
    Hope this didn't muddy the water!
    Allan

  • How to create report from SDK without clicking through ther Query manager ?

    Hello,
      I need to create an on-screen report with selection criteria. (Something similar to Reports/Inventory/Items list)
    I could create a query and save it but
    - how to start the query by SDK then - without clicking through the Query manager ?
    - how to pass the selection criteria to the query ?
    Please suggest me ?
    Regards,

    As the helpcenter(2005 helpcenter) has missed this bit of documentation (on UserQueries) could someone please provide an example of using this object
    thanks
    Message was edited by: George Savery
    hmm I thought it had timed out .... Woops

  • Fireworks CS5 click-through prototype - how to organize?

    In Fireworks CS5 I'm trying to organize a click-through prototype, but I can't seem to get it to work as intended. I have the following Pages:
    Master page
    Page 1
    Page 2
    On the Master page I have (apart from a static background image) two instances of the same button Symbol to make a global navigation. One button is linked to Page 1 and the other to Page 2. The button Symbol has a certain look for the two states: Over (hover) and Down (click) states.
    If I export the pages as a html click-through prototype, the two buttons work as expected when I start navigating from the Master page, apart from one thing:
    The Down states aren't shown on click and they aren't persisted (for you-are-here indicators) when either Page 1 or Page 2 is loaded.
    So my question(s) is/are:
    What am doing wrong/have I misunderstood? / How can I organize my prototype differently to make sure the clicked state of the buttons are shown and persisted as I navigate through the prototype?

    I can reproduce the issue and have notified the Fireworks Dev team along with supplying them with my sample. In the meantime, one workaround is to place a static graphic, representing your down states, on the appropriate pages.
    Alternatively, do not use button symbols. Rather, place the graphic for each state on an actual state in the Master page, then apply a slice and add a Navbar behavior. It's a bit more work and not as elegant as the button symbol, but it does work. Make sure to add the same number of (blank) states to your other pages.
    Let me know if you need specific steps.
    HTH

  • How to prevent JFileChooser automatically changing to parent directory?

    When you show only directories, and click on the dir icons to navigate, and then dont select anything and click OK, it automatically 'cd's to the parent folder.
    My application is using the JFileChooser to let the user navigate through folders and certain details of 'foo' files in that folder are displayed in another panel.
    So we dont want the chooser automatically changing dir to parent when OK is clicked. How to prevent this behavior?
    I considered extending the chooser and looked at the Swing source code but it is hard to tell where the change dir is happening.
    thanks,
    Anil
    To demonstrate this, I took the standard JFileChooserDemo from the Sun tutorial and modified it adding these lines
              // NEW line 45 in constructor
              fc.addPropertyChangeListener((PropertyChangeListener) this);
              fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
          * NEW -
          * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
         public void propertyChange(PropertyChangeEvent e) {
              String prop = e.getPropertyName();
              if (JFileChooser.DIRECTORY_CHANGED_PROPERTY.equals(prop)) {
                   System.out.println("DIRECTORY_CHANGED_PROPERTY");
                   File file = (File) e.getNewValue();
                   System.out.println("DIRECTORY:" + file.getPath());
         }

    Here is the demo:
    package filechooser;
    import java.awt.BorderLayout;
    import java.awt.Insets;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.beans.PropertyChangeEvent;
    import java.beans.PropertyChangeListener;
    import java.io.File;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFileChooser;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    import javax.swing.SwingUtilities;
    import javax.swing.UIManager;
    * FileChooserDemo.java uses these files:
    *   images/Open16.gif
    *   images/Save16.gif
    public class FileChooserDemo extends JPanel implements ActionListener,
              PropertyChangeListener {
         static private final String newline = "\n";
         JButton openButton, saveButton;
         JTextArea log;
         JFileChooser fc;
         public FileChooserDemo() {
              super(new BorderLayout());
              // Create the log first, because the action listeners
              // need to refer to it.
              log = new JTextArea(5, 20);
              log.setMargin(new Insets(5, 5, 5, 5));
              log.setEditable(false);
              JScrollPane logScrollPane = new JScrollPane(log);
              // Create a file chooser
              fc = new JFileChooser();
              // NEW
              fc.addPropertyChangeListener((PropertyChangeListener) this);
              fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
              // Create the open button. We use the image from the JLF
              // Graphics Repository (but we extracted it from the jar).
              openButton = new JButton("Open a File...",
                        createImageIcon("images/Open16.gif"));
              openButton.addActionListener(this);
              // Create the save button. We use the image from the JLF
              // Graphics Repository (but we extracted it from the jar).
              saveButton = new JButton("Save a File...",
                        createImageIcon("images/Save16.gif"));
              saveButton.addActionListener(this);
              // For layout purposes, put the buttons in a separate panel
              JPanel buttonPanel = new JPanel(); // use FlowLayout
              buttonPanel.add(openButton);
              buttonPanel.add(saveButton);
              // Add the buttons and the log to this panel.
              add(buttonPanel, BorderLayout.PAGE_START);
              add(logScrollPane, BorderLayout.CENTER);
          * NEW -
          * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
         public void propertyChange(PropertyChangeEvent e) {
              String prop = e.getPropertyName();
              // If the directory changed, don't show an image.
              if (JFileChooser.DIRECTORY_CHANGED_PROPERTY.equals(prop)) {
                   System.out.println("DIRECTORY_CHANGED_PROPERTY");
                   File file = (File) e.getNewValue();
                   System.out.println("DIRECTORY:" + file.getPath());
         public void actionPerformed(ActionEvent e) {
              // Handle open button action.
              if (e.getSource() == openButton) {
                   int returnVal = fc.showOpenDialog(FileChooserDemo.this);
                   if (returnVal == JFileChooser.APPROVE_OPTION) {
                        File file = fc.getSelectedFile();
                        // This is where a real application would open the file.
                        log.append("Opening: " + file.getName() + "." + newline);
                   } else {
                        log.append("Open command cancelled by user." + newline);
                   log.setCaretPosition(log.getDocument().getLength());
                   // Handle save button action.
              } else if (e.getSource() == saveButton) {
                   int returnVal = fc.showSaveDialog(FileChooserDemo.this);
                   if (returnVal == JFileChooser.APPROVE_OPTION) {
                        File file = fc.getSelectedFile();
                        // This is where a real application would save the file.
                        log.append("Saving: " + file.getName() + "." + newline);
                   } else {
                        log.append("Save command cancelled by user." + newline);
                   log.setCaretPosition(log.getDocument().getLength());
         /** Returns an ImageIcon, or null if the path was invalid. */
         protected static ImageIcon createImageIcon(String path) {
              java.net.URL imgURL = FileChooserDemo.class.getResource(path);
              if (imgURL != null) {
                   return new ImageIcon(imgURL);
              } else {
                   System.err.println("Couldn't find file: " + path);
                   return null;
          * Create the GUI and show it. For thread safety, this method should be
          * invoked from the event dispatch thread.
         private static void createAndShowGUI() {
              // Create and set up the window.
              JFrame frame = new JFrame("FileChooserDemo");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              // Add content to the window.
              frame.add(new FileChooserDemo());
              // Display the window.
              frame.pack();
              frame.setVisible(true);
         public static void main(String[] args) {
              // Schedule a job for the event dispatch thread:
              // creating and showing this application's GUI.
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        // Turn off metal's use of bold fonts
                        UIManager.put("swing.boldMetal", Boolean.FALSE);
                        createAndShowGUI();
    }

  • How to prevent print head clog up and B200 Error ?

    I just went through a horrid time getting rid of a B200 error due to the printer head clog up.  I had to soak the head for at least one hour in a solution of warm water  and a bit of oxy clean to get the printer to work again. I almost gave up and was at the point of buying a new printer .
    My question is :  How to prevent this from happening again especially during 2 to 3 week vacations when the printer is turned off?
    Tks

    Hi sportflyer,
    There isn't a way to prevent a B200 error.  If you do encounter the error again, it is recommended that you contact live technical support . There is NO charge for this call.  Please dial 1-866-261-9362, Monday - Friday 10:00 a.m. - 10:00 p.m. ET (excluding holidays).
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How to prevent iTunes for Windows from "Updating iTunes Library"? (Library is on a NAS and managed by iTunes for Mac. Now getting update wars between Mac and Windows versions of the player.

    How to prevent iTunes for Windows from "Updating iTunes Library"?
    My library is on a NAS and managed by iTunes on a Mac. I can connect from wife's Windows laptop using iTunes for Windows but every time I do, it Updates iTunes Library. Next time I log in from my Mac it Updates iTunes Library in return. It appears I'm experiencing "Update Wars" between the Mac and Windows versions of iTunes. I would like to allow my wife to stream iTunes songs to her new laptop but I don't want any updates from this source... prefer to manage the library from my Mac and not allow Windows to do any thing other than listen to existing playlists.
    Thanks for any help/suggestions.

    Connect the PC to the library on the NAS. Wait while "updated".
    Under Edit > Preferences > Advanced make sure the media folder is correctly pointed at the media folder on the NAS. If not correct, close iTunes, wait a few moments, then open iTunes again.
    Close iTunes on the PC. Do not open iTunes on the Mac.
    Copy the library files, iTunes Library.itl, iTunes Library Extras.itdb, iTunes Library Genius.itdb, sentinel and the folder Album Artwork into an empty iTunes folder on the PC, for example C:\iTunes.
    Click the icon to start iTunes and immediately press and hold down SHIFT. Keep holding until prompted to choose or create a library. Click choose and browse to the copied .itl file, e.g. C:\iTunes\iTunes Library.itl
    The library should now work properly on the PC, however check the setting for the media folder. If needs be correct, close iTunes and reopen.
    Open iTunes on the Mac. It will update again, but that should be last time.
    tt2

  • How can I 'click' on a "latch" mechanical boolean in an event case?

    Since I can't set true of false to the local variable of latch mechanical boolean, how can I click the boolean in an event case?

    LUX_ wrote:
    1. I can't make the value change event work (the second option of the solution posted by smercurio...)
    2. The occurrence does not work as I thought it would be. I need to stop the timer if user change to other mode within that 7 minutes period (my test.vi set to 10 seconds).
    The value change using a signaling property only works if you actually have an event assigned to that value change. You currently don't!
    I am not sure why you complicate things with the occurrence. You don't need it. (the wait for occurence prevents the the loop from e.g. checking the elapsed time). THe code is way too convoluted.
    I think all you need is one loop utilizing the timeout of the event as wait timer (and one to randomly cause faults). See attached for a rough draft. modify as needed. As you can see, you don't need all these locals and hidden controls.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    testMOD.vi ‏18 KB

  • How to play music through my external hard drive through iTunes on my mac?

    I recently purchased a external hard drive for my mac for my movies and music, as my disc was almost full.
    I have spent HOURS searching how to play music through my itunes without transferring them onto the mac.
    BUT everytime I click media destination folder in prefrences and advance, the whole music library in my external hard drive folder is  greyed out, and when i click it nothing happens.
    PLEASE someone help...

    First, a brand new drive is likely formatted for use with Windows.  You need to reformat it for use with Mac.
    Pondini: Formatting,  Partitioning, Verifying,  and  Repairing  Disks... - http://web.me.com/pondini/AppleTips/DU.html
    Second, you are better off moving the whole iTunes library to the external drive, not just the media.
    iTunes: How to move [or copy] your music to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    Quick answer if you use iTunes' default preferences settings:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Open iTunes and immediately hold down the Option (alt) key (shift on Windows), then guide it to the new location of the library.
    Do not confuse moving your whole folder and library with moving just media files as in
    iTunes for Mac: Moving your iTunes Media folder - http://support.apple.com/kb/HT1449

  • How to prevent AT SELECTION-SCREEN event on second Selection Screen

    Hi All
    I have a program in which I am entering some parameters in a selection screen and also validating them in AT SELECTION-SCREEN events. After validating them the program shows another selection screen in which I have some push-buttons. I have some events on those push-buttons also.
    However I am facing a different problem now. When I execute the second selection screen I get the report, and when I click on back button then it again triggers the AT SELECTION SCREEN event of the first selection screen and displays the related messages.
    How to prevent this ? Is there any way where I can restrict the execution of selection screen events for a particular selection screen?
    Amol

    Hi,
        try this logic when Ist selection screen validation
         is done set a flag = 'X' .
          at selection-screen.
          if glag is initial
           *screen validation
               flag = 'X..     
          endif.
    regards
    amole

  • How to prevent BGP code 6 (Cease) subcode 6 (Other Configuration Change)

    Can anyone tell How to prevent BGP code 6 (Cease) subcode 6 (Other Configuration Change) ?
    We are facing frequent problem with this error. Please suggest how to stop this.... 
    Note :- We are using BGP VPN between this peers.
    Logs :
    Date/Time     : 2015-04-30 00:49:40+05:30
     State         : Up
     Date/Time     : 2015-04-30 00:39:05+05:30
     State         : Down
     Error Code    : 6(CEASE)
     Error Subcode : 6(Other Configuration Change)
     Notification  : Send Notification
     Date/Time     : 2015-04-29 18:22:11+05:30
     State         : Up
     Date/Time     : 2015-04-29 18:21:39+05:30
     State         : Down
     Error Code    : 6(CEASE)
     Error Subcode : 6(Other Configuration Change)
     Notification  : Send Notification

    on the same dates you mean the same request are posted in IT2001? ie both full days?
    Please clarify
    usually the Time collision checks are followed only via posting using report rptarqpost and not while applying through portal in ESS
    This is very strange you indicate
    SO you need to check the basic tables first
    You may need to check the collision.
    Collisions Tables V_T554Y and V_554Y_B reaction indicators.
    and V_T508A
    able T582A set to time constraint of "Z
    In backend Pa30 collision works like this
    1) the logical collision, checks if there is an overlap in the validity
    interval of the IT´s (begda, endda).
    2) the physical collision, checks if there is an overlap in the time
    interval of the IT's.
    In the logical collision it is checked if there is an overlap in the
    validity interval if at least one of the records is a full-day
    ( that is the case when you enter a Daily Work Schedule (DWS) )
    So when one of the records has a DWS it is considered to be a full day
    record and the logical collision is taken into consideration.
    If instead you enter the only the time interval manually the records
    are considered to be partial-day and the physical collision is
    performed. In that case only the time interval is important.
    So if the clock times are not entered the physical collision can not
    take place.
    The collision functionality is always based on clock times and dates,
    never on the total nr of hours.
    Edited by: Siddharth Rajora on Sep 21, 2011 4:57 PM

Maybe you are looking for