Duplicating or creating MC with a new names

Help me please! I need to duplicate or create new movie clips
with new unique names generated in loop.
In AS2.0 it was done with construction like this:
for(i=0; i=100; i++){
createEmptyMovieClip("MC"+i, 1); //or
duplicateMovieClip(MC,"NewMC"+1,); for duplicating
I need analog of this. Help me please!!!

:

Similar Messages

  • How to create a new database after copying an existing database with a new name

    hi
    i have an existing database and want to copy with a new name in sql server 2005 how do it is possible 
    spose
    i have a db name attached in sql server StoreManagementDB now i want to copy this database with all the transactions as StoreManagementDB_1.
    thanks

    Use a two steps to use a backup file to restore a database with a new name.
    ----You need to have a full backup of your database:
    --Step 1:
    RESTORE FILELISTONLY
    FROM DISK = 'C:\bk\TEST.BAK'
    --Find out the LogicalName of data file and log file
    -- in this case: the data file: TEST and the log file LogicalName: TEST_log
    --Both names will be used in the MOVE command
    --Step 2:
    -- Restore the files for test1.
    RESTORE DATABASE test1
    FROM DISK = 'C:\bk\TEST.BAK'
    WITH RECOVERY,
    MOVE 'TEST' TO 'C:\bk\test1_Data.mdf',
    MOVE 'TEST_log' TO 'C:\bk\test1_Log.ldf'
    GO

  • Saving changed services in Automator with a new name.

    Under SnowLeopard I could open an existing workflow, make some changes to it and save it as a new workflow service. In Lion there is no SAVE AS, so this procedure doesn't work.
    I tried duplicating the workflow in the Finder and renaming it and opening it in Automator. The problem is; after making the changes and saving it, Services show it with the original name. That means both the original file and the duplicated/renamed file show up with the same name.
    Is Automator creating an internal name for the file that can't be changed?
    I had a service that moved files from one location to another. I created 5 duplicates of it and renamed them with the new location as part of I wanted to move file to. I made the changes to each with the new location as the place to move the selected files.
    Now Services show six services with the original name and none with the new names.
    Is anyone else having the same problem? I wish there were a way to force applications to do a SAVE AS.
    I have also noticed that the DUPLICATE TO... doesn't give you an option to have to duplicated a new name.

    For me the following works:
    Open the servce you want to modify in Automator.
    In Automator duplicate the workflow with File -> Duplicate.
    Edit the duplicate.
    Save it with File -> Save. You will be prompted for a new name.
    Install the new service in ~/Library/Services and remove the old version.

  • How can I save a pages document with a new name

    I often make changes to pages and numbers documents and save them with a new name. This seems to be impossible under LION. To remove the save as command is very shortsited. The only way I found to get around that is to save the changed document as a templete, remove the changes I made to the original document, Open a new document using the templete I just created, saving that document under the name I would have created using the save as command if it was still there, and then delete the templete. How in the **** is this better? Lion has disrupted almost everything I used to do in Snow Leopard.
    The only thing that syncs with mobile me is email. Everything else quit working. I reported the mobile me issue to Apple and am waiting for them to contact me.

    Antuco wrote:
    I think the issue is easy:
    1.- Try to go to the File Menu
    2.- Then hold down the Option Key
    3.- You will see in the File Menu (while you press the option key) the "save as" option.
    4.- Choose the "save as" option.
    5.- Choose the file where you want to save your document (you can choose any folder or sub foler in your mac or even iCloud). If you want to, you can even rename the open document where you are working in.
    I hope this would help
    Antuco
    That is wrong, (unless you have Mountain Lion), the correct answer is above, posted by deggie

  • How do you save a document with a new name?

    OK  I decided to go with Pages as my document editor on my iPad 2.  It seems to be powerful enough to do the kind of text editing that I need to do. I need some tables, a few graphics, headers, footers, etc.  You know the basic stuff.  I am not going to try to write a dissertation or thesis on my iPad, but I need to be able to write memos and some work documents.
    I am having a hard time learning the Apple way of doing things I guess.  Must be too many years on a PC using Microsoft Office.
    But I need to know how to open an existing document, make some changes and then save it with a new name so I don't overwrite my original document? Just a basic "Save As" function.
    Is this possible?  Or has Apple devised a way that I am just not seeing yet?

    Hi
    Someone maybe can tell you another/the right way of doing this but I do it this way. In pages press and hold the document until it wiggles and then select it by touching it so the orange border appears around it, then press the folder button at the top, the one with the + sign on it and this will create an exact copy on the documents screen. Then just open and edit that one thus preserving the content of the original.
    There may well be a better way, but hope this helps.
    Regards
    Matt.

  • CREATE INDEX WITH DUPLICATE COLUMN NAME

    Hi,
    i need to interface our application with an Orale Bridge to CREATE INDEX with duplcate column Name.
    For Example
    CREATE index NLOT_FOURNLOT_idx ON NLOT(FOURNISSEUR ,NOLOT ,FOURNISSEUR ,NOBLFOUNISSEUR,NOLIGNEBL ,NOLOT ,QTECOLISRECUES ,CODENONQUALITE ,QTECOLISACCEPTE);
    CREATE table NLOT(
    FOURNISSEUR VARCHAR2(09)
    ,NOBLFOURNISSEUR VARCHAR2(13)
    ,NOLIGNEBL VARCHAR2(03)
    ,NOLOT VARCHAR2(20)
    ,QTECOLISRECUES VARCHAR2(10)
    ,CODENONQUALITE VARCHAR2(02)
    ,QTECOLISACCEPTE VARCHAR2(10)
    ,NOMBREDECOLISRE VARCHAR2(10)
    ,NOMBREDECOLISAC VARCHAR2(10)
    ,FILLER VARCHAR2(1)
    ,FILLE1 VARCHAR2(1)
    ,TYPEREFERENCE VARCHAR2(01)
    ,REFERENC1 VARCHAR2(15)
    ,CONTROLERECEPTI VARCHAR2(01)
    ,DATEDEPEREMPTIO VARCHAR2(8)
    ,CONTROLEPROCHAI VARCHAR2(1)
    Thanks
    Philippe

    Well, you can't do it. ORA-957 is one of those irrevocable errors for which the solution is to remove the duplicate name from the SQL statement.
    But, anyway, why do you want to do this? I would guess there's no performance benefit from having the same column indexed twice (of course it's impossible to test this, so it's just my opinion).
    Cheers, APC

  • What replaces "save as" for saving with a new name? Is "export" the only way to dave as .doc?

    I wanted to save my document with a new name but couldn't find the "save as" command for changing it. I also used the "save as"  dialong box as a comnvenient way to save a copy as .doc.
    What do we do with 4.1 in Lion?

    howard.weaver wrote:
    If only we were all as smart, helpful and considerate as the French.
    I guess that we would have less duplicate, triplicate and higher threads .
    And in some cases, the French helper would wish to be named Cambronne !
    http://napoleon1er.perso.neuf.fr/Mot-de-Cambronne.html
    http://www.1789-1815.com/wat_mot_cambr.htm
    http://mapage.noos.fr/lesaviezvous/bm/cambronne.htm
    Yvan KOENIG (VALLAURIS, France) jeudi 28 juillet 2011 21:45:01
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How can I download everything on my Ipod to an account with a new name?

    How can I download everything on my Ipod to an account with a new name?  (my wife has been putting songs and books on her Ipod using my account, and she now would like to setup an account using her name)

    Hello stephencadmaster,
    While you cannot transfer purchases to a different Apple ID, you can utilize Family Sharing. I've linked to an article that explains how to share content between Apple IDs using this feature:
    Family Sharing - Apple Support
    All your family’s purchases, on all your family’s devices.
    Once you’ve set up Family Sharing, all the eligible songs, albums, movies, TV shows, books, and apps ever purchased by family members are immediately available to everyone else in the family. And, of course, so are new purchases. The content appears automatically in the Purchased tab in iTunes, iBooks, or the App Store for each family member. Just select the family member whose collection you’d like to browse, then download and play the content you choose. Other family members can access your collection in the same way. If you want to keep some purchases private, you can choose to hide individual items.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • Powershell command to migrate Exchange 2007 mailbox databases with a legacy name, & import them into a new 2007 instance, with a new name.

    Hi All. I am currently at the later stage of provisioning a new CCR Exchange 2007 migration (to
    virtualise old Exchange 2007 hardware) for 5,000 users & have a quick question.
    I have created around 15 newly named storage groups, & have named 1 new DB per group, with the same name (let's say New-DB-1), residing within them.  The problem I have, is the old legacy DB's have different names (let's say Old-DB-1) & I need
    to import them into the new storage groups, to match the new names. So far I can import/export between old & new OK if both old & new DB names\folders etc. names marry up perfectly, but are unable to if there not the same. Does anyone have any thoughts
    on how best to tackle this, as this is one of the final hurdles stopping the migration? Many Thanks, John 

    Hi All
    Many Thanks for the feedback.
    The terminology 'migrate' was used based around the fact I will be decommissioning the old 2007 physical environment. This is after moving all DB's over to the new newly created Virtual environment that will host all roles.
    The solution I ended up using yesterday, was the following:
    1) Dismounted the relevant named DB (NEWDB) in the new environment.
    2) I then ticked the 'This database can be overwritten by a restore option' box.
    3) Copied over the old named DB (OLDDB) to the same location, & overwrote using the new name (NEWDB).
    4) Re-mounted the (NEWDB).
    5) Ran the following 2 PowerShell commands:
     Get-mailbox –database OLDDB | move-mailbox –targetdatabase NEWDB -configurationonly:$true
     Get-MailboxDatabase NEWDB | ResetSearchIndex.ps1 -force
    6) Checked to make sure the clients were working ok, in the now the new (NEWDB) environment.
    Rich: Many thanks for your PS script, which I will test with future DB moves & provide feedback
    J
    John.

  • Forced to save document with another new name?

    When I scan a document to a pdf, I open it and OCR the document.  It then tells me that I need to save the document with another name as the document is opened someplace else.  this is not true.  If I open a pdf and add a page to it, it tells me again that I need to save the document with a different name.  What is causing this problem?

    This cannot be done in Reader. Are you using Acrobat?

  • I have created a new playlist with a new name but cannot get my original playlist back? please help

    I have created a new playlist as I was trying to download some music from my itunes library onto a new IPOD.   2 questions, how do I do this easily.  I have created a new playlist but dont know how to get my music accross to the new playlist! also i cant seem to get back to my original playlist where all my songs are stored..please help!!

    See:
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • How to creat odjects with dynamivc class name

    hi i have a problem with class names. i have in my program one father class and a lot of extend classes in the father class. one of this classes is a test class. I want to create an object and the object class must be given dynamic from the keyboard and to be one of the extended classes. how i can do that

    It is possible to create an object of a class whose name is known at runtime (as above, the Class.forName() thing) but it's messy and complete overkill for what you are trying to do.
    These days when I have to distinguish a limited number of words (e.g. car, van,..) I use an enum. You can use MyEnum.valueOf(String name) to find the enum value from an input string, catch IllegalArgumentException to deal with an unmatched input.
    Try something like:
    public enum VehicleType {
        car { public Father create() { return new Car(); }},
        plane { public Father create() { return new Plane();} }.
          .. etc.
      public abstract Father create();
    try {
        Father vehicle = VehicleType.valueOf(vehicleTypeName.toLowerCase()).create();
      } catch(IllegalArgumentException ex) {
         System.out.println("Unknown type " + vehicleTypeName);
    }

  • Create table with dynamic table name.

    I'm trying to create a table
    like
    select x.*,  convert(nvarchar(20), getdate(), 101) AS LoadDate
    into table1_20140512
    from (
           select c1,c2,c3 from table2_20140512
           WHERE(LoadDate = (select MAX(LoadDate) FROM table2_20140512   )
           union all
        select c1,c2,c3 from table3_20140512
          WHERE(LoadDate = (select MAX(LoadDate) FROM table3_20140512  )
    ) X
    I want to make table name dynamic, like 'table1'+toady's date
    I declared three variables, but they didn't work as I expected  
    These are my variables
    DECLARE @table1 nvarchar(500)
    DECLARE @table2 nvarchar(500)
    DECLARE @table3 nvarchar(500)
    SET @table1='H1_' +(CONVERT(VARCHAR(8),GETDATE(),112))
    SET @table2='H2_' +(CONVERT(VARCHAR(8),GETDATE(),112))
    SET @table2='H3_' +(CONVERT(VARCHAR(8),GETDATE(),112))

    Try the following:
    DECLARE @SQL nvarchar(2000);
    DECLARE @table1 nvarchar(500) ='H1_' +(CONVERT(VARCHAR(8),GETDATE(),112));
    DECLARE @table2 nvarchar(500) ='H2_' +(CONVERT(VARCHAR(8),GETDATE(),112));
    DECLARE @table3 nvarchar(500) ='H3_' +(CONVERT(VARCHAR(8),GETDATE(),112));
    PRINT @table1+' '+@table2+' '+@table3;
    --H1_20140512 H2_20140512 H3_20140512
    SET @SQL = 'select x.*, convert(nvarchar(20), getdate(), 101) AS LoadDate
    into '+QUOTENAME(@table1)+'
    from (
    select c1,c2,c3 from table2_20140512
    WHERE(LoadDate = (select MAX(LoadDate) FROM '+QUOTENAME(@table2)+' ))
    union all
    select c1,c2,c3 from table3_20140512
    WHERE(LoadDate = (select MAX(LoadDate) FROM '+QUOTENAME(@table3)+' ))
    ) X '
    PRINT @SQL; -- debugging
    /* select x.*, convert(nvarchar(20), getdate(), 101) AS LoadDate
    into [H1_20140512]
    from (
    select c1,c2,c3 from table2_20140512
    WHERE(LoadDate = (select MAX(LoadDate) FROM [H2_20140512] ))
    union all
    select c1,c2,c3 from table3_20140512
    WHERE(LoadDate = (select MAX(LoadDate) FROM [H3_20140512] ))
    ) X
    EXEC sp_executeSQL @SQL;
    Dynamic SQL examples:
    http://www.sqlusa.com/bestpractices/dynamicsql/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Creating CSR with multiple common names in a single CSR

    Hello Gurus,
    We are configuring SSL for which we were in the process of generating CSR from Oracle HTTP server. But we want to use multiple URL's for a server. For example
    domain.example.com will be our primary URL and domain2.example.com would be our secondary URL.
    Following are the questions/doubts that I have -
    1. Can we mention multiple Common Name [CN] in the single CSR.
    2. IF we mention our primary URL in the Common Name field , while generating the certificate can we mention secondary URL in the Subject Alternative Field[SAN]?
    3. If we can mention the secondary URL in SAN, will it create Certificate import error while we import the generated certificate in OHS.Any help will be highly appreciated and if that really helps will be marked as helpful/correct.
    Thanks
    Saurabh

    Hello,
    If you are certain then what does this line mean
    Please note that in FMW 11g. regardless of how the Wallet is created or the Wallet type used, use of Wildcard Certificates e.g ".domain" are not supported as Oracle deems them insecure.*
    This line is from My Oracle Support *Understanding Wallets and Keystores in Fusion Middleware 11g [ID 1218603.1]*
    Edited by: hyperEPM on Jun 8, 2012 5:04 PM

  • Is it possible to create variables with an incremented name in a for loop?

    I want to create a number of variables according to the following:
    MyClass var_1 = new MyClass();
    MyClass var_2 = new MyClass();
    MyClass var_3 = new MyClass();
    MyClass var_n = new MyClass();
    Is there any way to do this in a loop ? Such as
    for ( int iii = 0 ; iii < 10 , iii++ ) {
    MyClass var_(iii) = new MyClass();
    Thanks

    ArrayList<MyClass> list = new ArrayList<MyClass>();
    for(int i = 0; i < 10; i++){
    MyClass c = new MyClass();
    list.add(c);
    MyClass [] myClasses = new MyClass[list.size()];
    list.toArray(myClasses);
    //when use the MyClass instance, use the element of the myClasses array by the index, as myClasses[0],myClasses[1]

Maybe you are looking for