What is the replacement for eval in AS 3.0?

hi,
I have 4 movieclip in the stage. Its instance names are mc_1, mc_2, mc_3, mc_4.
To change the x posititon of this movieclip I can use the below AS 2.0 code. It is working fine.
for (i=1; i<=4; i++) {
            eval("mc_"+i)._x += 10
I like to know how to write this statement in AS 3.0. Any help…..
Thanks
ayathas

If those are instance names you assigned via the properties panel, you can use the bracket notation:
for (var i:uint=1; i<=4; i++) {
            this["mc_"+String(i)].x += 10;
The bracket notation also works in AS2.

Similar Messages

  • What is the replacement for design view in in flex builder 4.7 for cs extension builder?

    Because design view is not available in flash builder than what is the use of extension builder in UI designing now we have to do design UI with xml which is very time consuming and boring  if there is any replacemnt for it than please help me .1 more thing i want to know is that when i make new default project in extension builder(flash builder 4.6) than it also not able to load design mode errror is
    C:\Program Files\Adobe\Adobe Flash Builder 4.6\eclipse\plugins\com.adobe.cside.libsinstaller_2.0.0.4-33034\archive\cslibs\2.0\4.5\re lease\apedelta.swc- not respondingSWC file failed to load. Any component dependent on this SWC file will not be displayed in the Design Mode.The SWC may have failed to load because of:
    *  Incompatible definitions caused by usage of a different SDK version
    *  Missing referred class definitions

    I have researched this quite considerably and my understanding is that Adobe have no intention of supporting Design View any more for Extension Builder.  In my opinion a very disappointing decision and one that is hard to comprehend.
    The best workaround I can find is to create the majority of your design in a parallel, non Extension Builder, project and then convert/import your design into your Extension.  This is by no means as satisfactory as having Design View for the Extension you are writing but it is better than simply creating your layout by guess work/trial and error.
    Although this has not been announced by Adobe, I have a suspicion that the reason they have decided not to put any further resources into fixing Design View is that Extension Builder as we know it is going to be abandoned soon, probably replaced with an HTML5/JavaScript method of building extensions.  My concern with this is that, other than wanting reassurances that there will be backward compatibility support for old extensions, There will not be a way of compiling an extension in a way that prevents people from seeing your code.
    This is all speculation and I guess we will have to wait and see what happens.  Hope this has helped.

  • What is the replacement for fm table_compress in ECC6

    Hi ,
    I am doing the ABAP remediationn from 4.7 to ECC6. Can you please let me know how to replace the obsolete function module TABLE_COMPRESS. As per the threads in SDN I came to know that there is a class availabe CL_ABAP_GZIP.  But I am not clear how to make use of this. Do we need to implement any OSS note for this.
    Thanks,

    Hi,
    No note needed, CL_ABAP_GZIP is available in ECC 6 (more precisely in NetWeaver 7.0 systems). Search forum for examples.
    BR
    Sandra

  • What is the replacement for Adobe PhotoDeluxe Business Edition?

    It worked fine on my XP computer but won't install on 7. Right now if I want to use it, I have to copy the photos to an external hard drive, unplug the monitor, external hard drive, mouse and keyboard cables from my 7 computer and connect them to the XP computer and boot it up, use the program, copy the pictures to the EHD again, then reverse the cable swap. It's getting old to say the least. What is a compatible version that would work on 7? An older version is fine as I rather just buy it used on Ebay anyway. And I don't want to learn a new system so it must Adobe. Would any of the Photoshop Elements 3, 4, 5, etc. work?

    Photoshop Elements version 5 and up works on Windows 7.
    Download the free trial of version 13 to see if it does what you want to do:
    https://www.adobe.com/cfusion/tdrc/index.cfm?product=photoshop_elements&loc=us

  • What is the proceedure for replacing a hard drive (after failure) for RAID 5 with IX4-300D?

    I have the IX4-300D with 4 hard drives (identical Seagate drives) using RAID 5.
    Someday a hard drive will fail and I and I have to replace it. I read through the users manual briefly and I didn't see any documentation on how to perform a hard drive replacement and not lose any data.
    So here are my questions:
    1) I know per the instructions that Lenovo prefers using identical hard drives. Let's say in 2 years, 1 hard drive fails. Most likely, the same model Seagate hard drive will not be available. So will using a replacement hard drive by the same manufacturer with similar specifications work?
    2) Will the front panel (or the software) tell me which hard drive has failed?
    3) What is the proceedure for replacing a hard drive after a failure occurs? I read that the IX4-300D is not hot-swappable. So do I just power the IX4-300D down, replace the hard drive, and turn it back on?
    Solved!
    Go to Solution.

    Hi exceptionalht,
    It is best to replace the hard drive with one that is the same manufacturer, rotational speed, and capacity, so it does not have to be exactly the same model.
    The front panel should show which drive has failed. If not you can check the web interface to find out.
    That is the basic procedure for replacing a hard drive. You can see a more detailed instructions here: Installing hard drives in an ix4-300d 
    Have questions and need answers?
    Search the database for answers to FAQ's, software/driver downloads, tutorials, news, features and more!
    LenovoEMC Support & Downloads
    LenovoEMC North America Support Contact Page

  • What will  the replacement be for the ipod nano 1st gen

    Would like to know if anybody knows what will the replacement be? Also has anybody received it? I'm still waiting for the box will be 3rd week waiting.....thanks for any information

    Apple appears to be replacing 1st generation nanos with the same product - 1st gen nanos. The only difference seems to be that the new ones do not have any personal engraving.
    Be sure you stop using your old nano.
    Best of luck.

  • What is the number for Verizon Wireless  Corporate Customer Service Complaint for CA

    My Complaint:  I have been a Verizon Wireless customer for approx 20 years.  I called customer service to seek an early upgrade for my daughter's phone. She is away in college and her phone is malfunctioning.  She is eligible for an upgrade in approx 6 weeks so I did not want to spend the money on a replacement phone when since we were planning on updating to something newer.  The customer service rep to me they could not do the early upgrade an to call back in a few weeks. After explaining this was unacceptable (I do not like the idea of a young female being out of state and away from home with no reliable means of communication), she places me on hold to later return with the only offer of  I must purchase a new device through her ( over the phone) which will be shipped to me, the phone was priced $100.00 more than the online price (they will not price match), plus i must pay $30.00 upgrade fee, $35.00 activation fee and taxes on the retail price of the phone.  I am upset and disappointed with the quality of service provided by Verizon being a 20 year customer.  If not for the seriousness and urgency of this matter, i would not have asked for an early upgrade.  It is times such as these that you get to see how much of a "valued customer" you really are.   I guess you are valued as long as you pay your bill and continually  purchase their products.  I would like to speak with someone from Verizon's corporate or customer relations department.  As of now I am really considering changing my service to a different provider.  I have multiple accounts with Verizon and i will canx each after the current contract committment expire (starting with my daughter's phone which expires in 6 weeks) In the meantime I will go purchase her a new phone with someone else and take comfort knowing she will have reliable communication.

    I started with them in 1985. It has been wonderful service but very expensive. They seem to operate on day of deposit day of withdrawal. That means that I have no benefits nothing beyond the normal customer if I don't pay my bill they shut me off. That's why I have switch to another provider and I have better service lower cost and better phones. you can't beat  other providers I mean it. Please don't expect more from verizon other than a "pay me more money and I'll do what you want" because it's all about money. Read the transcripts from current Verizon employees all over the internet. The company is going down and they're taking customers with them.
    msvat <[email protected]> wrote:
    msvat  created the discussion
    "What is the number for Verizon Wireless  Corporate Customer Service Complaint for CA"
    To view the discussion, visit: https://community.verizonwireless.com/message/1113982#1113982
    >

  • What is the location for the swatches file in the illustrator product part of Adobe Creative Suite 3 Design Premium for windows (date and lenght)? File that manges its funcionallity.  Thanks

    As per adobe agent chat representative, the following question is posted on the fórum to obtain an answe from adobe.
    What is the location for the swatches file in the illustrator product part of Adobe Creative Suite 3 Design Premium for windows (date and lenght)? File that manges its funcionallity.
    Thanks
    <moved from downloading,installing,setting up - kglad>

    Illustrator is not working as it should...
    I want them to compare the original size and date of creation with what I have installed on my computer... I have installed several times with my original CD and I tried once downloading the files from the adobe site (using my own license). I suspect the files has been modified or renamed on my laptop by an external unauthorized user causing the malfunction of the application. 
    Customer services does not support CS3 anymore and the updates / patches in the adobe site does not solve the problem... They redirect me to the forums for support...
    Presently, my problem is that after creating a swatch and drag it to the swatch panel, it does not fill as it should a new form... Now, after deactivating and activating my license the swatch seems to fill the new form but when the filter that the swatch has is persistence in the next filling object created even though a different color is being used as a fill (X)... Help in the creation of a swatch over the internet just complicate the issue.
    That's why I would like to know whether updates on my product are being received or files are being replaced without my knowledge...
    Thanks...
    PS Do you know how to contact a staff adobe employer on the forums?

  • What is the fix for some applications repeatedly asking permission to accept incoming connections?

    What is the fix for some applications repeatedly asking permission to accept incoming connections?
    On every restart, AutoPairs and Epson Event Manager asks me to reject or agree to allow incoming connections. It is very aggravating and time-wasting. I know other Mac users who have the identical problem with other applications on their Macs.
    Isn't there some way to make my Mac understand that "Yes" means "Yes" once and for all?
    I am presently running Yosemite, but this was a problem with prior OS X versions too.
    Respectfully,
    Nate

    This is a comment on why you might, or might not, want to use the built-in Application Firewall.
    The firewall blocks incoming network traffic, regardless of origin, on a per-application basis. By default it's off, and when turned on, it allows applications digitally signed by Apple, and only those applications, to listen on the network. It does not block outgoing traffic, nor can it distinguish between different sources of incoming traffic, nor does it filter traffic by content.
    No matter how it's configured, the firewall is not, as some imagine, a malware filter. If that's what you expect it to do, forget it. All it will do is bombard you with pointless alerts.
    Consider some scenarios in which you may expect the firewall to be useful.
    1. You enable file sharing, and you allow guest access to certain folders. That means you want people on your local network, but not outsiders, to be able to access those shared folders without having to enter a password. In the default configuration, the firewall will allow that to happen. The router prevents outsiders from accessing the shares, whether the application firewall is on or off. But if your computer is portable and you connect it to an untrusted network such as a public hotspot, the firewall will still allow access to anyone, which is not what you want. It does not protect you in this scenario.
    2. You unknowingly install a trojan that steals your data and uploads it to a remote server. The firewall, no matter how it's configured, will not block that outgoing traffic. It does nothing to protect you from that threat.
    3. A more likely scenario: The web browser or the router is compromised by an attacker. The attack redirects all web traffic to a bogus server. The firewall does not protect you from this threat.
    4. You're running a public web server. Your router forwards TCP connection requests on port 80 to your Mac, and the connections are accepted by the built-in web server, which is codesigned by Apple. The application firewall, still configured as above, allows this to happen. An attacker hacks into the system and tries to hijack port 80 and replace the built-in web server with one that he controls. The good news here is that the firewall does protect you; it blocks incoming connections to the malicious server and alerts you. But the bad news is that you've been rooted. The attacker who can do all this can just as easily turn off the firewall, in which case it doesn't protect you after all.
    5. You're running a Minecraft server on the local network. It listens on a high-numbered port. You, as administrator, have reconfigured the firewall to pass this traffic. An attacker is able to log in to a standard account on the server. He figures out how to crash Minecraft, or he just waits for you to quit it, and then he binds his own, malicious, Minecraft server to the same port. The firewall blocks his server, and because he's not an administrator, he can't do anything about it. In this scenario, the security is genuine.
    6. Here is a more realistic scenario in which you might have reason to enable the firewall. Your MacBook has sharing services enabled. You want those services to be available to others on a home or office network. When you're on those networks, the firewall should be off. When you move to an untrusted network, you can either turn off all the services, or enable the firewall with a non-default configuration to block them. Blocking is easier: one click instead of several.

  • What is the roadmap for BI-IP product w.r.t BPC

    is it true that BPC will replace or serve the same function as BI-IP?
    IF SO,
    what is the rationale for such quick product replacement and what is the future direction for this planning product IP?
    not long ago there is BW3.5 . then came BI 7 recently and that comes with IP, and now BPC in such a short span of time?
    please share your views.

    Hi,
    First of all I would like to recommend you the relvant forum for all topics related to CPM:
    You might get your answers refering to BPC and/or CPM more quickly and more precise at this forum:
    Expert Forums » Business Process Expert » Corporate Performance Management
    I welcome you to have a look there.
    I did a quick research there and I found some information which might be interesting for you. You can find more about this at the following blog:
    /people/muthu.ranganathan/blog/2007/05/22/sap-gets-serious-about-epm
    Recommendations to existing customers
    2007-07-10 20:35:28 Muthu Ranganathan Business Card Reply
    As indicated earlier to another response in the blog, SAP would continue to support BPS,as per the existing maintenance arrangements. As of SAP NetWeaver 7.0, BI Integrated Planning (BI-IP) replaced BPS, so BPS is no longer being developed any further.Development plans for BI Integrated Planning will be unchanged by the OutlookSoft acquisition as BI-IP will continue to be SAP’s long-term planning infrastructure.SAP Strategy Management is SAP’s strategic nextgeneration
    product in that category(scorcarding/strategy). However SAP would continue to support BSC as per the existing maintenance arrangements.
    Some additional elements to each of the question:
    1. Do we stop all new development in these products and start utilizing the new CPM product offerings right away?
    If you already have implemented element of SEM, the maintenance allows you based on a SEM 6.0 (mySAP ERP 2005) to work on maintained product until 2013. Applications of the CPM suite are of course the recommended path for new customer, however, as each customer situation is different, I would recommend to use your local SAP contact to discuss these issues.
    2. Do we continue new development in the old products and convert in the future (when the new CPM suite has stabilized and SAP has stopped further acquisitions)?
    Each products of the CPM suite are now available in a stabilized and mature version, however the integration and Netweaver as a unified platform is not available. So it is more about integration than about stabilization. For more insight on the SAP roadmap again get in touch with your SAP contact.
    3. Do we stop all new development in these products and use alternative SAP products like BI integreted planning, Visual composer etc. which are more mature than the new CPM products and are not scheduled for obsolesence like SEM and BPS? Then in the future we migrate to the new CPM suite when it is stabilized?
    BI integrated Planning and Visual Composer are part of the technical infrastructure in Netweaver, whereas CPM elements are Application designed for performance management and with business user centric concepts. Again these products are fully matured and stabilized and the roadmap of the CPM group is to unify the technology platform and get the convergence of all Planning and Consolidation tools.
    Thanks
    ++++++++++++
    So I hope I could help you at least a bit,
    Best regards,
    Felix

  • What is the condition for using 'for all entries' and  why?

    what is the condition for using 'for all entries' and  why? can any body tell the reason for this ? its a big favour of me .
    regards,
    ravi.

    hi,
    for all entries is used to join two or more tables.
    It is same as join but performance wise for all entries is more effective.
    You can only use FOR ALL ENTRIES IN ...WHERE ...in a SELECT statement.
    SELECT ... FOR ALL ENTRIES IN itab WHERE cond returns the union of the solution sets of all SELECT
    statements that would result if you wrote a separate statement for each line of the internal table replacing the symbol
    itab-f with the corresponding value of component f in the WHERE condition.Duplicates are discarded from the result
    set. If the internal table itab does not contain any entries, the system treats the statement as though there were
    no WHERE cond condition, and selects all records (in the current client).
    for example:
    SELECT * FROM sflight INTO wa_sflight
    FOR ALL ENTRIES IN ftab
    WHERE CARRID = ftab-carrid AND
    CONNID = ftab-connid AND
    fldate = '20010228'.
    this condition, return all entries of the sflight
    hen using FOR ALL ENTRIES the number of matching records is restricted to the number of records in the internal table. If the number of records in the database tables is too large then join would cause overheads in performance. Additionally a JOIN bypasses the table buffering.
    So for all entries is used for filtering out the data from the two tables based on the entries in them.
    Advantages:
    1) For all entries avoids inner join & so the performance increases.
    2) For specified values in 1 itab, if you to fetch values from other table you can use it.
    3) Use of select stmt in loop is gets avoided, as u can use read statement on the the new itab.

  • What is the brand for mini 110-4111ej Hard drive?

    What is the brand for mini 110-4111ej Hard drive?
    This question was solved.
    View Solution.

    HP uses different brands to fit the need for the SATA hard disk, so there is no specific brand that I can state. Why don't you use the hard disk test that is present in the BIOS?
    Replacement hard disk specifications
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Hi. my laptop was reformatted recently, and my itunes there erased. i created a new one but the problem is it doesn't sync with my ipod anymore. what is the solution for this? can someone give me a tip? will really appreciate. thanks

    hi. my laptop was reformatted recently, and my itunes there erased. i created a new one but the problem is it doesn't sync with my ipod anymore. what is the solution for this? can someone give me a tip? will really appreciate. thanks

    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • What is the cost for repair my screen?

    Help! what is the cost for repair my screen?

    Back glass repair/replacement is cheaper than front glass. If your handy back glass replacement is fairly easy and repair kits sold on-line are around $25-30. Front glass repair requires pretty much taking the entire iPhone apart and is much more complicated $100-200 depending on your location city and iPhone model.

  • What is the url for executing PL/SQL via 9i http

    what is the URL for 9i http server pl/sql routines that I just compiled? I don't run 9ias just the 9i http server
    http://machine:port/?????????/procedure_name
    thnx
    endre

    do this if you are still having problemd
    CREATE AND SETUP NEW USER
    The second step is to create an application user that will
    own the code for this example. Connect to SQL*PLUS as a user with
    DBA rights, and execute the following commands:connect
    SQL> CREATE USER user IDENTIFIED by user;
    SQL> GRANT CONNECT, RESOURCE TO user;
    CONFIGURE DAD IN THE PL/SQL GATEWAY
    The third step is to create a new DAD.
    Enter the PL/SQL gateway configuration menu. The generic address to the
    page is
    http://<machin:port/pls/admin_/gateway.htm
    The is specified in your plsql.conf file. By default the address
    will be
    http://..:/pls/admin_/gateway.htm
    (Replace ..: with the valid entry for your
    configuration, e.g. www.acme.com:8080).
    Click on the link 'Gateway Database Access Descriptor Settings' to access
    your DAD settings. Then press the link 'Add for WebDB 2.x configuration'
    to create a new DAD. Enter the following values:
    Parameter Value
    Database Access Descriptor Name give name
    Schema Name the user you created
    Oracle User Name the user you created
    Oracle Password the password of the user
    Oracle Connect String <- found in your
    tnsnames.ora
    Document Table                    documents
    Document Access Procedure user.package.procedure
    Extensions to be uploaded as LONG RAW
    Leave the other parameters as they are. If you are not using an 8i database
    or need to use the LONG RAW datatype for
    some reason, you can place an '*' in the "Extensions to be uploaded as LONG
    RAW" field. You can also limit this to
    specific file name extensions such as jpg or pdf by entering the extensions
    and using a comma to separate the
    values. Click the OK button to save the DAD configuration.
    Hope this helps

