Cannot remove all of the items on stage and "delete a scene".

Hi people!

I have a problem using the deleteSymbol() Api function. It works only for the... symbols, but not for the element.

In this example online, the gray rectangle mobile is a symbol and the "text" is a text Div element: http://www.terredainventare.it/delete/MyDeleteSymbols.html

Here are the project files: http://www.terredainventare.it/delete/DeleteSymbols.zip

If you click on "Cleare etc" symbol disappears.

Here is the code I tried to 'click ': event

sym.getSymbol("Anim").deleteSymbol ("Anim");

sym.getSymbol("Text").deleteSymbol ("Text");

SYM.$("text"). Remove();

Another question: what happens if I want to delete all items that are now on the scene (symbols + elements)?

I tried:

sym.getComposition () .getStage () .getChildSymbols () .deleteSymbol ();

but it does not work.

And, if I can 'clear the scene' to move to an other 'scene' where I put other animations and text, how can I do this? How practically to create a new "scene"?

Thank you very much in advance for your valuable help!

Davide

Hello Davide,.

(1) copy the following code will work on your Clear.click:

sym.getSymbol("Anim").deleteSymbol ();

SYM.$("text"). Remove();

Note: Line #2 [sym.getSymbol("Text").deleteSymbol ("Text");] prevented line #3 [sym.$("Text").remove ()] to run.

(2) now, if you want to clear your scene:

SYM.$("stage"). Children(). Remove();

I checked the two codes [1) & (2)] by using your file.

Tags: Edge Animate

