remove a child from a MovieClip but still works...

Hi have made interactive quizzes that have 12 movieclips each movieclip contains loop animation and sound in it (in the timeline), I have export under classes, clip1, clip2, clip3... etc, now I'm doing when the user focus on question 1, then clip1. comes on the screen and playes as movieclip and after clickicking clip right answer should be removed from the scene, but it happens this clip went invisible but is solid at work

I did it

Tip: clip1 var = new clip1()

addChild (hint)

When the user choose right answer

removeChild (hint)

but the sound is still coming...

This is expected behavior.  removeChild() to remove a display of the display list object (so it is not) but it still exists.

You must stop explicitly all streams to put an end to these flows (including sound).  In addition, you must remove all listeners and assign your object (hint) to null for this loan for gc (= destruction/removal of memory).

Tags: Adobe Animate

Similar Questions

  • I can't unlock my iphone by apple ID knowing that the previous owner removed the device from his account, but still the unit asks the old code in order to unlock the phone

    I can't unlock my iphone by apple ID knowing that the previous owner removed the device from his account, but still the unit asks the old code in order to unlock the phone

    If the device is always ask for the ID of the previous owner, then it is has not been deleted.

  • error 0x80071ac3: difficult to copy the files from my old, but still working, USB

    I have just brought a new USB and can't copy files from my old, but still function, USB. Both are Kingstons not that it matter. I get the object from the error message "the volume is dirty" etc. I ran the disk of the property toolbox check both via the command prompt "chkdsk x:/F and / r." I still can't copy a large number of files.

    I have just brought a new USB and can't copy files from my old, but still function, USB. Both are Kingstons not that it matter. I get the object from the error message "the volume is dirty" etc. I ran the disk of the property toolbox check both via the command prompt "chkdsk x:/F and / r." I still can't copy a large number of files.

    Hello

    Files that cannot be copied are in bad clusters.

    Try running chkdsk x:/b

    The /B switch will cause the disk check to reassess the bad clusters and try to fix them again.

    Let us know the results.

    Thank you for using Windows 7

    Ronnie Vernon MVP
  • I am able to remove a photo from my iPhone, but keep it in iCloud?

    I recently started using iCloud to save photos and videos of my iPhone to help in freeing up space.  I then went to remove pictures/videos from my iPhone and I get a pop up message saying that the photos/videos all so deleted my iCloud storage.  Maybe I'm wrong understand using iCloud, but this seems pretty stupid to me.

    Is it possible that I can remove a photo from my iPhone, but there were always stored in my iCloud account?

    Thank you

    Free space on your iPhone, you must choose Optimize iPhone storage.  Unfortunately, iCloud was not designed in the way you thought and that means, and not as a backup storage.  To do this, you must choose an option of third parties such as Dropbox, Flickr and my personal Photos of Google favorite.  If you use one of these options, you can completely remove the pictures from your phone and free up your storage space.

  • I would like to remove the account from creative cloud, but I can't. How can I do?

    I would like to remove the account from creative cloud, but I can't. How can I do?

    Hi Cecilias82225568,

    Please help us to better understand.

    You want to remove the creative cloud of your machine?

    https://helpx.Adobe.com/creative-cloud/KB/CC-cleaner-tool-installation-problems.html

    You want to delete your Adobe ID?

    Get in touch with adobe support:

    Pricing plans and creative Cloud membership | Adobe Creative Cloud

    * Be sure to stay connected with your Adobe ID before accessing the link above *.

  • The hit counter on my site no longer works on Firefox, but still works in me. How should I do?

    I have a free (by easycounter.com) visitor on my site meter. It worked fine in Firefox (3.6.16) and MS Internet Explorer.
    Yesterday, I noticed that he is no longer with Firefox but still works fine with MS IE.
    Earlier in the week, I have download some add-ons recommended by Firefox.
    Can someone tell what could be the problem and how to fix it? The code for the counter is still intact on my page at www.qsl.net/ve3bdb.
    Thanks in advance.
    Furthermore, the page now takes forever to load when you use MS IE, but I don't know if that is related.

    You are welcome

  • Pavilion DV-6-6195SP: I bought a card Wi - FI from the manual but none work DV6-6195SP

    I bought a card Wi - FI from the manual but none work

    http://support.HP.com/us-en/product/HP-Pavilion-DV6-entertainment-notebook-PC-series/5082212/model/5...

    The map is:

    Atheros WiFi 802.11b/g/n 1 × 1 9485GN and 3012 adapter Bluetooth 4.0

    SPARE PART: 655795-001

    The BIOS is saing Traoré wifi is unknown

    What is the problem and if not this car what is the best card wifi for my model?

    Thx for the advice I did some research and found a mod of bios that solves everything for those who need, click on the link below:

    http://donovan6000.blogspot.IE/2013/12/modded-BIOS-repository.html

    FOR ALL THEM HO HAVE THE F.1B

  • How to remove a song from my library, but not from the playlist?

    Hello

    I know this question has been asked before. But as far as I don't know in conjunction with Apple music.

    Since there is a way in music from Apple to add a song only to a playlist, not the library, I was wondering if there is a way to remove a song from my library and not from the playlist?

    Is it possible to do?

    All the songs on playlists and in my library are Apple music.

    I tried to export a playlist in XML format, and then deleting the songs in my library, and then import the XML file.

    Unfortunately this does not work because iTunes can't find the songs in Apple's music even though he had only songs from Apple's music in the playlist before.

    I'd hate to have to create all my playlists once more just to empty my library.

    Thanks for your help!

    Read this Apple knowledge base article

    Add a song to a playlist in music Apple without adding it to your library - Apple Support

  • Messages deleted by mistake from the iPhone, but still on iPad.

    I have an iPhone 5 and iPad who synchronized Messages and.  I made a mistake of the user and delete the SMS to the person on my iPhone, but are always on messages have not updated and the conversation is always on my iPad.  Is there a way to get the messages that appear on my iPad on my iPhone?  I tried to restore the iPhone with the iPad, but it doesn't work.  I was able to remove the messages from my iPad and keep them.  If the world is a perfect place, I want to be able to "transfer" the messages lost from my iPad to my iPhone.  Everything would then as I want.  Is this possible?  If so, what should I do?

    That's what the iCloud or iTunes backup is for.

    If you are backing up on a regular basis and that the message has been included in this backup, and then you restore your phone from this backup.

    If you do not have a backup, so that the message has disappeared and you can only access it from your iPad.

  • I downloaded the Office Professional 60 day trial, this worked well. my trial is over and I would like to remove the software from my laptop but can not...

    I downloaded the Office Professional 60 day trial, this worked well. my trial is over now and I want to remove the software from my laptop, I tried to do it via Add/Remove programs in the control panel, but get the message "installation of the product has been damaged. Run Setup again from the original cd/dvd or other source of installation '. I looked for an hour on the Microsoft Web site to help but can't find... Please someone he can offer advice?... Thank you

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

    "How to uninstall manually Office system 2007 if you cannot uninstall it by using the function" Add / Remove programs.

    Read and follow parts of the XP of the info on the link above to Ms.

    See you soon. Mick Murphy - Microsoft partner

  • I allow calls from verified contacts, but still receive unwanted calls

    in do not distrub, I allow calls from verified contacts, but always receive unwanted calls, I even got a call with my name in the caller ID!

    If you allow calls repeated under tension, then the telemarketers or who calls you are probably recall several times. As for the one with your name in the caller ID, I am one of those who earlier. Turns out be a telemarketing touting T-Mobile robot. I was incredibly ticked. So I got my carrier on the phone a few minutes asking them to open a trace. These calls are illegal.

    The foam of telemark will stop at nothing in their attempts to get through you.

  • Checker says IMEI phone is blocked, but still works fine.

    Hi guys,.

    I recently bought an iPhone 6s over 64 GB on craigslist and unfortunately, I didn't check the imei carefully before buy you. So about 3 days ago I check with Tmobile imei check and it said that the phone has a balance and could not be used on tmobile if the invoice is not paid. I know I got fked trying to contact the seller, but I don't have much hope that it will never. Today I check once again, and he says that the phone is locked. However, it still works fine. I tried to run the speedtest and compare it with 6 sec of my friend also from tmobile. It turns out that my phone is actually faster than my friend.

    And by the way, looks like the seller already had it unlocked via an online service. I tested it with an old at & t sim card and it read the SIM very well.

    So, guys, any idea?

    Any ideas on what? Unless the account holder solves the pending bill, it is possible that the phone could, at any time, stop working on TMoible. However, this will not affect his ability to work on AT & T or Verizon.

  • Screen goes black but still works on Tecra M2

    Dear forum,

    I recently started having problems with my toshiba laptop tecra m2. The screen started to lose its luster and blink in a dull white, then all of a sudden return to his brilliant bright white. I saw also that the screen went white, I heard a "whistling" coming behind the matte screen.

    All of a sudden a black bar runs through the screen from the bottom from left to right, and the screen was cut off. I'm sure that the processor still works its the screen with the problem only. I need help and how I'll be able to deal quickly with the minimum of effort. I need to retrieve some business data stored on the laptop emergency.

    Please reply with any of your suggestions. Thank you.

    Andy

    So to clarify the screen is black with no picture at all! All I get is the black screen with no data or images. I need help, I did some research and discovered, it could be the lcd inverter and backlight. So please can help you, I'm in a bad situation and need help please.

    Thank you.

    Hope to hear from you all
    Andy

  • Keyboard shortcut Ctrl-E to the search box does not work, but still works the Ctrl-K.

    In FF 3.6, the hotkeys Ctrl-E, Ctrl-K would focus the cursor in the search box of Firefox.

    In FF 4 RC1, the hotkey Ctrl-E isn't is no longer anything. CTRL-K still works as it did in FF 3.6.

    This shortcut has been deleted, you can restore it with the extension change search shortcut - https://addons.mozilla.org/firefox/addon/change-search-shortcut

  • How to remove a child from view in actionscript 3.0?

    I work with a movieclip labeled tut_mc and in it, I have a button named tut_x_btn. what I want to happen when you click on the X button is to remove the main scenario for the tut_mc. I don't know much about the child controls in Flash. I know I have to access the maintimeline with the MovieClip (root) command to remove the movieclip. and also how you would do the opposite when the click on a button in the addition of a child who is in the library?

    A cleaner way to attack it is to have the code for the button in the main timeline, aiming through the movieclip...

    tut_mc.tut_x_btn.addEventListener (MouseEvent.CLICK, removeTut);

    function removeTut(evt:MouseEvent):void {}

    removeChild (tut_mc);

    }

    I'd do the same approach for the addition of a child of the library.

    That approach avoids to do what you suggested to do which isn't really good oop implementation... child objects should not direct the activities of their parent objects - they shouldn't have to rely on their existence, that target the root/mother made.

    If you want to go in the sense that you suggested, you could use MovieClip (root) .removeChild (tut_mc);  (I don't know if you need also of target MovieClip (root) .tut_mc for the argument if... been awhile.)  But using the root references can be random when you start involving separate files.  It is sometimes better to use instead of parents.

Maybe you are looking for