Making one Pop-up close when another is opened.

I'm working on an application that shows enlarged bits of
text when their smaller counterparts are clicked. The problem I'm
currently having is that I need to make all of the other open
pop-ups close when a new one is opened. I considered adding an
invisible box the size of the stage to each movie clip, but that
would be unbelievably messy, so I'm trying to avoid that solution.
The app in it's current state is here:
http://indigotest.com/flash.html
Please let me know if you have any ideas for a
solution.

So are you saying that the text and pop up are in the same
movieclip?
If so, then that loop function would change to...
function resetMCs(){
for(i=0; i<mcArray.length; i++){
this[mcArray[ i ]].gotoAndStop(1);
(Note: that [ i ] shown has extra spaces inside it so that it
isn't read as an italics tag for this forum... remove them if you
copy the code)
and you would put that function in the timeline where all the
text mc's live, but on a separate actions layer if you don't have
one already (good housekeeping).
The code for your frame 1 button in each text mc would be..
on(release){
_parent.resetMCs();
play();
(Note (again): there may or may not be a timing issue in the
on(release) code since it takes time to move to a frame. So if
things aren't displaying properly, that can be dealt with as well.)
You can still use either looping method I mentioned before...
array (as shown here) or the numbered-names approach shown
earlier.

Similar Messages

  • I have just bought a Macbook Pro and sync data from my old version onto the new one...However when I tried opening the mail client...Message window does not appear.

    I have just bought a Macbook Pro and sync data from my old version onto the new one...However when I tried opening the mail client...Message window does not appear. The old Macbook Pro I was using used Snow Leopard. Now with the new it is a Lion. Toruble now when I click onto new message window I have the spinning icon which show it is trying to load. However it fails and Im left with having to Force Quit it. How can I resolve this problem

    Tunes: 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.  Start iTunes with the option (shift on Windows) key held down and guide it to the new location of the library.
    Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this). Movies currently available in the USA only. Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list (e.g., ringtones), or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.  Apple notes it is your responsibility to back up your purchases.
    Select the store on the left side of iTunes.
    Click on Purchased on the right side under Quick Links.
    You can re-download your available previous purchases.

  • I get the message 'itunes has encountered a problem and needs to close' when trying to open itunes 11.1.1.11. I have had to uninstall itunes so that I could load this version, the PC says it is correctly loaded, but I now cannot open itunes. Advice?

    I get the message 'itunes has encountered a problem and needs to close' when trying to open itunes 11.1.1.11. I had to uninstall itunes so that I could load this version as the update to version 11 kept failing. The PC says 11.1.1.11 is correctly loaded, but I now cannot open itunes. Any advice on how to get itunes working again?

    Hello there, ytnoj.
    Uninstalling and reinstalling iTunes can be a tricky endeavor and must be done in a very specific way. The following Knowledge Base article provides the step-by-step of the process:
    Removing and Reinstalling iTunes and other software components for Windows XP
    https://support.apple.com/kb/HT1925
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • I usually have 3-4 tabs open which I am saving to read later. But I loose them all the time when firefox crashes or when another appliaction opens firefox to download. Is there a way to save my tabs ?

    I usually have 3-4 tabs open which I am saving to read later. But I loose them all the time when firefox crashes or when another appliaction opens firefox to download something and it will discard all my tabs. This is incredibly annoying, is there a way to save my tabs ? or get them back when there is no "restore session" button ?

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Prevent work order business close when there is open PO

    Hello,
    in standard SAP, when the work order have open PO, i will get a warning when i perform business close.  However this is only a warning.  On the warning window, if i click "Complete" option, i still can proceed to close the work order.
    This will cause me headache later if user somehow "accidently" click complete when they should now.
    Is there a way to make this a Error insted of warning or anyway to prevent order business close when the order have open PO.  Basically all i want is to prevent the work order business close when there is open PO.
    Thanks a million.

    There are order where due to urgency, the work is carried out first.  In this case, order is created then work done.  The PO is created later.
    When the PO is created, the cost is not shown as actual cost in order but rather its planned cost.  At this stage, someone can accidentally close the order even the PO is still open.  I understand that if there is cost in the order, CLSD is not possible until settlement is done.
    There is a workaround with CO99 + note 687572 but i wanted to prevent CLSD thru IW32.
    You can try this...
    1. Create a work order with a non-stock item. this will create a PR
    2. (if required) release the PR
    3. create PO from the PR
    Do not perform MIGO.
    4. TECO the work order
    5. perform business close from IW32.
    At the warning window, click "Complete".  You will see the order is CLSD.

  • Making a form field required when another field is selected

    I have a contact form with the usual fields required (name, address, city, etc.). I'm adding a Country pull-down list to the form, which will default to the US being selected. Since a "State" field is not relevant for anyone filling out the form from another country, I'd like to make the State field required only if the country selected is United States, and not required for any other country. Is there a way to do this?
    Thanks,
    R-Co

    What you need is to be able to create a required textfield when the first textfield shows USA and destroy the required field when another country is selected.
    The following may help to understand create and destroy
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Deleting and rebuilding validations</title>
    <link href="http://labs.adobe.com/technologies/spry/widgets/textfieldvalidation/SpryValidationTextFiel d.css" rel="stylesheet">
    </head>
    <body>
    <form id="form1" method="post" action="#">
      <p>
        <input type="radio" name="radio" id="Married" value="Married" onclick="val(this);">
        <label for="Married">Married</label>
      </p>
      <p>
        <input type="radio" name="radio" id="Defacto" value="Defacto" onclick="val(this);">
        <label for="Defacto">Defacto</label>
      </p>
      <p>
        <input type="radio" name="radio" id="Single" value="Single" onclick="val(this);">
        <label for="radio">Single</label>
      </p>
      <hr>
      <span id="sprytextfield1">
        <label for="f_married">Married</label>
        <input name="married" id="f_married" type="text" value="">
        <span class="textfieldRequiredMsg">A value is required.</span>
      </span>
      <span id="sprytextfield2">
        <label for="f_defacto">Defacto</label>
        <input name="defacto" id="f_defacto" type="text" value="">
        <span class="textfieldRequiredMsg">A value is required.</span>
      </span>
      <span id="sprytextfield3">
        <label for="f_single">Single</label>
        <input name="single" id="f_single" type="text" value="">
        <span class="textfieldRequiredMsg">A value is required.</span>
      </span>
      <hr>
      <input type="submit" value="Submit" />
    </form>
    <script src="http://labs.adobe.com/technologies/spry/includes_minified/SpryValidationTextField.js"></script>
    <script>
    var sprytextfield1,
            sprytextfield2,
            sprytextfield3;
    // build validations and delete / destroy them
    function val(e){
        // get the value
        value = e.value;
        // see what radion button we have
        if(value == "Married"){
            // if there inst a validaton build one
            if(!sprytextfield1){
                sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
            // if there is a validaiton in sprytextfield destory it, and clear the variable
            if(sprytextfield2 && sprytextfield2.destroy){
                sprytextfield2.resetClasses();
                sprytextfield2.destroy();
                sprytextfield2 = null;
            // same as the rest
            if(sprytextfield3 && sprytextfield3.destroy){
                sprytextfield3.resetClasses();
                sprytextfield3.destroy();
                sprytextfield3 = null;
        } else if(value == 'Defacto'){
            if(!sprytextfield2){
                sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
            if(sprytextfield1 && sprytextfield1.destroy){
                sprytextfield1.resetClasses();
                sprytextfield1.destroy();
                sprytextfield1 = null;
            if(sprytextfield3 && sprytextfield3.destroy){
                sprytextfield3.resetClasses();
                sprytextfield3.destroy();
                sprytextfield3 = null;
        } else if(value == 'Single'){
            if(!sprytextfield3){
                sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
            if(sprytextfield1 && sprytextfield1.destroy){
                sprytextfield1.resetClasses();
                sprytextfield1.destroy();
                sprytextfield1 = null;
            if(sprytextfield2 && sprytextfield2.destroy){
                sprytextfield2.resetClasses();
                sprytextfield2.destroy();
                sprytextfield2 = null;
        // proceed with the rest as normal
        return true;
    </script>
    </body>
    </html>

  • Can't select items on desktop via finder window when another application opens that finder window

    When another program (like premier pro, or gmail with chrome) opens a finder window (in order to import files, or make attachments), I am unable to select items on my desktop.
    My workaround is to open an independent finder window, add a tag to the file or folder i want to use, then go back to the 'import' window in premier pro, or the attachment window in gmail in chrome, and select the relevant tag in the lefthand column, then select the file or folder in the righthand column. This seems slow and frustrating and unnecessary.
    Is there a really obvious thing I'm missing? Please be merciful, Apple Support Community...

    Hi Sue, if you can navigate in Finder do this:
    navigate to yourhome/library/preferences and trash these two files:
    com.apple.finder.plist
    com.apple.sidebarlists.plist (if this exists in 10.2 - not sure)
    (You will have to reset a few finder prefs the way you like them.)
    Then log out and back in again. Or restart.
    Good luck, let us know.

  • All open windows close when another one is opened

    Running OSX10.6.7
    Recently the window behavior has changed, now when a different active app is selected, all the windows from other active apps become hidden
    if one holds the Option key when selecting a new app or a hidden window in an open one, the new window opens and the old ones remain on screen but not active
    this behavior is new, perhaps coincident with the latest snow leopard update
    I suppose that I may have triggered this change by some accidental combination of key strokes 
    I prefer that the act of opening a new window not affect the other open windows
    is this behavior controlled by a preference pane somewhere, or some combination of key strokes or by one of those programs such as Macpilot or Tinkertool, although I do not recollect deliberately changing anything

    It's a hidden Dock preference. You can change it in TinkerTool, or launch the Terminal application, copy or drag -- don't type -- the following text into the window, and press Return:
    defaults write com.apple.dock single-app NO
    You may have to relaunch the Dock or log out for it to take effect, I'm not sure.

  • I have bookmarks in nested folders. When I close a folder in the folder pane by clicking the '-' sign by its icon, sometimes the whole folder tree collapses to its root, or the one I close closes and another folder opens. How do I fix this?

    I'm using Firefox 4, newly installed on 03/28/11, which seems work noticeably faster than previous versions. This problem has existed for some time with Firefox 3 versions.

    EDIT: Welcome to Apple Discussions. Didn't notice you just joined. In case you don't know the message I left is a "link" just click on it. Sorry to be basic but I don't your level of skills.
    Not totally
    -mj
    [email protected]

  • UCCX Screen Pop doesnt close when call is finished

    UCCX Agents using CAD for a Bank.
    Callers enter their account number and check their balances and other automated things.
    They decide to speak to an agent and press the appropriate digit.
    The call comes to CAD with name, account number, balance, and contact info.
    When the call ends, and even if the agent disables, that screen pop info is still displayed.   Why don’t the previous caller ‘call variables’ disappear when the agent disconnects the call and even goes into a not ready state?
    I am tol this is the Way CAD has always oprated.  You always see the details from the last call you were on, until a new call is answered. 
    Is this normal beghavior and really nothing we can do to have it close upon call disconnect?
    Thanks,
    Steve

    Hi
    The idea would be that the info is still available for the agent to refer to when wrapping up the call and doing whatever work follows on.
    The thinking is presumably that there isn't really any benefit to having it clear when there is nothing to replace it with yet.
    Aaron
    Aaron HarrisonPrincipal Engineer at Logicalis UK
    Please rate helpful posts...

  • Closing one program when another is opened

    I'm tyring to open a program using a jButton, and closing the program from which it was opened. I can open the program using the piece of code below, but the program from which it was opened stays open, leading to too many windows opened at the same time. Here is the code:
    private void jBManualActionPerformed(java.awt.event.ActionEvent evt) {
    new ManualMode().setVisible(true);
    This opens ManualMode() but it also leaves open the window for something called MainMenu. How can I make the window for MainMenu go away?

    robertplant22 wrote:
    I'm tyring to open a program using a jButton, and closing the program from which it was opened. I can open the program using the piece of code below, but the program from which it was opened stays open, leading to too many windows opened at the same time. Here is the code:
    private void jBManualActionPerformed(java.awt.event.ActionEvent evt) {
    new ManualMode().setVisible(true);
    This opens ManualMode() but it also leaves open the window for something called MainMenu. How can I make the window for MainMenu go away?See the dispose() method.

  • LR 2.6 closes when trying to open catalog

    i know my catalog must be corrupt because i can open other catalogs just fine.
    is there anyway to fix the corrupt catlog? is the only option to use the latest backup?

    Have now done what you have suggested Victoria; am downloading a memory card now and, so far, it seems to be working satisfactorily.   I notice that Lr 2 and 4 also have this AGPREFS File; should I therefore delete this one as well, if I purchase LR4.1?   Victoria, do I retick the 'Store Presets with Catelog' again after removing the Agprefs File, or leave it unticked?
    No, it hasn't fixed the problem.  As I am about to import a series of new images, another screen of the previous window suddenly imposes itself on top of the importing window, with the result that everything freezes up, and I can't even close Lr 3.6; Lr also sometimes goes into the 'Not Responding' mode for a while--or a black, blank screen appears for about 10 seconds, and even when the screen reappears I can't do a thing with it.   Its very frustrating, especially when one has many images to import!
    Gavin, I deliberately don't use a card reader anymore as the 'guide rails' for aligning the memory card that I bought are too short, with the result that several of the pins have bent.   I have looked at virtually all the card readers that are available and find that all 'guide rails' are all too short to effectively and adequately align the memory card!   But what advantage does the card reader have over just using the memory card in the camera?   (Note: the guide rails in the D300 camera are much longer, and therefore there is little chance of the card becoming misaligned when inserting it in the camera.)

  • Pop up appears when form is opened?

    I am new to JavaScript and I have the following script that I hope someone can help me with.
    I am using LiveCycle Designer 7.0 from Acrobat Professional. I am trying to validate the entry in a test field. I want to make sure that the four digit year is not less than the current year and can be a year in the future.
    My problem is when the form is opened in Reader the alert box pops up before the actual form. When I key in the field the validation seems to be working. What do I need to do to stop the alert from showing when the form is first opened?
    ----- form1.Alabama.Yr::validate - (JavaScript, client) -------------------
    var today = new Date();
    var year = today.getFullYear();
    if (this.rawValue === year || this.rawValue < year)
    app.alert("Year is not correct.");
    Yr.rawValue = null;
    Much thanks in advance.

    Hélène-
    Thanks for the detail regarding validation script, but I still am having a problem with it.
    I have tried what you told me (remove reset the value) the popup no longer appears when the form is opened. But the validation does not seen to be working. It is not working either in the validate or exit event. This is what I have now on that text field.
    ----- form1.#subform[0].Y::exit - (JavaScript, client) ---------------------------------------------
    //Verify year is current or year+1
    var today = new Date();
    var year = today.getFullYear();
    if (this.rawValue == year || this.rawValue == year+1)
    app.alert("Year is invalid.\n\nOnly current or next year is valid.");
    ----- form1.#subform[0].Y::validate - (JavaScript, client) -----------------------------------------
    //Final verification
    ScriptObject.ValidateField(event.target, this);
    This final verification script I have taken from the samples on the
    LiveCycle Developer Center (Validating field content in a form hosted in Adobe Acrobat).
    The alert only displays when 2007 or 2008 is entered. I am really confused now. I thought I had a handle on this with your explanation.
    I do not know where to go now. The Object Pallet is setup as:
    Field Tab
    Allow Plain Text Only and Limit Length are checked with a Max Chars: 4. Edit Pattern: 99999
    Value Tab
    Type: User Entered - Required
    Validation Pattern: 9999
    Validation Script Message is checked - in Message box Invalid Year.
    Binding Tab
    Default Binding: Normal
    Data Format: Plain Text
    I am hoping that you can explain what I have wrong.
    Thanks so much,
    Confused Nancy

  • The program closes when trying to open "Dreamweaver CC"

    Hi, download the shareware dreamweaver CC and I can not use it, because the image load when I try to open the program but after a while appears an error window appears and the program closes ...
    My PC:
    Windows 7 ultimate 32bit Service pack 1
    Intel i5 2405S 2.50GHz
    4 gb RAM
    500gb Hard drive
    Nvidia GeForce GT 430
    Hola, descarge el dreamweaver CC version de prueba y no puedo usarlo, porque cuando intento abrirlo aparece la imagen de carga del programa pero al rato aparece una ventana de error y se cierra el programa...
    Mi PC:
    Windows 7 ultimate 32bit Service pack 1
    Intel i5 2405S 2.50Ghz
    4 gb RAM
    500gb de Disco duro
    Nvidia GeForce GT 430

    Hi FussKi,
    Can you please try the steps mentioned below:
    Uninstall Dreamweaver CC
    Restart your system
    Download Adobe Creative Cloud desktop application and install it on your system (you will need to sign in with your Adobe ID in the process)
    Install Dreamweaver CC from Creative Cloud desktop application
    Now try to launch Dreamweaver CC
    Also, please follow the steps mentioned below to obtain the crash dumps/logs on your Windows machine:
    Launch “Registry Editor” (regedit.exe)
    Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting
    Create a new registry key “LocalDumps” (without the quotes)
    Add two registry values under “LocalDumps” as follows:
    Name: DumpFolder | Type: REG_EXPAND_SZ | Data: %LOCALAPPDATA%\CrashDumps
    Name: DumpType | Type: REG_DWORD | Data: 1
    When the application crashes you will find the crash dump at <BootDrive>:\Users\<UserName>\AppData\Local\CrashDumps
    Please collect the crash dump and share it with us as an attachment (zipped file – .zip). This will help us analyze the report and fix it for you.
    Please let us know.
    Thanks,
    Arindam Ghosh

  • Reader X freezes and closes when PDF is opened

    Every time I open a PDF it freezes after about 6 seconds and closes.  The problem detail box shows this:
    Problem signature:
      Problem Event Name:    InPageError
      Error Status Code:    c0000185
      Faulting Media Type:    00000003
      OS Version:    6.1.7601.2.1.0.768.3
      Locale ID:    1033
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789
    I have Windows 7.Home Premium, Service Pack 1.  This problem began about a month or so ago. I have tried the trouble shooter and it says I have a compatibility problem but does not offer a fix.  AARRGH!  I saw a thread about this but now I can't find it again.  It said to change a preference setting but Reader freezes and closes before I can change any settings.  There was mention of a registry key but that is over my head.  =(

    What is your Reader version?
    Can you open Adobe Reader by itself?  If so, try disabling Protected Mode [Edit | Preferences | Security (Enhanced)].

Maybe you are looking for

  • Silverlight 4 update is not working with Firefox 6.0 (OSX 10.5.8)

    I've been trying to install the silverlight 4 plugin, but it doesn't seem to be working with my current version of Firefox (6.0). I've repeatedly attempted to install the silverlight 4 plugin, but each time I go to check and see what version of silve

  • Help with date format and sql

    Hi I am a complete oracle idiot. I have created a table with 2 columns po_id,po_date. Yhe id data type is number,date type is date. To add values to the table i enter something like "insert into purchase_orders(po_id,po_date) values(1,01/01/2004)" It

  • Exclude a table from GATHER SCHEMA STATISTICS

    Hello All, How do you exclude a table from gather schema statistcs? Thanks. Gregg

  • Login screen appears - sometimes...

    Has anyone had 'issues' with the login security feature on OS X. I have macbook air 13" ssd and have set the login to appear after 1 hour asleep, for some reason. I find instant security is difficult to use as I am happy that the machine is 'relaxed'

  • Version Management in SAMRTFORMS???

    Hi Experts, As like in SE38 Report Prog.s, Do we have the Version Management feature in SMARTFORMS? Am enhanced my_smartform and Transported to TEST system. But, bcoz of some reason, I wanna retrieve the Version, which is existing, before am editing