I want to use for the next loop to reduce the code to make of removechild)

I work if (addChild (bmp1)) - removeChild (bmp1). But I need to do it 20 times. I thought I could use a for/next loop, but this day can't do things.

for (var i: Number = 0; i < 21;) I ++)

{

my_bmp. Name = "bmp" + 1;

If (addChild (my_bmp))

{

removeChild (my_bmp);

}

}

}

This code from the compiler, but when I run it I get "a term is undefined and has no properties." I think it has something to do with my_bmp.name? I tried several things and just cannot break.

The name of an object is just a string.  for the compiler to treat it as an object, you can use the getChildByName() method or even the support rating.

removeChild (this.getChildByname (my_bmp));

OR

removeChild (this [my_bmp]);

I'm guessing that you intend to use "bmp" + String (i) instead of "bmp" + 1

Tags: Adobe Animate

Similar Questions

  • I am very new to the software online, please bear with me.  My question is this: I want to create my own designs I want to use for the manufacture of silk scarves.  I have to provide these designs of production of silk professional so they

    I am very new to the software online, please bear with me.  My question is this: I want to create my own designs I want to use for the manufacture of silk scarves.  I'll have to provide professional silk production houses these designs so that they can use my design patterns to create these scarves in silk for retail customers.  What application Adobe should I consider, and I can get a first experimental?  Thanks a lot for your help.  Looking forward to your response.  Best regards, Sunaura

    Hello

    You can try to use Illustrator or Indesign.

    Desktop publishing software | Free download Adobe InDesign CC trial

    Hope that helps!

    Kind regards

    Sheena

  • How can I stop Firefox opening iTunes or ask me which application I want to use for the links from the itms/itmss?

    When I opened iTunes App Store link, Firefox wants to automatically open iTunes. In Options > Applications, I found the itms and itmss content types, which causes this behavior. I can change "always ask them", but when I do, I get a automatic every time I open the link asking me to choose between "iTunes" or "Choosing an Application." To avoid future pop ups, I check "Remember my choice for itmss links" but only after selecting iTunes or another application. There should be a third option there for 'doing nothing '. Is it possible to tell Firefox to ignore completely the content of the itms/itmss?

    COR - el said

    Is there some prefs the protocol handler if you are looking for the topic: config page?

    • Network.protocol - handler.

    You just solved my problem - there is no Network.protocol - handler.external. itms or itmss prefs, so I added the Boolean values:

    Network.protocol - handler.external.itms
    Network.protocol - handler.external.itmss

    Set to false and voila! No iTunes, don't ask me what program to use.

  • What type of service you want to use for the Proxy Service

    I have a question about a service Proxy.

    I need a local (local transport) the Proxy service which is called by another proxy service.
    It is a synchronous service that has an incoming message XML and an outgoing XML message.

    I have the following questions:
    -Does make a difference in performance when I choose a webservice WSDL or a courier service?
    -Which would you choose and why?

    Thanx

    Does make a difference in performance when I choose a webservice WSDL or a courier service?

    There would be little difference.

    Which would you choose and why?

    I would choose XML type type e-mail proxy because the input and output XML messages. I choose WSDL web service because it should be used in the case of SOAP packagaing only (in the context of web service, to enable SOAP and WS support) to make fun of a web service that has a WSDL (and an XSD) that is associated with.

    Kind regards
    Anuj

  • The same POPup can be used for the two buttons

    Hi all

    I'm looking for an application where I need to use the same popup for two different buttons. This popup has a form of the ADF. I want to use for the Insert on a table of the ADF operation. The requirement is something like below

    A JSF page should have an ADF read only table with 3 buttons Insert, read, delete respectively. Buttons Insert and should be using popup which the user can enter data and display the data respectively. I am

    way to a form of the ADF for the insert PopUp. Now the problem is when the user selects a row in the table and click on the View button it should open a popup with read only form displaying the data from the selected row. For this I use the

    same popup which I use for insertion of information by changing properties readonly or I have to create a separate popup for the purpose of seeing it please help me out in that.

    Thanks in advance.

    Published by: 959766 on November 6, 2012 10:11

    You can use the same popup...

    Timo

  • How can I change password to get into my computer? I am now in my computer, but want to change for the next time I open it.

    How can I change password to get into my computer?  I am now in my computer, but want to change for the next time I open it.  Thank you.

    Click Start, click your account at the top right picture, click on 'change your password '. You must then enter the old password and a new.

  • Need advice. Weather a small wacom tablet will be adequate for photography photoshop, or should I buy way. I want to use with the 13 "macbook pro

    Need advice. Weather a small wacom tablet will be adequate for photography using photoshop, or should I buy way. I want to use with the 13 "macbook pro

    If you carry your computer in a bag that is made for a 13 "laptop, the small tablet will fit as well. I have done this and found the small tablet to work properly. However, I found a screen 13 inches of being terribly cramped for using Photoshop.

  • Hi I use PH CS6 on an IMac, I try to print a picture when I clicked on what kind of paper I wanted to use from the dropdown menu and the photos the two disappeard. W when I tried to print the same photo I get this. There was an error poening your printer.

    Hi I use PH CS6 on an IMac, I try to print a picture when I clicked on what kind of paper I wanted to use from the dropdown menu and the photos the two disappeard. W when I tried to print the same photo I get this. There was an error poening your printer. print functions will be unavailable until you have selected a printer and reopened all documents. If I open the picture in preview oe my IPad it will print. So, how to choose a printer in PH CS6? Thanks John

    Jakee, salvation

    Please follow the steps below to reset the photoshop preferences.

    > Hold down Option + command + shift (Mac OS) when you start Photoshop. You are prompted to delete the current settings. New preferences files are created the next time you start Photoshop.

    Note: Using the hotkey, preference files for custom shortcuts, workspaces, and color settings will also reset to the default.

    If you are still facing the same issue, please uninstall and reinstall the printer drivers and check for the issue.

    Also, please mention what operating system are you using?

    Let me know if it helps.

    ~ UL

  • The scheme &lt; SOA &gt; _OPSS is already used for the safety of the point of sale. Please create a new scheme

    All,

    version: 12.1.3

    I am trying to create a new area where I wanted to use the same scheme used in the existing domain.  It failed with the below error

    com.oracle.cie.domain.security.external.ConfigSecurityException: oracle.security.opss.tools.lifecycle.LifecycleException: security of the store DB configuration error. Oracle.security.opss.tools.lifecycle.LifecycleException of exception: the SOA12C_OPSS schema is already used for the safety of the point of sale. Please create a new schema.

    Is it mandatory that the scheme (creating the UCR) used in a field cannot be used for the new domain?  or am I missing something? Please notify.

    Thank you

    Sen

    That's the point... So actually you were never more than one domain using the same patterns, you have never shared patterns on different fields... You had a domain which would sometimes... Not possible in 12 c but because of OPSS more... Maybe you could just the OPSS schema duplicated, but you would always use the platform so that it was not intended to...

  • Liquid markup - how to use (for the rest of us)?

    I read a lot of things in the developer section BC liquid. Clearly for the programmers out there, it's like plain English what she gets. However, for the rest of us, designers and our customers, there are large gaps in the way it is presented. It assumes that we have a basic understanding of the functions on the server side and on the side of customer calls. I would say it seems intense collaboration between the province of British Colombia and the "expert" group of advisers in the liquid application with BC is ahead of the rest of the customers of BC scratching their heads.

    What seems to be missing is the step by step guides that BC developed for its previous syntax, with examples for each module, even examples of HTML work. And does not suggest that it subscribes to a course of Liquid by a third party. BC made the changes, and I'm expecting BC to provide the best documentation, guides, and tutorials.

    For example, after reading and re-reading the liquid documentation BC (for developers) I googled liquid to see if anyone had made any sense it to '' the rest of us. '' I came across a tutorial (Infinite business catalyst product detail Layouts |) Joe Watkins | Adobe Business Catalyst tutorials - tips & tricks) which explained mustache (a solution javascript much debated and turned in derision by some people in this forum; although debate reads like a pretty eyes and devoid of logic for "the rest of us"). Now before you say that moustache is not the same thing, etc. client-side's point was that it was EASY to understand. BC seems to have forgotten the "rest of us" in his excitement.

    BC seems to have become more complex than ever, creating a wide gap between those who are experienced programmers and customers who wanted a simple CMS to manage their Web site. I am sure that liquid offers brilliant functional solutions, but it can be difficult to access without understanding how to use it.

    However, attractive interface and functionality of Squarespace we makes you wonder what is happening on Earth at BC. You can all you like to argue about the technology behind Squarespace, but it totally works on BC in the way in which it is marketed, presented and used by the very market that BC is intended.

    I hope that BC, with the release of liquid, at least with a "how to use (for the rest of us).

    I can't help to wonder if the redevelopment of Colombia-British got hijacked by the developers, when he should have been hijacked by marketing initially.

    Hey Simon,

    Its a templating language and the programming language basic, must never anything the customer needs to see, touch or concern. We have been running the stuff of bedbugs in brass on the liquid for a few months and I know the sandpile a running as well things - I think that say there are a lot of people happy and I have not seen a case of head scratching total with everyone. Some people of course, but you must also be aware that liquid is not final, it isn't here for all sites and developers forum is above all the work to ensure that it has the features he needs, his work at 100% and ready for prime time. With this documentation is largely up to date in many areas and guides etc will.

    You have all these:

    Developers

    And the ready reference information and existing code snippets in - the Developer Reference

    But like I said, its not direct things yet if are still ongoing, evolving and updated.

    In terms of saying moustache - it is pretty much the same language in many ways - much the creation of models of language are.

    In terms of BC - they tried the simple way, they went with Muse, they did more with the ice, the more simple things - BC has not progressed and lost big BC partners etc. Dreamweaver saw what he removed from the main application and so on. BC needs to move forward and this is the real way forward, must pick up digital agencies, many sites of coherent long-term based on the platform so that it can develop. Of course, Squarespace has a nice interface in version 7, but have you used? VERY limiting, your will not build sites Web tailored to your customers that meet the needs of their online business can grow.

    But yes, what your ask Simon, is already past and you have to remember the liquid is NOT yet final.

  • What vmnic driver to use for the spine of 10g

    Hi any recommendation on what vmnic driver to use for the virtual machine if I have a spine of 10g? I use Vcentre 4.1 U2

    Hello.

    This will depend on the guest OS, but if you just want pure performance then VMXNET 3 would be the one to try. Also check out the kb VMware "choose one network adapter for your virtual machine.

    Good luck!

  • Hello, do someone knows if the App Skycure is interesting to use for the security of the iPhone?

    The pp Skycure is interesting to use for the security of the iPhone?

    I doubt it. You need some protection when the computer opened and then install and use a VPN. SaturnVPN is effective and inexpensive.

  • What is the MTBF method, used for the cRIO 9012, is the method of counting of Telcordia under what conditions?

    What is the MTBF method, used for the cRIO 9012, is the method of counting of Telcordia under what conditions? (Temperature, humidity, etc.)

    Hi jojosalud,

    According to the specifications for the cRIO-9012, the MTBF is 330 481 hours at 25 ° C; Question of Bellcore level II.

    Kind regards

  • The Parental account for my child's account has been disabled for inactivity and to accept the new terms of use for the xbox update must be parental confirmation.

    The Parental account for my child's account has been disabled for inactivity and to accept the new terms of use for the xbox update must be parental confirmation. I can't do this because even when you type the parental email address in the password recovery, it does not recognize because because it is inactive. I need a Windows Live technician to reactivate the account and I don't know if I should put the email address of the account here for security reasons. My other question is also if you can't reactivate can you switch parental permissions to another account.

    -Thanks, Michael

    Hello

    What version of the Windows operating system is installed on your computer?

    I suggest you to refer to the following article in the Xbox and check if it helps.

    Xbox LIVE connection issues:

    http://support.Xbox.com/en-us/billing-and-subscriptions/Windows-Live-ID/Xbox-Live-sign-in

    If the steps in the section of the Xbox did not help, then it would be better to post the same question in the Windows Live ID portal and forum Xbox to get help. We have a dedicated team to help you with questions of this type.

    Windows Live ID Portal: http://www.windowslivehelp.com/product.aspx?ProductID=10

    Forums Xbox: http://forums.xbox.com/

    Hope the information is useful.

  • This license to use for the banks of the device Indian co

    If the Bank is already a licensee for Windows now this license should be used for the renewal. (Indian co-operative bank)

    Volume Licensing is the solution for organizations who would like to keep their PC fleet up-to-date with the latest Microsoft Software. such as Windows and Microsoft Office.

    Microsoft Volume Licensing Homepage

    Operation Volume Licensing
    Microsoft License Advisor

Maybe you are looking for