How do I forget popups every time it's closed?

I tried using this:
on closeWindow
window(2).forget()
end
in the Director file of the pop up and it works if only one
pop up is opened at a time, but when multiple pop ups exist then it
will forget the 2nd popup that is opened. Is there a way to tell
the popup that has just been closed to forget itself?

> on closeWindow
> window(2).forget()
> end
You can use 'the activeWindow' to target the window in which
your code
is currently running:
on closeWindow
(the activeWindow).forget()
end
However, as Dave suggests this will eventually cause a crash
since you
are removing from RAM the file that is currently executing.
I use a parent script/child object and a timeout object
scoped to the
stage window to forget windows "safely":
-- parent script: window.closer.class
-- example usage (#movie script handler):
--on closeWindow
-- t =
script("window.closer.class").new(_player.activeWindow)
--end
property pWindow
on new me, aWindow
pWindow = aWindow
pWindow.forget()
t = window("stage").movie.timeOut().new(string(me), -1,
#mClose, me)
end
on mClose me, aTimer
aTimer.forget()
end

Similar Messages

  • Help, my Safari browser has been acting super strange.  It keeps changing my default browser from Google to Only Search, and my search bar will only search on Yahoo no matter what I do.  On top of that I get MacKeeper popups every time I click a link

    Help, my Safari browser has been acting super strange lately!  It keeps changing my default browser automatically from Google to Only Search (if you use the search engine Only Search it takes you to Yahoo.com).  My search bar will only search on Yahoo no matter what I do to make it Google.  On top of that I get MacKeeper popups every time I click on a link.  What is worn with my computer and how do I fix it?!

    There is no need to download anything to solve this problem. You may have installed a variant of the "VSearch" ad-injection malware.
    Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination  command-C:
    /Library/LaunchDaemons
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder named "LaunchDaemons" may open. Look inside it for a file with a name of the form
              com.something.daemon.plist
    Here something is a variable word, which can be different in each case. It could be "cloud," "dot," "highway," "submarine," "trusteddownloads," or pretty much anything else.
    There may also be a file named
               com.something.helper.plist
    in the same folder.
    If you find files with names that fit the above description, post what you have for "something."

  • How do I combine files, every time I click on the link "combine files", the answer I receive is a suscription window, I already have a monthly suscription!

    How do I combine files, every time I click on the link "combine files", the answer I receive is a suscription window, I already have a monthly suscription!

    A quick alternative to email.
    Copy the files onto a USB drive. Make sure that "Ignore permissions on this drive" is set. (Get Info on the drive from Finder).
    Then copy them from the drive to the destination user account.
    Cheers,
    Rodney

  • How do I prevent the itunes store coming up as a popup every time I open i tunes?

    How do I prevent the i tunes store appearing as a popup each time I open i tunes?  I rarely download and this is an unwanted step.  Thanks

    Open System Preferences, go to Accounts (or Users and Groups if you're on 10.7), click Login Options, change Automatic Login to the name of your account. You will have to authenticate with your password. If all the boxes are greyed out, click the padlock first to unlock the screen.
    Matt

  • How to reduce Notification popup display time?

    I have Notifiation center set to show banners.  When I get a notification, an alert (pop up) appears in the upper right of the screen.  The alert hangs around for a while.  Seems like every time one of these displays, I need access to the area it is covering.  But I have to wait for the popup to hide.
    Is there a way to reduce the time that these alerts are visible?
    Also, is it possible to have notifications cleared out after x number of days?

    Hi 4thSpace,
    The information below explains all of the available options for Notifications.
    Mac Basics: Notification Center
    You have the option of reducing the number of notifications you receive to 5 or 1.
    You can't control how long the notification is on your screen, but you do have the ability to dismiss it:
    Tip: To dismiss an Alert or Banner without interacting with it, place the cursor over the banner and use a two finger swipe to the right.
    I hope this information helps ...
    - Judy

  • Annoying MobileMe popup every time iWeb is launched!

    Hey all,
    Recently did an "Erase and Install" of Leopard and my iApps... inserted my backup Domain file into /Library/Application Support/iWeb, and launch iWeb for the first time. Get a popup saying "Try MobileMe for free!". I hit "No Thanks" every time, but it comes back every time I open iWeb! Switching domain files doesn't work... This does NOT happen when signed into a MobileMe account, and is reproducable (it happened to several Apple Product Experts I spoke to, after they signed out of MobileMe)... any ideas on how to get rid of this?
    side note, this didn't happen before my reinstall...
    Thanks!

    Try using Pref Setter to open the iWeb preference file. Once you have it opened search for "dismissDotMacUpsellWindow". You'll see this:
    Click to view full size
    OT

  • How to remove this error every time in extraction

    Dear folks,,
    I have a difficulties in extraction .. Could you share to me how to remove this error please .. ??
    In one ODS: Quotation (Fetching the data from CRM), it always raise up the error every time do an extraction ..
    The message error is like this:
    Runtime Errors     :    MESSAGE_TYPE_X
    Error analysis                                                             
    Short text of error message:                                           
    Req. 0000508314 in DataStore ZCRMQUTO must have QM status green before it is activated
    Another Clues:
    SY-TITLE : CPIC and RFC Control     
    SY-MSGTY : X                        
    SY-MSGID : RSM1                     
    SY-MSGNO : 110                      
    SY-MSGV1 : 0000508314               
    SY-MSGV2 : ZCRMQUTO                 
    SY-MODNO : 0                        
    SY-DATUM : 20080116                 
    SY-UZEIT : 083744                   
    SY-XPROG : SAPLRSSM                 
    SY-XFORM : RSSM_MON_START_2ND_PROCESS
    My Questions are :
    1. Do you ever have the problem like this ??
    2. Do you know the problem regarding CPIC & RFC Control, is that any correlation with RFC/Connection to CRM.
    3. Do you know regarding the message error: RSSM_MON_START_2ND_PROCESS
    Need really your guidance and response..
    Regards,
    Niel..
    will appreciate any response ..

    Hi,
    Just try this.
    As per the error message "Req. 0000508314 in DataStore ZCRMQUTO must have QM status green before it is activated" there is a request(0000508314) in red/yellow status in the ODS (ZCRMQUTO).
    This error normally occurs while activation of ODS/DSO.
    Activation may fail saying that there is a request with status other than green in target. Ideally system expects to activate a green request. But if it find a request with other (red/yellow) it may throw an error.
    This is the error message we get for that kind of errors
    'Request REQU_* in ODS must have QM status green before it is activated." and this is the same one you are getting.
    Try to find the bad request, rectify/delete it.
    This may resolve your problem.
    thanks,
    JituK

  • JSF and ADFBC: How to Run a method every time the page is posted back

    Hi everyone,
    I am using ADFBC and JSF in my project, and there is a page which runs the following logic: The page displays a set of radio options and a submit button. It has a total of 4 options, but they never display all at once. For example, when user enters the page for the first time, only selectItem 1 displays. When it clicks on the submit button, the page is posted back and hides the first select item, showing now the second, and so forth. The steps i did to achieve this are:
    1 - Created a method on the App Module that inserts a row corresponding to the select item choice.
    2 - Created another method that verifies which is the lastly entered row and returns a string containing the relevant attribute, for example, "E".
    3 - Created the methodAction binding to run the insertMethod (1) and retrieveMethod (2).
    4 - Created an invokeMethod executable for the retrieveMethod (2) and set the refresh property to "always".
    5 - Created a variableIterator with a variable to hold the retrieveMethod return, also setting the refresh to "always".
    6 - Lastly, bound the "rendered" attribute of each select item to the variable's value, for example "#{bindings.returnVariable == 'E'}
    When i run the page, the logic works almost fine, except for one detail: When the user clicks the button that calls insertMethod, the page is posted back, and i assume the selectItems should be re-rendered accordingly. Yet, the button click inserts the row in the DB (called insertMethod) but keeps showing the previous radio item. If i restart OC4J, when i enter the page again the radio is now correct, showing the next option.
    Do you know how can i tell the page that the model has been refreshed, so it runs the retrieveMethod again, alters the variable and the radio options without having to leave the page or restarting OC4J?
    Thanks in advance for your help!
    Regards
    Thiago Souza

    Hi all,
    It seems i have figured out the error. It was a logic mistake on my method, ADF was doing the refreshes just fine. There is another little question i wanted to ask now: I need to execute a JSF Navigation Case when the page loads, in order to navigate to another page due to a certain condition. is there any way to run some logic to redirect the request before the page has been rendered, just like the onLoad() javascript event runs on the body every time it gets loaded?
    What i'm trying to do exactly is this: When the login.jspx page runs the "success" navigation case, it goes to "page1.jspx". But before "page1.jspx" is loaded, i need to run an Application Module method to check for a certain situation; if this criteria is not met, i must run "fail" navigation case, from "page1.jspx" to "page2.jspx" without ever displaying page1.jspx.
    Is it clear enough? Can you guys give me some pointers on how to do it?
    Thanks a lot!
    Thiago

  • Why is Firefox opening a popup every time i open a new tab and even when i start Firefox?

    Every time i open a new window or new tab im getting a popup with the Firefox logo at top left corner of the popup!
    == This happened ==
    Every time Firefox opened
    == not sure

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • HT204365 I opened a PDF in iBooks, but I don't know how to close it. Every time I open iBooks the PDF opens with no option to close. Any suggestions on how to get back to book shelf?

    I opened a PDF in iBooks, but now I can not close it. Every time I open iBooks, the PDF is opened and I can't close it. Any suggestions on how to close it and get back to the book shelf?

    Do you have an icon at the top of the page that says 'Library'? Tap that to get back. If not, just tap on the page that shows up and this should bring up the icons at the top for Library, another for the contents of the book, and the text size, search, and bookmark.

  • How to perform some action every time when AppServer starts/stops

    I need to start/stop some external processes every time when AppServer starts/stops. Is there standart mechanism or API to do this?

    Most of the app servers support a concept of startup and shut down classes (I use this feature in Web logic 6.1)
    The startup classes are executed every time you start the app server and the shutdown classes are executed everytime the app server is brought down.
    Here is a URL that will give u all the details you need to know for weblogic startup classes
    http://e-docs.bea.com/wls/docs61///////ConsoleHelp/startupclass.html
    This is the URL for shut down classes for web logic
    http://e-docs.bea.com/wls/docs61//////ConsoleHelp/shutdownclass.html
    hope this helps.
    regards,
    Abhishek.

  • Malware popup every time I go to a new web page. help!?

    Hey guys,
    just yesterday i started getting a malware detection pop up every time i go to a new web page. every site i go to this thing will pop up saying that website contains content from oibruvv.com... I have to click the proceed anyways button every time. please help!
    Thanks,
    Nick

    Did you see something like what is described here?
    http://www.reedcorner.net/news.php/?p=280
    (Note that my pages contain links to other pages that promote my services, and this should not be taken as an endorsement of my services by Apple.)
    If so, and you installed the download, you're probably infected with Flashback.  See this for some removal instructions (which I haven't tested):
    http://www.f-secure.com/v-descs/trojan-downloader_osx_flashback_c.shtml

  • Subtitle edits lost every time iMovie is closed

    Hi,
    I'm working on a movie with English subtitles. Every time I close iMovie, any editing I've done of the footage itself is saved, but the work I've done on the subtitles is lost!
    I'm getting pretty frustrated, especially because I'll work with a native speaker for hours to get the translations/timing just right, and then 2/3 of the subtitles we've changed revert back to how they were before.
    The subtitles never disappear completely; they just change back to wrong, earlier versions.
    I've tried lots of silly little things, but nothing I do helps.
    Any suggestions, please? Thank you so much.
    Message was edited by: Crawstinium

    HI
    When iMovie behaves ill - I try something from this list.
    *Not knowing the origin to Your problem - General approach when in trouble is as follows.*
    • Free space on internal (start-up) hard disk if it is less than 10Gb should rather have 25Gb
    • Delete iMovie pref file
    iMovie pref file resides.
    Mac Hard Disk (start-up HD)/Users/"Your account"/Library/Preferences
    and is named. (one or more of these)
    com.apple.iMovie.plist
    com.apple.iMovie3.plist
    com.apple.iMovie7.plist
    com.apple.iMovie8.plist
    com.apple.iMovie9.plist
    and find
    com.apple.iApps.plist
    While iMovie is NOT RUNNING - move this/these file/s out on to desk-top.
    Now restart iMovie.
    • Hard disk is untidy. Repair Permissions, Repair Hard disk (Apple’s Disk Utilities application)
    • Garageband-fix. Start it, Play a note and Close it. Re-try (Corrects an audio problem that hinders iMovie)
    • Screen must be set to Million-colors
    • Turn off Mac and disconnect Mains/Power for 20-30 minutes - will at least re-set FW-port
    • Third party plug-ins that doesn't work OK (not relevant for iMovie’08 or 09 or 11)
    • Problems in iPhoto Library can affect iMovie to crash on start-up. Re-build this first then try to re-start iMovie.
    This You do by
    _ close iPhoto
    _ on start up of iPhoto - Keep {cmd and alt-keys down}
    _ now select all five options presented
    _ WAIT a long long time
    • iMovie updated ?
    • QuickTime updated ?
    • Mac OS version ?
    • Program miss-match. iMovie 4 - will not work under Leopard
    • Program miss-match. iMovie 5.0.2, up to Mac OS X.4.11 AND QuickTime 7.4.1 - is OK
    • Program miss-match. iMovie 6.0.3 or 6.0.4, Mac OS X.4.11 AND QuickTime 7.4.1 - is OK (will work under Leopard and Snow-Leopard)
    • Program miss-match. iMovie’08 v. 7.1.4, Mac OS X.4.11 AND QuickTime 7.5.5 - is OK (will work under Leopard and Snow-Leopard)
    • Program miss-match. iMovie’09 v. 8.0.6, Mac OS X.5.8 AND QuickTime 7.6.4 - is OK (will work under Leopard and Snow-Leopard)
    From LKN 1935. (in this case = iMovie HD (5), I tried it all, but nothing worked.
    Your answer (above) has been helpfull insofar as all the different trials led to the conclusion that
    there was something wrong with my iMovie software. I therefore threw everything away and reinstalled
    iMovie from the HD. After that the exportation of DV videos (there has not been any problem with HDV videos)
    to my Sony camcorders worked properly as it did before.
    Lennart Thelander
    I run "Cache Out X", clear out all caches and restarts the Mac.
    Yours Bengt W

  • Lightroom 4 keeps asking to backup every time i try closing

    Lightroom keeps asking me to Backup everytime i try closing it! What do i do? Ignore or backup?

    The subject of “Backup” has come up a couple of times in the last few days and although I’m not claiming to be the fountain of wisdom on the subject, I felt I should write a few words about it.
    Web-weaver has given some wise words about it above, but I would urge anyone (YOU) to consider this issue for yourself as it is definitely not a “one size fits all situation”. 
    In summary, if you read no further, you should spend a little time and think it through it for yourself with regards to what are your risks, probabilities and consequences of a disaster and what are the possible disasters anyway.   In fact I wish people would stop calling it “backup” as some might take the view of “I’ve done a backup - so job done”.   It should actually be called “Disaster Recovery” which really focuses on what you are trying to achieve.
    ------>
    Disasters come in many forms and are not just had disk failures.    Examples include Hardware Failure, Virus Attack, deliberate sabotage by disgruntled staff, Fire, Flood, Theft, un-noticed cockups by yourself, bad software upgrades and Meteorite’s falling on your house!  In my career I (not to me personally - that would be unlucky!) have seen all of these things  except the last one!  I know of photographers who mitigate the risk of ALL of these things, but clearly it is up to you to assess your acceptable risk, your environment and acceptable levels of consequences.
    For a simple example, consider if backing up to an external hard drive permanently sat on top of your PC, you may live in a house with a laser trip wire alarm system or have a pet leopard so perhaps less risk, but if you are backing up to an external hard drive sitting on top of your PC then there is a good chance a thief or fire will take both your PC and external drive.    Equipment is insured – good!   But no insurer can give you back your photos or any of your other important non-photography digital stuff.    Similarly for Fire, Flood and potential hard disk wiping virus attack.   A virus might not see your external hard drive as something different and be nice and kind to it!
    When I am on the road with a PC/laptop I backup to an external hard drive at the end of each day and physically locate the hard drive somewhere else hidden to avoid theft.   At home I have extended my network into a separate out building and have a Network Attached Raid Storage (NAS) in the loft space – away from Fire, Flood and Theft.   I also periodically copy to another drive (Paranoid – perhaps!).   I’m not saying you must do this, simply what I feel comfortable with.
    The second part of any disaster recovery solution is your retention policy.   It has been advised in the previous post by Web-weaver to take backup every time you leave Lightroom if you have done some changes.   This is fine (not how I work), but consider that each time you do this you will create a new backup file in addition to all the previous ones, and they build up.     For one of my catalogues each backup takes 1.5GB of storage so if I were to backup every time I exit (10 times a day) I would consume 465Gb per month.   This is clearly unsustainable (for most users) so you will need to delete some of the backups occasionally.   But how much do you keep and when?  This is up to you.   
    There is however a class of disaster that, although rare, may be important here – the “I’ve messed up my data but gone unnoticed scenario”.   For example you discover that a month ago you did something affecting not one image but a large number of them and didn’t notice and you can’t easily correct it.   Although more complex to recover, keeping some older backups may give you more options to recover the situation.     On tidying up the backup files, I generally will keep backups from each day from the last couple of weeks and at least one per month over the last 4 or 5 months.     I am not saying I am correct, but I’m saying it is something that needs thinking about.   Don’t just keep the last backup and also importantly, from time to time check your backups are actually happening.      I had a multi-million pound customer who unknowingly messed up their data (not Lightroom) and wanted to roll back two months only to find all the backup files had a size of 0 (Zero)!     Also keep a permanent backup each time you upgrade Lightroom in case you want to roll back.
    If you want to take the time, effort and expense to move beyond simply “I’ve done a backup so I can sleep at night”, then create a situation where your backups are not simultaneously subject to the same risks as your main system, and this almost certainly means in different physical equipment and different physical locations.   I know that some pro-photographers backup to the internet.
    The key message is - Only YOU can assess your environment, acceptable probabilities and acceptable consequences, but even if only 5 minutes over a coffee, assess it you should. And although good enough for many, don’t take at face value someone saying to just plug in an external hard drive and do backups.
    Apologies to anyone who has wasted time reading this and knows it all, but it is not obvious to everyone, and for sure more than one person reading this will have had a “disaster”.   If this post helps one person think about it then it is perhaps worthwhile.
    Alan.
    PS – Low probability, but **** Happens!     A sad but slightly amusing tale – I had a customer (10 person firm) where thieves drove up in a van overnight, broke in and stole all the client PC’s.   Two nights later they came back and stole the network server and all the backup units.    Although not funny, my colleague and I joked that they would come back and steal the companies IT manager!

  • How do I stop the popups every time a new page opens?

    How do I stop the popups? Also, how do I stop the links to certain words: bankruptcy attorney, etc. Each time a page opens there are hyperlinks on words.

    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

Maybe you are looking for

  • No effect of discount in Net value

    Dear All, I have just four conditions in pricing procedure of Billing document. Item price, discount , Price after discount and tax. Price after discount is a percentage type condition which is sum of item price + discount. we maintain it as 100% in

  • RFC-Call using dynamic Parameters

    Dear Forum! I'd like to call a RFC function module using a dynamic parameter list. I can either call CALL FUNCTION bapiname DESTINATION fsystem. or CALL FUNCTION bapiname         PARAMETER-TABLE lt_param         EXCEPTION-TABLE lt_excep. but not both

  • Routine to convert the date into month/year

    Hi friends, I have requirement like I have 0billdate, but i want only month and year in that.  So i have created a z object  for that taking reference as 0calmonth.  I think the format is yyyymm. So now I want to write a routine which converts the da

  • Implements versus Extends

    I'm an inexperienced programmer. After reading a number of articles I've been convinced that its generally better to use interfaces and implements, as opposed to classes and extended subclasses. However, I'm not sure how I should do that given my cur

  • Multiplication factor in measurment point/counter

    Hey Gurus, Is it possible to include multiplication factor in measuring points / counter? Like when my clients are entering the readings of energy meter they have to multiply it with some factor to get the actual reading. Is it possible in std sap or