How to make a function to wait for a closed window.

I have a method with a few linecodes. At the center of the lines has a comand where to open a windows in certain situations. Something like this:


comand1;
comand2;
comand3;
{if (bShowWarnings)}
PopUpManager.addPopUp (f_war, this, true);
PopUpManager.centerPopUp (f_war);
}
comand4;
comand5;

I want orders 4 and 5 to be executable that after the "f_war" be closed. (At least when the f_war is modal). I can't put these lines inside of the 'f_war' because sometimes this window are not shown. How can I do this?

Thank you.

f_war.addEventListner(CloseEvent.CLOSE, doSomething);

Tags: Flex

Similar Questions

  • How to make multi-function devices under linux (composite) in windows

    I was able to compile my Linux machine to a composite widget. (Series + mass storage)

    When I plug the unit on a Linux PC, the operating system was able to detect and use the two functions. But when I plug it into Windows, it is just detected as a "Gadget Composite multifunction" and I can't use it as either a mass storage or a device series.

    How can I do to make this work in Windows. Deploys a really essential custom driver for this task? If so, how this is achieved the way less "painful"?

    Hello

    Thank you for keeping us posted.

    I would have you post here for assistance more.

    http://social.technet.Microsoft.com/forums/en-us/home?category=w7itpro

    Let us know if you any query concerning Windows.

  • How to make a receipt from Adobe for my CFO?

    How to make a receipt from Adobe for my CFO?

    Other Adobe customers use these directions to provide acceptable documents to their CFOs.

    Receptions never go out in the world of the Australian company where I work. Proof of billing (of Adobe) and payment (by you) may be all you need.

    Have you asked your chief financial officer if the invoice of available through these directions Adobe is sufficient for its purposes?

  • What is the procedure how to make my system image backup and data through Windows NAS Server?

    I work the iMac with bootcamp for Windows 7 - Home Premium.

    I want to return to the system image and data etc. of the 'Windows Back up and Restore' to my Synology NAS (network attached storage). When I do the setting changes, I could not find the option to connect to the NAS, but have only the offer to connect to the external hard drive.

    (1) the 'Windows Back up and Restore' allows to connect to the NAS for the back of my files, in particular for the iamge system? If not, any other method to make the back upward, especially for the system image?

    (2) what is the procedure how to make my system image backup and data through Windows NAS Server?

    Original title: save the Windows image

    Backup to a network location is not supported by Windows 7 Home Premium. Do you need Windows 7 Professional or ultimate edition.

    http://Windows.Microsoft.com/en-GB/Windows7/where-should-i-save-my-backup

  • Windows 7 poster waiting for the host window for spot on the restart or shutdown

    Every time I have shut down or restart my computer, I get a screen that says "Waiting for task host window" I tried to clean the registry, I did a chkdsk, I ran sfc/scannow several times now and this issue will not go away.  I am running Windows 7 64-bit with 4 GB of ram. I also tried to apply the patch, but I always get "this update is not applicable to your computer."

    Hello

    Thanks for posting your question on the forum of the Microsoft community.

    I would like to know some information about the problem so that we can help you better.

    1. have you done any hardware or software changes to your computer recently?
    2. What is the brand and model of your computer?

    'The Taskhost' is a generic process, which acts as a host for the processes that run "DLLs" rather than "Exe". Starts, it checks the registry services part to build a list of the DLL-based services it needs to load, then load them.

    I suggest you try using the steps in this Microsoft support article and check if it helps.
    Reference:
    Why my computer won't turn on or off quickly?
    http://Windows.Microsoft.com/en-us/Windows/computer-wont-turn-on-off-quickly#1TC=Windows-7

    In addition, you can view the details on the performance of the computer of the Task Manager.
    Reference:
    See details about your computer's performance using Task Manager
    http://Windows.Microsoft.com/en-us/Windows7/see-details-about-your-computers-performance-using-Task-Manager

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • How to make a link to open it in another window?

    How to make a link to open it in another window? I ticked the box in the hyperlink box, but nothing happens when I click on the link in the preview. The link works when I uncheck the box, but I want to open it in a separate window.

    Hello

    The link may not work in preview (when the option to open the link in a new tab is checked) however this will work if you do a file > preview page/site in the browser.

    Overview of Muse has only a single tab and impossible to open a tab/window, this is why this feature doesn't work in preview of Muse. but works in preview in the browser and in the published site.

    Kind regards
    Sachin

  • Qosmio G30-149: how to make partion on HARD drive for installation Qosmio Player

    Who can help... How to make partion on the new HARD disk for installation of QosmioPalayer of restore CD?

    Details: Qosmio G30 - 149, I've changed my disks hard two 100/100 for hard drives 320/320 and now in train to install QosmioPlayer.
    I tried a few ways to make partion.

    At the end and at the beginning of the 1st disk HARD, 2nd HARD drive.
    But all the time I was following the fault: "the recovery is not supported on this system.

    Please, who knows what to do?

    Wait a minute;

    I wonder about this error message:
    + "The recovery is not supported on this system." + "

    Are you using the original recovery of Toshiba CD (DVD) that were shipped with this laptop?

    Please note that you can only use the CD that have been designed especially for you, notebook series!

  • How to make a VI execution wait until another ends

    Hi all

    I read the help of labview for synchronization functions, but I'm still confused on how to do this simple task. I have a labview program that connects to a DSP by serial (RS232). I use reading VISA and VISA write to read and write to the device. My goal is to first write, wait until the write is complete, then wait for, say, 100 ms (as he is assured that all data has been sent correctly) and then perform the read operation.

    At the moment I have VISA Write connected to VISA reading through the error out-to-error in thread. However, I'm not sure that they perform one after the other correctly, so I would like to implement a more robust synchronization.

    Thank you very much in advance


  • How you uninstall printers that are waiting for jobs left?

    Printers have been placed offline sort, but are waiting for print jobs. Try to uninstall them so that restarting windows can reinstall them.

    Hello

    1. for how long are you facing this problem?

    2. don't you make changes before this problem?

    I suggest you to perform printer troubleshooting.

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-printer-problems

    To uninstall the printer.

    http://Windows.Microsoft.com/en-us/Windows-Vista/uninstall-or-change-a-program

    Check out this link below to install the printer drivers.

    Find and install printer drivers

    http://Windows.Microsoft.com/en-us/Windows-Vista/find-and-install-printer-drivers

    Note: If there is no pending jobs, he had to be cancelled from the system tray and then you can proceed to uninstall it.

    If the above does not work, then try to uninstall programs and features and uninstall it will ask you to remove or delete pending tasks available in the status bar.

  • How to make boxes to the letters for my alias iCloud in Mac Mail

    How to make mailboxes mailbox for my alias iCloud in Mac Mail?

    I have just set up my e-mail address of iCloud for the first time.  I had an Apple account for many years, but had not hitherto iCloud email address.  After that, Mac Mail automatically created an Inbox and an Outbox called, "iCloud" in the Mac Mail.

    Following the instructions I found online from Apple, I created an alias.  I would like to create the mailbox for the alias. How can I do this?

    Because it cannot be changed or deleted, I won't use my "main" iCloud address email for anything whatsoever.  Everything will be done by one or two aliases.

    Thank you for helping.

    You can create a folder for iCloud in the same way, when you create folders for any of your e-mail accounts. However, I suspect that you hope to create an Inbox specially for your alias addresses, which you can not do so. Aliases are aliases for your primary address, they are not different addresses, as such mail to your iCloud address and it's aliases are all moving in the same Inbox.

    What you can do is create a folder for mail addressed to your alias and create a rule to move relevant mail in the Inbox in this folder.

  • How to make a copy of Win7 for my Australian Satellite A500?

    How to make a copy of windows 7 to go on my Satellite A500 I need to reinstall?

    Hello

    If you are looking for your original A500 recovery image you can order the original recovery disk.
    Please visit https://backupmedia.toshiba.eu

  • How to make a basic disk Installation for Windows Vista Home Edition

    I am the 3rd owner of a Dell Latitude D410. I tried to update Windows and I get the error message (80073712). I have searched for and realize that I have to reinstall Windows because of corrupted files. The second owner has never had the installation disc and the original owner could not be found. How to make a record?  Thank you for your help.

    Hello

    you do not have to reinstall vista; you need to do a repair of your error code installation

    read this; There are 3 ways to solve this error code a repiar install being the last

    Error message when you try to install updates on the Microsoft Update or Windows Update Web site: "0 x 80073712".

    http://support.Microsoft.com/kb/957310

    and if necessary here is how to do a repair installation upgrade

    You may have to borrow a Microsoft dvd vista not an acer, HP etc. recovery disk and do a repair installation

    read the below tutorial on how to perform a repair installation

    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    and in regards to a relocation complete your operating system if you go to this path:

    Contact the computer manufacturer and ask them to send you to vista recovery disks to reinstall the operating system back as it was when you bought it

    they do it for a nominal cost of $

    http://support.Dell.com/

    and if you find that you have a recovery partition following the Dell information on the link below to reinstall:

    http://supportapj.Dell.com/support/topics/global.aspx/support/DSN/en/document?journalid=67E9C215C4BABD6CE040AE0AB5E14F05&docid=336966

    or borrow a vista microsoft dvd; not a HP, Acer recovery disk etc

    Make sure that you borrow the correct 32-bit or 64-bit microsoft dvd to your computer

    they contain all versions of vista

    This is the product key that determines which version of vista is installed

    http://www.theeldergeek.com/Vista/vista_clean_installation.html

    How to replace Microsoft software or hardware, order service packs and replace product manuals

    http://support.Microsoft.com/kb/326246

  • How to make a background music place for some slides (without interruption)

    Version: Captivate 8

    Type: E Learning

    Slides: 40

    Question: Background music plays on all the slides instead of just the slides 10-35

    Things, I tried: Assignment of music to an unseen object (does not work because the music is cut when the blade stops for user input)

    Thank you all for your help in advance. For the problem, I created an interactive game in other slides module where the user has to make choices, these choices will have users to another branch of the slide according to this choice. This section of the lesson is all grouped. It would be so easy to add background music using the native tools in captivate, but there is no way of knowing don't Captivate Slides for listening to music.

    The assignment of the music to an invisible object causes music to be cut when waiting for the user to input and will be choppy sound when users need forward and backward between the menus.

    Is it possible to do this? I thought there might be a way to get a timestamp of the last slide and use it in a script to tell what part of the file music to start playing, but that seems to be more work than what is actually needed (and I'm not good with javascript)

    Is it somehow a way to tell Captivate all just when to start playback of a sound and when you stop, any slide is surfed to?

    If someone has understood this point, I'd greatly appreciate the help.

    Please let me know if additional information is necessary

    The only control that exists for the background music is to stop him on some slides. Maybe this will be the simplest workflow: Insert background music, set it to loop and mark all of the slides where he shouldn't play?

  • How to make Mini Bridge in 2015 for CC?

    I just installed bridge CC, but I do not have available in 2015 CC of Mini Bridge. How to make Mini Bridge?

    Mini Bridge was made from CC 2014. See here: Mini Bridge, Kuler, Exchange missing in Photoshop CC 2014

    This is the kind of a workaround: Adobe Mini Bridge work around for Photoshop CC 2014 - YouTube

    Benjamin

  • How to make a slide to wait until the user has answered a question correctly, even after activation of a smartshape?

    Background:

    I created a questionnaire in which the user must answer each question correctly before to proceed to the next slide. That's what I did:


    • Set preferences Settings > required > respond to everything - the user must answer each question to continue
    • Set the number of attempts at the level of the question to infinity
    • Made the Next invisible button and disabled the PlayBar

    In this way, the user can proceed to the next slide in the issue with the submission process - and, since attempts are endless, this means that after having answered the question correctly.

    Current objective:

    I want the user to be able to click on a prompt for a hint. To configure this, I did the following:

    • Created a smartshape titled 'click_for_hint' to display the text that says: "click here for a tip.
    • Created a smartshape labelled 'hint' text display
    • Show "hint" success value "click_for_hint".

    Now, when the user clicks on the text that says: "Click here for a hint," the suspicion appears. So it works - great! However, once the indicator is activated, I would like to for the user to continue endless attempts until respondent correctly to the question... and then only after answering correctly, proceed to the next slide.

    The problem:

    If the user has submitted one or more wrong answers, and then activates the indicator, the slide just waiting until the user has answered the question correctly. Instead, it will be set in playing, proceeding to the next slide. I tried the smartshape 'hint' to take a break on the success of adjustment, but it does not work.

    Is there a way to make the slide to wait until the answer to the question correctly before moving on to the next slide, even after the indicator has been activated?

    Are you aware that your required parameter can cause problems, the blocking of the user? It is also completely useless because you have unlimited attempts at the level of the issue and hid the next button (hope, you don't need review, otherwise, I would recommend not to hide this button but slide it under the Clear key: the Question slides in Captivate - Captivate blog)

    The index problem is related to the fact that a simple gesture going out of reading. I would like to see the timeline of the slide, to compare the points of suspension form and the question slide button. And maybe this blog can also clarify difference between simple/advanced: Why choose Standard Simple action?-Captivate blog

    Regarding the buttons on question slides form: buttons on slides of Question/Score of Captivate 6?-Captivate blog

Maybe you are looking for