How can I remove a child from the scene with a click of a button?

I have a movieclip which requires playback buttons, Pause, forward and backward. The movieclip has actionscript to different images to load the library movieclips and repeat.

I tried to use a progress bar, but it does not raise the actionscript during purification, only when the film plays normally.

My solution is to create your and button back which can go up to specific frames where the key animation will start.

I need to develop the actionscript code that will remove the children when the user clicks Back.

That's how I'm loading movieclips several along the timeline of my library:

var shpA1:arSHPp1;

function attachAR1 () {}

shpA1 = new arSHPp1 ();

shpA1.x = - 30;

shpA1.y = 18;

addChild (shpA1);

}

the interval is used to repeat the animation to represent the stream on a diagram

var myInterval1:uint = setInterval (attachAR1, 500);



What I've tried so far (does not at all - no error or trace):

function remChild1(event:MouseEvent): void {}

If (shpA1.stage)

{

trace ("arSHPp1 is in the display list");

shpA1.parent.removeChild (shpA1);

shpA1 = null

}

on the other

{

trace ("arSHPp1 is not in the display list");

}

var removeTimer;

clearInterval (myInterval1);

shpA1.parent.removeChild (shpA1);

Tags: Adobe Animate

Similar Questions

  • How can I remove an application from the App Store in the section update application?

    How can I remove an application from the App Store in the section update application?

    You can not delete Apps from the update tab. It's just a list

    The list is just for information purposes. Finally, they are deleted from the list on their own.

  • How can I remove my name from the top right of the screen. I have a 2015 13 "MacBook Pro running 10.11.4

    How can I remove my name from the top right of the screen. I have a 2015 13 "MacBook Pro running 10.11.4

    At the top right of the menu bar shows the current user who is logged in and allows quick change of user accounts.

    You can disable the display of menu bar in system preferences > users and groups. Or order just drag it out of the bar.

  • How can I remove a photo from the album Selfies?

    How can I remove a photo from the album Selfies in iOS 9 Photos on the iPhone 6 s?

    I understand that you can not get rid of the album Selfies (disappointment), but I'm very frustrated that you can't delete even a single image in the folder!

    Delete sound time.  Who will release the album Selfie.

  • HP Envy 7640: How can I remove a computer from the list "Scan to" on HP Envy 7640?

    I have a computer on my list of "scan to" on my HP Envy 7640, which is no longer in use.  How can I remove the computer name in the list?

    With the help of Apple / Mac OS X Yosemite

    Thank you!

    I can't help but wonder if the computer is still on the same network as the printer. Even if you have no more than the computer, you may give it to someone else who uses the same network as you? I think it's weird that the printer is always to see the computer. If this computer and the printer are not on the same network, perhaps to restore the printer to the factory settings would help. To do this test, please complete the following steps;

    1. On the front panel of the printer, scroll down to the second main menu screen by sliding your finger to the right of the screen to the left
    2. Choose settings, or Setup
    3. Select printer maintenance
    4. Go to restoration
    5. Choose both restore factory default settings

    Once this operation is completed, you will need to reconfigure the printer to your wireless network. Please let me know if this is the case. Thank you.

  • How can I remove an app from the iPad?

    I want to remove an app from the IPad that I use this site is no longer. How to remove an application?

    Thank you

    Nora

    Press and hold on the application until all applications start jiggling. Then press the x in the upper corner of the (s) you want to delete. Press the Home button to stop the jiggling. Notice that a lot of these pre-installed applications (clock, Messages, etc.) will not have an x when jiggling and they cannot be deleted.

  • How can I remove a shortcut from the dialog box 'Open with' in Windows 7?

    Inadvertently, I added a few shortcuts to open with that are unnecessary (I chose .exe that are not supposed to work this way, as a few .exe 7zip), but I'm unable to remove from this menu.

    I found a Microsoft article on this operation, but he says it's for Windows 8, tells me to click on the version for Windows 7, which brings me to a search page, and when I search for it, it shows links that take back me to the original page, so I'm going in circles.

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

    How can I do this?

    Hello Dave!

    Have a look here: http://www.sevenforums.com/tutorials/96077-open-clean-up-remove-programs.html

    (When you scroll down on this page, you will find many more related tutorials)

    This link might be interesting, too: http://www.howtogeek.com/howto/18119/remove-programs-from-open-with-menu-in-explorer/

  • How can I remove an item from the death of the select icons and notifications appear in the taskbar?

    When I open "Select icons and notifications appear in the task bar" one of the things it lists is "GLBD565.tmp" which seems to be left by the installation of a software product.  The icon is not active and I doubt if it still exists, but it appears in the list.  That list is maintained and how to remove the dead of her spots?

    The entries to Customize Notifications cannot be removed selectively. You can, however, clear the set lists by using the following registry change.

    1. Click Start, type regedit in the Search box and press ENTER.

    2. Locate and then click the following registry subkey:
      Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify HKEY_CURRENT_USER
    3. In the Details pane, click the IconStreams registry entry.
    4. On the Edit menu, click delete, and then click Yes.
    5. In the Details pane, click the PastIconsStream registry entry.
    6. On the Edit menu, click delete, and then click Yes.
    7. Exit Registry Editor.
    8. Restart the Explorer.exe process. To do this, follow these steps:
    9. Press CTRL + SHIFT + ESC.
    10. On the process in the Task Manager tab, click the process explorer.exe and then double click on end process .
    11. On the file menu, click new task (run), type Explorer and click OK.
    12. Exit Task Manager.

    (c) Microsoft Corporation

    -or-

    Download and run a VBScript script that automates the steps above.
    How to delete items from the Notification area in Windows 7/Vista/XP

    Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience]

  • How can I remove an entry from the configuration section?

    There is an entrance to the left of virus removal reruning does not remove it. I disabled it from starting,

    To identify what loads when you start using Autoruns (freeware from Microsoft).

    http://www.Microsoft.com/technet/sysinternals/ProcessesAndThreads/Autoruns.mspx

    With Autoruns, you can deselect an item which disables startup, or you can click with the right button on an item, then remove it. If you clear the check box that you can check back for re - activate the element. It is an approach much safer than editing the registry and better than using msconfig.

    Another useful feature of the program is that you can click with the right button on an item and select search online to get information about the selected item.

  • How can I remove a program from the context menu?

    Some time ago I uninstalled ClamXav.

    When I right click on something to bring up the context menu, I have the option to Scan with ClamXav.

    I searched for this in the spotlight (and assistance to locate in the terminal - do not know if this uses the same Spotlight search criteria).

    Anyway, there are no references.

    Anyone know how I can get rid of this in the menu?

    Of course, it doesn't have an impact, it's just quite annoying to see the option there.

    Thank you.

    http://www.Colorado.edu/OIT/tutorial/uninstall-ClamXav

  • How can I remove "Log Off" from the Start Menu?

    The Shut Down window includes Log Off option, and I accidentally disconnected when I did not.

    Hello

    You are using the classic Start Menu?

    Check if one of the steps helps you accomplish the task.

    Step 1: Remove the option of logging for the Normal Boot Menu.

    a. click the Start button, type gpedit.msc and press ENTER.
    b. click User Configuration > administrative templates > Start Menu and taskbar.
    c. double click on logout remove from the Start Menu.
    d. Select enable and click on the OK button.

    Step 2: Remove Logoff to the Start Menu classic option.

    a. click the Start button, type gpedit.msc and press ENTER.
    b. click User Configuration > administrative templates > Start Menu and taskbar.
    c. double-click Add Logoff to the Start Menu.
    d. Select Disable and click the OK button.

  • How can I remove a document from the convert program?

    I would like to remove some documents from PDF export program that I converted PDF to Word and saved now.  Any suggestions?

    Go to https://cloud.acrobat.com/exportpdf

    Click the link show all:

    On the next screen, select the files to delete by checking the box to the left of their name, then click on remove:

  • How can I remove a name from the signal to the process on my PC?

    Hi all

    My husband gave me a PC and himself added the admin on the PC. He gave it to me and we split, so I deleted her user account and all files

    who are associated with, or at least I think I did. I changed my administrator account so that I don't have to change to my account on my own computer every time I turn the thing. Now everytime I turn on the PC, it says that the username is wrong and I have to click on the sign in screen and he STILL has his username in prompt.

    I don't want to have to change it every time I start my computer! Help! Windows 8 and Microsoft are less friendly, most of the frustrating platforms, I've never used.

    Hi Narayani,

    Thanks for posting your query on the Microsoft Community.

    I'm sorry to know that you are facing the issue with the account setting.

    Please go to control panel and then click on user account. Check if the account is set as an administrator.

    I suggest to create and open a session using a Microsoft account and check if it helps.

    Reference: Create a user account.

    http://Windows.Microsoft.com/en-us/Windows/user-accounts-FAQ#1TC=Windows-8

    For any Windows help in the future, feel free to contact us and we will be happy to help you.

  • How can I remove an application from the start menu

    I have an iMac with OS El Capitan 10.11.5 update.  My startup is too slow, and Excel is one of the applications that start automatically.  I really want to remove it from opening each time, but can't find a way to do it.  I went to the route Finder, GB, computer, Macintosh HD/Library/StartupItems, but no apps are listed.

    I can't find it under system preferences iMac (and have lived each icon), or in the Excel application.  Any guidance?

    Thank you

    System Preferences > users and groups

    Highlight your user name

    you will see two tabs: password and login items uncheck what you don't want auto-start

  • How can I remove unwanted data from the iCloud?

    I get iCloud storage is declining full one Apple. I need to remove unnecessary data, but links to this issue of support continue to "implement the iCloud account. Obviously, I have an account, but need to delete old data.

    The following can help: manage your iCloud - Apple Support storage space

