Does a listener still exist after its target object MC has been removed?

Hi,
I have just a question about as3.0 programming (I suppose it
is the same for AS 2.0):
When a MovieClip is removed from the display list (either by
removeChild method or directly from within the stage from the
timeline), if listeners are running and attached to that object,
are they also removed, or do I have to remove them explicitly?
if yes, for a proper programming, I suppose that I have to
program a listener for the UNLOAD Event whose function will remove
all attached listeners, don't I?

quote:
It is called the DISPLAYlist and not the EXISTENCElist for a
reason. :)
=> yes sure :)
quote:
being eligible for garbage collection (gc) means it will be
removed from existence when memory usage of your swf increase
"enough" to trigger gc.
=> ok, I understand, but is there not any way to invoke
gc, to trigger it manually?
If you retake my example above, "playing!" seems to display
indefinetely, so it means that gc has not been triggered which may
be normal because memory hasn't increase dbut it is not handy
because the code in the clip supposed to be removed is still
running (even when clip is set to null). I persist and still don't
think it is normal :)
But I will study a lot more as 3.0, I think I should find an
answer in the interesting Colin Moock's book I am currently
reading, I am just at the beginning.
Thanks for your help!

Similar Messages

  • I recently upgraded to Mavericks from Snow Leopard. Does Snow Leopard still exist on my Mac? If so, is it possible to restart under Snow Leopard in order to run PowerPC apps? If not, is there an OS available in 64 bit that supports PowerPC apps? Mav ***.

    I recently upgraded to Mavericks from Snow Leopard. Does Snow Leopard still exist on my Mac? If so, is it possible to restart under Snow Leopard in order to run PowerPC apps? If not, is there an OS available in 64 bit that supports PowerPC apps? Mav ***.

    The only reason I upgraded to Mavericks was because my Snow Leopard OS was 32 bit, which I was told would support only 4GB of RAM.
    That wasn't quite right. You can put in as much RAM as your Mac's hardware supports. The division is in the apps themselves. A 32 bit app can't use more than 4 GB or RAM. A 64 bit app can use much more.
    For example, as a 32 bit only version, Photoshop CS3 can't use more 4GB of RAM, no matter how much you actually have installed. CS4 or later can use all the RAM you want to throw at it.

  • I would like to clear my address row history completely, but I never get it totallly emptied. The remaining addresses are not bookmarked, i.e no stars on the row, but still exist after I have emptied all history both via the History link and via the Tools

    I would like to clear my address row history completely, but I never get it totallly emptied. The remaining addresses are not bookmarked, i.e no stars on the row, but still exist after I have emptied all history both via the History link and via the Tools link. How come adresses still can exist after I have done this?
    == This happened ==
    Not sure how often

    I clear all history but i still get hints (what i've typed before) when i wanna type something in a site i've visited before!! whats the solution?

  • HTTP 404 - The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    I have created a web app in our SP 2010 test env. From our dev environment I brought in a content db and attached it to this web app using Mount Powershell command.The command worked without errors.The content db had one site collection in it. When I navigate
    to that site I get the error below.I followed the same approach in dev and didn't have any issues.The content DB was migrated from MOSS 2007 site collection.
    Please help.
    HTTP Error 404.0 - Not Found
    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
    It says the most likely causes are:
    The directory or file specified does not exist on the Web server.
    The URL contains a typographical error.
    A custom filter or module, such as URLScan, restricts access to the file.
    This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.
    Sreeni

    try this trick
    open page in web browser and go to view source and check the file that missing

  • What does it mean when you try to update i tunes and it tells you "itunes has an invalid signiture. the download has been removed"?

    what does it mean when you try to update i tunes and it tells you "itunes has an invalid signiture. the download has been removed"?

    What kind of things are you seeing as disabled? The administration might have disabled some features because they don't fit in the structure of the community that has been built over the last few years. This community used to be based on a forum platform called Lithiu . At the beginning of the 2012 it was moved to a forum platform called Jive. It brought a lot changes to the community. Some of which many of us regulars are still finding after almost a year.

  • Risks has been removed but Mitigating Control still stays with the users?

    Hi all,
        I have a situation where after a risk has been removed from the users by removing the violating roles, however the Mitigating Control still remains tagged to the same user. Is there any efficient way of removing Mitigating Controls from users where the risks no longer exists?

    Hi Joseph, thanks for the info. My problem comes in when the user request to have the violating role removed via CUP and it so happens that the Mitigating Control assigned for the old risk still has 6 more months of validity left. It seem like there is no mechanism to auto remove this MC when the role has been removed after the request in CUP have been approved and auto-provision.
    My problem is that there might be many more of such users with redundant MC assigned to them in RAR. I can't find a way to search for such redundant MCs for cleanup. There is a possibility that when the same roles are assigned back to the users via request in CUP, these redundant MC if applicable will cause the Risk Analysis via CUP to not flag out any SoD issue.

  • There's a black and white striped glitch on the left side of my screen on my Macbook Air! Its happened before and has been an easy fix, usually just restart or turn off my computer but don't know what else to do. Is there anything I can try now?

    There's a black and white striped glitch on the left side of my screen on my Macbook Air! Its happened before and has been an easy fix, usually just restart or turn off my computer but don't know what else to do. Is there anything I can try now? I wont be able to make it to the Apple store until tomorow and would prefer if there was something I could do that didnt cost money, my computers very new and I really need help.

    Hi and welcome to the community! Since you're new please be sure that you have checked out our Discussion guidelines.
    I suggest that you try to repair the phone software using PC Companion..
    Before repairing your device you may want to backup your information first. Check out this topic for more information on how to.
    How to backup?
    If the issue should still remain I think that this needs to be examined and fixed at a repair center. For more information about how to submit your phone for repair and where, contact your local support team.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • After downloading osx 10.9.2 when i open my logic pro 9 and begin to audition loops that came with lp9 i get a message that says "audio device has been removed  and then a second message the " select driver not found(-10202). my interface is a apogee duet

    after downloading osx 10.9.2 when i open my logic pro 9 and begin to audition loops that came with lp9 i get a message that says "audio device has been removed  and then a second message the " select driver not found(-10202). my interface is a apogee duet. Can anyone provide a solution to this problem. Thanks

    YES!!! YES!!! YES!!!
    I got it!!! Yes!!!
    Guys, I've solved my problem about that error -10202 (Selected driver not found).
    I have installed in my Mac Pro (OS X 10.5.8) a document with an extension ".rsrc" to correct the position of the accents in my keyboard, like acute accent, tilde and circumflex.
    That file is called "U.S. - International.rsrc" and it's stored in the following path:
    "Macintosh HD/Library/Keyboard Layouts"
    So, when it's properly installed, I can choose 2 country flags on the right side of the menu bar (U.S. - International and Brazilian).
    That's the clue!
    When I pick up "U.S. - International", my keyboard works fine with the accents, >>>BUT<<< Logic Pro 9 doesn't recognize my audio driver; and when I pick up "Brazilian", my keyboard doesn't work with the accents exactly as it shows me on each key, BUT Logic Pro 9 DOES recognize my audio driver.
    So, when I want to write anything out, I will pick up the "US - International" and when I want to work on the Logic Pro 9, I will pick up "Brazilian".
    I hope I can help all of you.
    Regards,
    Renato Veiga.

  • How to find my iPhone if they are still in offline mode ? My phone has been stollen in my college yesterday.

    How to find my iPhone if they are still in offline mode ? My phone has been stollen in my college yesterday.

    You can't.
    What To Do If Your iDevice or Computer Is Lost Or Stolen
    iPhone, iPod Touch, and iPad
    If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. What to do if your iOS device is lost or stolen
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
      8. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
    Mac Computer
           Find My Mac can be used from Find My Phone at iCloud.com and via Find
           My Phone on your iDevice.
          The following is third-party anti-theft software:
               1.  STEM 2.1
               2.  MacPhoneHome 3.5
               3.  MacTrack 7.5.0
               4.  VUWER 1.7
               5.  Sneaky Bastar* 0.2.0
               6.  Undercover 5.1.1
               7.  LoJack for Laptops

  • After upgrading to APEX 4.1 the database management GUI has been removed

    I've succesfully upgrated to APEX 4.1 on my database 10gXE
    The only problem is that now the database management GUI (Usage Monitor section) has been removed from APEX and I'd like to keep on dealing with DBA activities as before. How is it possibile? Now can I handle DBA activities only by using SQL*Plus and SQL Developer?
    Thanks!

    Hello Mark,
    unfortunately, that management GUI is an XE specific application build into the APEX version that shipped with XE. So basically, what you experience is correct: After an APEX upgrade, you can't use it anymore, because the "generic" APEX versions are not branded for XE.
    There is a theoretic possibility of using the command line exporter to export that management application from the old APEX instance before upgrading (or using a different XE instance that still has it) and import it to the upgraded APEX instance. But I would not recommend to do that, as APEX itself has changed a lot from the 2.2-branch that XE 10.2 shipped with to the 4.1 you use now. This can cause severe issues when using that application in 4.1, especially concerning the APEX management part of that application.
    Now can I handle DBA activities only by using SQL*Plus and SQL Developer?I'd recommend that. And I really think SQL Developer has become very handy for that purpose compared with the version that was out when XE 10.2 was released...
    -Udo

  • Can the genre of a song or album in my itunes library be changed?  While loading to the itunes library, or after the song or album has been loaded?

    Can the genre of a song or album in my itunes library be changed?  While loading to the itunes library, or after the song or album has been loaded?

    Kay -
    Glad it helped.  Enjoy the music!
    Ed

  • When I back up my  I phone 5s or my ipad2 camera roll, contacts and documents does this save in the cloud all to view even if a photo has been removed from camera roll?

    When I back up my  I phone 5s or my ipad2 camera roll, contacts and documents does this save in the cloud all to view even if a photo has been removed from camera roll?

    iCloud- Photo Stream FAQ
    iCloud- Photo Stream limits
    iCloud- How to delete photos from Photo Stream
    iCloud- Photo Stream troubleshooting
    iCloud- Using and troubleshooting Shared Photo Streams
    iPhoto '11- Add, remove, and edit photos in a shared photo stream
    iPhoto '11- Create a shared photo stream
    There are obviously limits to what can be stored in Photo Stream and for how long.
    If she wants backups then she will need something like this: Seagate Wireless Plus.

  • HT1353 im trying to download games on to the ipod touch 2nd gen and looks like the software driver has been removed,what does that mean and how do i sort it?

    i have an iod touch and aparently the software driver has been removed and i had it restored to factory settings as i bought it from someone,what does this mean and how do i solve the problem

    Just what error message are you getting?
    Are you trying to redownload them directly to the iPod?
    If you are getting an error message that included Open GL 2 or similar that means that the app requires that but only the 3G and later iPods support that.

  • "COM object that has been separated from its underlying RCW cannot be used.

    I am constantly getting the following error when closing my app if we viewed/printed a report.  What do I need to do to correct this error?  For the following error, I opened my app, viewed a report on the screen using the 'CrystalReportViewer', closed the report viewer window, closed my app.  When closing the app, the following error occurs.
    CR version: 11.5.3300.0
    VB.NET v2.
    System.Runtime.InteropServices.InvalidComObjectException was unhandled
      Message="COM object that has been separated from its underlying RCW cannot be used."
      Source="mscorlib"
      StackTrace:
           at System.Runtime.InteropServices.UCOMIConnectionPoint.Unadvise(Int32 dwCookie)
           at CrystalDecisions.ReportAppServer.%. {(_ISCDClientDocumentEvents_OnClosedEventHandler  u)
           at CrystalDecisions.ReportAppServer.%.remove_OnClosed(_ISCDClientDocumentEvents_OnClosedEventHandler value)
           at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.DisconnectEventRelay()
           at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.  (Boolean  \b, Boolean       )
           at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Dispose(Boolean bDisposeManaged)
           at System.ComponentModel.Component.Dispose()
           at CrystalDecisions.CrystalReports.Engine.ReportDocument.  (Boolean      :)
           at CrystalDecisions.CrystalReports.Engine.ReportDocument.  (Boolean      ;)
           at CrystalDecisions.CrystalReports.Engine.ReportDocument.Close()
           at CrystalDecisions.CrystalReports.Engine.ReportDocument.
        (Object      >, EventArgs      ?)

    Hello,
    First thing is to install Service Pack 6 which you can get from the download page by clicking on BusinessObjests tab above and then downloads on the left...
    When you close your viewer be sure to add/have Youreportobject.close and Youreportobject.Dispose. Adding a GC.Collect may help also.
    Thank you
    Don

  • Is there a way in PeopleSoft CRM 9.1 to send customers a customer satisfaction survey after their HR Helpdesk case has been resolved (other than Workforce Communications)?

    Is there a way in PeopleSoft CRM 9.1 to send customers a customer satisfaction survey after their HR Helpdesk case has been resolved(other than Workforce Communications)?

    Hello,
    Could you please let me know if there is any way in PeopleSoft CRM 9.1 to send customers a customer satisfaction survey after their HR helpdesk case has been resolved(we do not have the 'Marketing' and 'Workforce Communications' menu options) ?

Maybe you are looking for

  • ADF--Re-opening Download does not deliver correct content.

    I am using JDeveloper 11.1.1.4 and having an issue with downloading files. The first time a user clicks on the command link, the file opens fine. If the user closes the application that the file opened in, and clicks the same link to re-open the file

  • Master-Details-Another Details doesn't display correctly

    Hi All, I'm currently encountering a problem when displaying the 'Another Details' in my page. Let me elaborate. I have this MotherVO which I linked with the ChildVO, and then I linked the ChildVO to the GrandChildVO. In my AM, I have added something

  • Regarding Password Sync

    hi, I have 3 solaris resources connected to IDM. I have assigened all these resources to one user with a password. I tried changing the password from the IDM and tried logging in to solaris resources and I was successful. Please let me know if i can

  • Can I charge my 2013 ipod classic with my original ipod classic firewire charger?

    Can I charge my 2013 ipod classic with my original ipod classic firewire charger?

  • Performance check in RFC

    Hi All, I have created a remote enabled function module. Based on the import parameter value ,  values are populated in the internal table of the export parameter ( which has no of recortds). The RFC works as expected. But when i do the syntax check,