Similar Questions

  • A909G - cannot remove all of the old software, to install new

    Hello

    I've had this A909G (8500 wall) for several years now. And mysteriously it would fall the scanner, or for some reason, need of resettlement.

    Today is no different, for some reason, I couldn't print, and when I checked Photoshop, scanner has been deleted, so I am trying to remove all the software via CCC - level 4. Says ok reboot and try to continue with new install and after verification, the program stops. The printer is connected to the wireless router and can be seen by the diag program. Doc, nothing more.

    Please, any idea how to irradicate completely all the HP files so it can start to clean up?

    Thank you

    Fred

    Honestly, on the issue of driver I don't know.  I abandoned Windows years...  Not to be missed.

  • Cannot access all of the properties in devices and printers

    When right-clicking on any icon in my devices and printers and clicking Properties I get the error "the properties for this device are not available."

    Hello Powell,

    This problem may occur because of corrupted system files. System File Checker is a Windows utility that allows users to find corruptions in Windows system files and restore the damaged files.

    See the link below for more information on how to scan SFC on Windows 7.

    Use the System File Checker tool to repair missing or corrupted system files

    I also recommend to check that the links provided below which have information on changing the settings of devices.

    Change the settings for a specific device Type

    Windows 7: manage devices and drivers

    Do we know the State of the question so that we can help you further.

  • Why I get this trying to empty the Trash: the operation cannot be completed because the item "IMG_0645.jpg" is in use

    After selecting and dragging some photos of Photo on the desk I have their attached to an e-mail and sent them to the coast. Then I selected the 5 photos on the desktop and put them in the trash. When I tried to empty the trash later I received the following message: the operation cannot be completed because the item "IMG_0645.jpg" is in use.

    Aren't these photos on the desktop 'copies' of the originals in the Photo?

    All wise users out there with an answer?

    stop, disconnect all external devices

    Restart your computer in safe mode

    Try safe mode if your Mac does not end commissioning - Apple Support

    empty the trash after checking the files in there are of no use to you

    arrested again

    Reconnect the external devices

    reset.

  • I am unable to PDF vacuum garbage.  I get a pop up: the operation cannot be completed because the item is in use.  Any suggestions?

    I am unable to PDF vacuum garbage.  I get a pop up: the operation cannot be completed because the item is in use.  Any suggestions?

    Are all the other apps open while you try to do this?

  • Cannot remove messages from the Inbox

    I'm unable to remove items from the Inbox

    You did not mention what e-mail program you use. These instructions will help you with Outlook Express.

    Spend most of your messages out of the Inbox if you can and move the messages you want to record off deleted items, and sent items. Locate the OE message store and then close OE.

    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.

    In Windows XP, Win2K & Win2K3 the OE user files (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.

    With OE closed, find the Deleted Items.dbx and Sent Items.dbx files and delete them. New files will be created automatically when you open OE.

    Compact all folders as described below.

    To avoid this in the future:

    Do not archive mail in the receipt or sent items box. Create your own user-defined folders and move messages you want to put in them. Empty the deleted items folder daily. Although the dbx files have a theoretical capacity of 2 GB, I recommend all a 300 MB max for less risk of corruption.

    Information on the maximum size of the .dbx files that are used by Outlook Express:
    http://support.Microsoft.com/?kbid=903095

    After you're done, followed by compacting your folders manually while working * off * and do it often.

    Click Outlook Express at the top of the the folder tree so no folders are open. Then: File | Work offline (or double-click on work online in the status bar). File | Folder | Compact all folders. Don't touch anything until the compacting is completed.

    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the processors and causes a multitude of problems such as time-outs and account setting changes. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
    http://www.oehelp.com/OETips.aspx#3

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • I sell desktop computer and need to know how to remove all of the pc?

    I sell desktop computer and need to know how to remove all of the pc?

    The most difficult part of the first paragraph is to create the boot floppies - which can be complicated and requires installation of Windows disks.

    Perhaps a third simple but effective alternative is simply to re - install Windows on your computer from the disc that came with your computer or from the recovery partition.  Resettlement will delete all files on the disc and replace them with the New Installation of Windows.  At this point, the fragments of your old files may remain on your hard drive.  So once relocation complete, download and install the freeware 'Eraser' software, run it and you want to specify the "free space" erased on your hard drive.  This will overwrite firmly all the data remains that has not already been overwritten by the Windows Installation.

    Eraser: http://eraser.heidi.ie/download.php>

    HTH,
    JW

  • reduce the size of the seeds by car - remove ALL except the Base and last Incremental?

    I need to make a seed for a few VMs player.  but I don't need all of the incremental backups.   Is it safe to keep only the Base and the most recent Incrementaland remove all of the incremental backups between?  I think that this will help reduce the size of the seed and speed things up.

    I think that the answer is Yes.

    jordanl17,

    You do a range to remove and do what you're asking.

  • How to remove all of the Widcomm / Broadcom driver files without afecting Windows 7

    WIDCOMM/Broadcom Bluetooth does not connect to any device. I tried troubleshooting, uninstalling and reinstalling in various ways, including Revo (Revo search all installed files if installed with it, which wasn't my original case), without success. I want to clean the computer of any trace of the driver Widcomm/Broadcom again restart. As know, there is no way to remove all of the Broadcom driver files (sounds similar to drivers who need specific applications to remove their display files). I also need to clean the registry of this batch of Broadcom entered and port settings. Unable to set the permissions of port settings to delete HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\BTHENUM and the BTH

    The search for answers, I couldn't find any thread containing any viable solution or confirmed to fix Broadcom Bluetooth on Windows 7, but on an old thread there is a tutorial by Shinmila: witch would solve my problems, as described. He points to the guilty finding drivers and remove them. According to my experience, there is no need to reinstall the driver on remains stale. However. I'm not sure that any of these drivers will not need to Windows. I tried a few things from her tutorial without result. Shinmila link to the support site for Widcomm is no longer valid, and I couldn't find any support he...

    Where my questions:

    1. Can I safely delete all files found by searching on its method 2?
    2. How to clean the ports of registry and other settings?

    I am open to all ideas and suggestions which put me using Bluetooth, but from my experience, I believe that. as for the display drivers, I have to have my PC without remaining driver files and settings. Thank you for all provided assistance.

    The only reason why you could not delete the key \services\BTHPORT is because you don't have the appropriate permissions on some of its underlying subkeys, specifically you didn't have all the permissions on the subkeys of \BTHPORT\Parameters\ExceptionDB\VidPids.  I have no problem taking complete control over the underlying of the subkeys either directly or by inheritance and then removing the key BTHPORT.  Regarding PsExec switch-s allows him to start a process under the guise of the system account where you can pretty much do as you please.

    If the old drivers from Targus gave you problems, then I suggest that you use the latest drivers for Broadcom, of course, you won't know this they solve your problem until you try them.

    John

  • I use LRM6 with Win7.  Cannot display all of the subfolders on external drive with photos.  Can't see most recent used folders.  How can I get all the records to display in the tree when the library module?

    I use LRM6 with Win7.  Cannot display all of the subfolders on external drive with photos.  Can't see most recent used folders.  How can I get all the records to display in the tree when the library module?

    Syrup72 wrote:

    Why I see pictures when I click on the tab all the photos above, which do not show in the tree on the G: drive?

    DSC_2429 is in the shown locaton and present in all the Photos, but there is no folder "Tulsa"... "in the tree.

    The left pane is a "choose one". "All photos" are just that. 'G' is a different option.

    Lightroom is not a file Explorer. He knows only the drives and files that you have imported the photos of. If LR shows not all of the photos that are on your hard drive, it is because you did not import all photos.

    If LR shows you a photo in "all photos" but do not show it in the folder you think he is in, go to "all photos", select the image, right click "view in the library folder. This will show you where LR think the picture is.

  • My recipient Receive the answer that the file I sent is not available or that they cannot open all of the files that I send.

    My recipient Receive the answer that the file I sent is not available or that they cannot open all of the files that I send.  I have not had this problem in the previous version of Adobe send.

    We have seen this happen when the link you send is broken up in the recipient's email.

    Using anonymous or custom links? Anonymous, how you send the link to your recipient?

    If your recipient send the link to you, can you open the file it?

  • Upon completion all of the updates is safe to delete the system (old and new)

    Upon completion all of the updates is safe to delete the system (old and new)

    Hello

    No, it's not OK to remove

    If you delete them they will be installed is no longer, will they?

    so, they do the job they have been installed for if they are deleted

  • Y at - it a keyboard shortcut, which moves the item target upward and down channels?

    Y at - it a keyboard shortcut, which moves the item target upward and down channels?

    Open KBSC and type UP (or DOWN) in the search.

  • Can we all define the difference of hard and soft analysis the analysis

    Can we all define the difference of hard and soft analysis the analysis coming in SQL tuning advisor and ADDM recommendations.

    To improve the same needs to be done. Please advise on the same.

    Thank you

    What is analysis?

    -> any query SQL under validation goes to the shared pool

    Validation: check the syntax, semantic check, etc...

    Hard analysis SQL going for below in the shared pool

    Syntax

    Semantics

    Transformation of the query

    Optimization

    Create an executable

    E/S

    soft analysis (reduced time spent by jumping the redundant task)

    Transformation of the query

    Optimization

    Create an executable

    E/S

    Thank you.

  • cannot be synced because there is not enough free space to hold all of the items in the iTunes library

    cannot be synced because there is not enough free space to hold all the items in iTunes (required additional 194.8 MB) library.

    It is not supposed to because I have enough memory on my iPad.

    Help, please

    ckucharek wrote:

    It is not supposed to because I have enough memory on my iPad.

    Not based on what? You have not provided any information as to the amount of space you have left and what is the total capacity of your iPad. He must leave a certain percentage of the free capacity at all times, so if you have a 32GB device and you are up to 2 GB of free storage, which could in fact be severed close... If it says you need to 194.8 MG of free space that would be in addition to the amount that you see as free space.

    It also depends on what you're trying to sync on iTunes as well. What content, apps, songs, etc.

    So... can provide you more details?

Maybe you are looking for