Trying to create an input dialog box, that will halt execution

I am trying to get a pop up dialog box to appear where the user will enter their name, after clicking OK or Cancel, i would like the code to continue executing.  For example when i use the Alert.show("1");Alert.show("2");Alert.show("3");  it appears as 3,2,1. Is it possible to fire one alter at a time AFTER the user has clicked Ok.
Back to the originial question.
I am setting up a Pop up menu
var ret:String;
var Dialog:SimpleTitleWindowExample =SimpleTitleWindowExample(PopUpManager.createPopUp( this, SimpleTitleWindowExample , true));
ret = Dialog.Input      //where input is just a public text for example
return ret;
^returns null.
I was hoping it would wait until  it was closed to continue. I thought it would by setting the modal = true
Essentially I'm asking is there a way to halt execution until the user inputs some text? Doesn't have to utilize the PopUpManager.
Please help. I've spent 4 hours trying to tackle this.  I even tried to do a DoEvent (Visual Studio) type loop until the button was clicked or variable was no longer blank.

I think you may alternately be able to listen for the removedFromStage event and react to that. In any case, you need some way of reacting to SampleTitleWindow closing (via an event listener), and only then trigger the next pop-up.

Similar Messages

  • I am trying to create a button in flash that will display 4 separate images at the same time when clicked.  I can't get the images to stay on when I take the mouse of the button.  I need the actions script code to make this happen.

    I am trying to create a button in flash that will allow the user to click on the button and 4 separate images show up at the same time.  I can get the images to appear when I click the button but they will not stay on the screen.  I need to know what code I use to make the images stay once the button is clicked, then I need to know exactly where I place that code.  It does not appear to be possible to add the action code to the buttons layer since each time I add a new layer I just get another "up" "over" "down" and "hit" line.
    Thank you in advance
    AP

    It is not clear how you are trying to realize this from your description.  If you are trying to create this within a button symbol it will not work.  Explain your approach and if there is code involved, show what you have so far.

  • Received a dialog box that said "Someone might be trying to steal your data by tricking your time machine to backup"

    Received a dialog box that said something like, "Since your time machine has changed, someone may be trying to steal your data through time machine backup". Help?

    Remote access security on the TC is pretty good, as long as you do not use default password.. and do use WPA2 Personal wireless security with a decent length password.
    Did you change something .. so that TM was forced to backup to what is apparently a different location. If so that has generated this error message.. which is rather a strange one.
    The security on the TC itself is a short press of the reset button and it all flies away. So if someone in your household has physical access to the TC your backups can be accessed with ease. If you are concerned encrypt your backup in Time Machine.

  • Possible alternative to input dialog box

    The program I'm creating would like to utilize the functionality of an input dialog box, however, I would like for the input dialog box to return a group of values instead of just one. As far as I can tell, the input dialog box can return a single String based an a group of values that I supply. However, the program I use would want the user to be able to select several of those values. Is there a way to have the input dialog box return a String[]? Perhaps there is another option that I'm not really aware of that can mimic the input dialog box functionality?

    Hi,
    You might create some complex JComponent (a JPanel containing lots of check boxes and text fields etc). Use that component as a message. Then, when the user clicks the OK button, investigate your complex component for all its values.
    Piet

  • HT201628 I can't get the new version of iTunes to download, I keep getting a dialog box that "Apple Mobile Device" failed to start and asks me to verify that I have sufficient priveleges. How do I fix this?

    I tried to install the new version of iTunes days ago. It seems like it's going to install and then it comes up with a dialog box that says "Apple Mobile Device" failed to start and to verify I have sufficient priveleges. I don't know what I need to do to get it to install.

    It seems like it's going to install and then it comes up with a dialog box that says "Apple Mobile Device" failed to start and to verify I have sufficient priveleges.
    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • How do I upgrade Adobe reader - currentlyevery time I try to download a PDf file on my macpro I get a grey screen  and a dialog box that says adobe reader is blocked for this website...

    Help - a couple of weeks ago I tried up upgrade adobe reader but it never completed loading as far as I can find / that night would never finish
    ( how would I know , where would I check?)
    now every time I need to download a PDF file ( dental claim forms tonight) I get a grey screen with a dialog box that says Adobe reader blocked for this site
    and that happens on any site where I am trying to download a PDF…?

    What is your operating system?  Reader version?  Downloading from what browser?

  • I have a 3GS. The iPod on the phone has made duplicates of some songs. I've tried using the "get info" dialog box to set all the information the same but the dups are still there. Even after erasing all music with iTunes they are still there.

    I have a 3GS. The iPod on the phone has made duplicates of some songs. I’ve tried using the “get info” dialog box to set all the information the same but the dups are still there. Even after erasing all music with iTunes, iTunes is empty but they are still on the phone.

    Some Users have reported that a Restore as New  has Resolved Issues after the Upgrade...
    Backup and Set Up as New Device
    http://support.apple.com/kb/HT4137

  • Create Application system Dialog box poping up when ever designer is invoked, Then...

    Hi,
    we had recently installed designer in our systems but when we invoke designer we got Create Application system Dialog box poping up , Then when i give an application name the following error comes up
    RME-00011 Operation INS on CI_APPLICATION_SYSTEMS has failed
    RME-02124 Failed to execute Sql Statement
    begin
    errcnt := rmmes.getsize;
    rmmes.getall (:errutil,:errcode,:err1,:err2,:err3,:err4,:e rr5,:err6,:err7);
    end;
    RME-02105 Oracle error occurred
    ORA-06512 Line 157 in repos_user.rmmes
    ora-06512 at line 3
    ora-01403 No Data Found
    Please check for these errors and if possible mail your replies to the following email : [email protected]
    ASASP
    Thanking in advance
    Chan

    Hi Timo.
    In my application all the navigation rules are defined in faces-config.xml.
    But I found following statement in the "fusion developers guide"
    '**You cannot specify dialog:syntax in navigation rules within the faces-config.xml file if your Fusion web application uses ADF Controller features such as task flows. However, you can use the dialog:syntax in the control flow rules that you specify in the adfc-config.xml file.**'
    Since, my application is using faces-config.xml for defining navigation rules and using task-flow as well, I suspect , this is the root of my problem.
    Do u have any solution for it?
    Thanks
    Vikas

  • When I open a pdf in Adobe Acrobat xi pro it is not displaying correctly. If a file is all black with orange writing, I will see only the orange writing. Its not until i print it or open crop pages dialog box that i see the background. i am on a Windows 7

    When I open a pdf in Adobe Acrobat xi pro it is not displaying correctly. If a file is all black with orange writing, I will see only the orange writing. Its not until i print it or open crop pages dialog box that i see the background.
    i am on a Windows 7 professional PC, 64-bit.

    If anyone is reading this still looking for what caused the issue and how to fix it here is what I discovered.
    The antivirus program our company uses, Bitdefender Antivirus Plus, was causing some of the PDF files not to open. After troubleshooting the different modules and settings the culprit was..
    Scan SSL in Privacy Control Settings. Turning it OFF solved the problem and all the PDF files that previously would not open now open just fine. This issue has been sent to Bitdefender for them to review. If you use a different antivirus program and are having this issue try locating the Scan SSL setting and see if turning it off solves the problem.

  • How do I get rid of a dialog box that keeps coming back even though I press Cancel?

    How do I get rid of a dialog box that keeps coming back even though I press Cancel?

    I was looking up Olympic stats on  Norwegian website, and must have inadvertently clicked a link. The dialog box says: "There is no application set to open the URL nasjoner:2"
    It goes on to tell me to search the App Store , choose an application, or cancel.

  • How can I get past dialog box that wants my country/region?  Premiere Elements 13 will not open!!!

    Cannot get past the country/region dialog box because the list will not allow me to select the United States as the place where I live.  The list is too long and no way to get to the bottom to select the United States!!!  I can't get into Premiere Element 13.

    TNDOGGER888
    Thank you for the reply.
    Let us start with
    1. Is the computer operating system Windows 7, 8, or 8.1 64 bit? If it is and you are installing Premiere Elements 13, then the program files will go by default to Local Disk C/Program Files/Adobe/Adobe Premiere Elements 13 as the default location. If you have a computer that is using other than Windows 7, 8, or 8.1 64 bit, then it will not. Another question is, when your drives were set up, was the SSD drive designated the C drive?
    2. From what you wrote, I understood that you were using your installation files or installation disc to install the program, but were getting stopped very early in the installation process because you could not set the country/language. Typically that setting is done while you are starting the installation. One of the early dialog boxes that you get in that process is named Choose Setup Language (or something like that). That is where I believed you could not set the country/language. Is that the place to which you were referring or some place else?
    3. You do not need to uninstall Premiere Elements 10 to install and run Premiere Elements 13. Just use one program at a time.
    Typically 32 bit applications in a 64 bit computer operating system run in the 32 bit compatibility mode of the 64 bit system. And, these 32 bit applications program files will be in Program Files (x86) Folder. The 64 bit applications program files would be in Program Files. With regard to Premiere Elements 10, some of its files may be found in Program Files and Program Files (x86).
    But, the main focus now is getting Premiere Elements 13 installed to the default location on the Local Disk C/Program Files/Adobe/Adobe Premiere Elements 13 during the installation process after you designate the country/language and are given a country dependent NTSC or PAL system with which to work.
    From a quick look at 13 installation on Windows 7 64 bit, the first installation dialog that mentions language with country implications is
    This is for Premiere Elements 13 on Windows 7 or 8.1 64 bit. Since you say that the United States is further down the list in your case, I suspect this is not the place where you are having problems. Note the default location in this Options dialog. Did you leave that as is or change it to something else?
    Are you having these issues when you get to the Sign In dialog or some place else?
    Please consider and then let us decide what next.
    Many thanks for the follow up. Appreciated.
    ATR

  • Recently installed OSX 10.8.2 and found that there was NO ~/Library and when I tried to create one I was told that it already exists.

    Recently installed OSX 10.8.2 and found that there was NO ~/Library and when I tried to create one I was told that it already exists.
    Does anyone know why ?

    It's hidden. Choose Go to Folder from the Finder's Go menu and supply that path to access it.
    (71284)

  • Input Dialog box

    how to get value from Input dialog box?

    --String input=JOptionPane.showInputDialog(null, "Enter a String: ", "Input Dialog", 1);
              System.out.println ("You inputted: "+input);

  • ITunes keeps popping up a dialog box that says "An update to the carrier settings for your iPhone is available. Would you like to download it?" What is this?

    iTunes keeps popping up a dialog box that says "An update to the carrier settings for your iPhone is available. Would you like to download it?" What is this? When I click on the "Learn More" button in the dialog box it takes me to a generic iTunes support page that has no relevance to carrier settings.

    I got this three times within the last 4 hours and have been getting it almost every day since I use my new iPhone 6 - over a week now. This happens almost every time I connect the phone to my MacBook Pro, although every time I confirm and it indicates successful update.
    It is highly unlikely that my carrier updates settings on daily basis or three times a day. It is almost surely a bug in the Apple system and anything but a timely and effective solution is unacceptable.
    For debugging information, I recovered a backup from my former iPhone 5 onto the new one, using the same carrier and SIM.

  • I have a box that will not go away, it says,  "To open JavaApplication, you need to install a Java SE 6 runtime.  Would you like to check for and install one?  If i push not now, it keeps popping up, if I push install, it says it's not available, help.

    I have a dialogue box that will not go away and it seems to have started when I upgraded to Mt. Lion.  the box says, "To open JavaApplication, you need to install a Java 6 SE runtime.  Would you like to check for and install one?  (smaller print)  Note: Usw of this software is subject to the Software License Agreement applicable to the software you are downloading.  A list of Apple SLAs may be found here: htp://www.apple.com/legal/sla/
    Finally there are two boxes to click.  One says not now.  If I click on that the box goes away for 2 to 3 seconds and then pops back up and WILL NOT go away.  If I click on the second box, Install, it says  The software is currently unavailable.  To install a Java SE 6 runtime later, open Java Application again.
    My confusion here is that I have no idea what the java application is, When I click "okay" on that box, the original box pops us again and WILL NOT go away. CGoing to the apple lega web site was no help.  My solution so far has been to drag the dialogue box as far to the lower right and out of the way as far as I can.  Help.

    Does this happen immediately after you log in? If so, one of your login items is probably causing it.

Maybe you are looking for