Maybe you are looking for

  • Fontissue when Exporting to PDF CS5

    Commented on linked thread and advised to start new tread. http://forums.adobe.com/thread/651071?tstart=0 When Exporting to PDF from ID CS5 I have seen font displace and disappear. Have done some tests since my post on linked tread, and find out, usi

  • Importing swc file (created in FB4.5) in Flash CS5.5

    Hallo. I am trying to create a library inside flex. This library includes as files and visual mxml files. I am trying to make this swc communicate with my Flash CS 5.5 application but i can't do it. I just wish to ask you if i can import swc in flash

  • Closed last Monday....all moved in!!!

    After three years of working hard, cleaning up report, being responsible with spending, on time payments, and a little bit of patience, I just closed on my first house. Conventional mortgage with a good interest rate and a fast closing.  The first we

  • How to Compare day and night based on current time

    Hi, Day starts 08:00 -18:00(start time-end time) Night starts 18:00-08:00(st-et) for day it's easy I compare current time between st and et in logs table. for night if I use the same the process it falls after midnight coz current time is not in betw

  • How to set up Oracle Environment... ?

    I have a fresh copy of Oracle Enterprise Linux with Oracle 11g R1 installed. Steps that I did and I am trying to understand-- 1.     Boot the OEL server. 2.     From remote connection, using PUTTY, I connect to the OEL 3.     I am setting the variabl