Maybe you are looking for

  • Satellite U300 doesn't wake up from hibernation mode

    Hello I was wondering if someone can help me, I have problems with my brand-new Satellite U300.When it comes into sleep/hibernation mode I can't have to reactivate. The power led remains blue. In the order of UDE the laptop I have to turn the power o

  • Microsoft LifeCam HD - 3000 question.

    Hello I recently bought a Microsoft Life Cam HD-3000 which came with no CD or manual. I downloaded the drivers lifecam microsoft who loaded correctly. When you click to open the shortcut Microsoft Life Cam it opens fine and I can see the vision on th

  • Palm startup Forever

    Is the only option to remove the battery when the Palm Pre starts just forever? (none of the buttons respond, as he is locked up, but when I sign into my AIM account, he know that I'm already connected, so I'd say it's a partial state)

  • Dell Wireless 1705 - more another question Intel 5300

    Anyone know who makes the Dell Wireless 1705 map? I was not able to card information or if it is Atheros, Broadcomm, or other... I ask because I got a laptop with a wireless card making failed and Dell has been VERY slow to replace (note side...) I c

  • Activation message, but can't do it...

    A few weeks ago I did a clean install of Windows 8, purchased by the retailer, so trust it as a genuine software. Previously, I had (genuine) Windows XP on the same PC. Windows8 installation (32-bit) went well spent, did sign-up, no problem. Now I ge