How to copy an arraycollection variable collection to another collection arraycollection variable but any change in a var

Hi all

I want to create a copy of the collection arraycollection from a table of existing collection variable.

but when I change the collection newly created arraycollection variable that is showing the other oldest.

How can I protect the changes the new is does not reflect the older one.

I use the code below

var aa:ArrayCollection = new ArrayCollection();

var aa1:ArrayCollection = new ArrayCollection (aa.source.concat ());

Thanks in advance;

Hi Niranjan,

You can make use of ObjectUtill class to clone, or make a copy of a collection arraycollection.

In the forum, he is also already talked several times...

var aa:ArrayCollection = new ArrayCollection();

var aa1:ArrayCollection = ObjectUtil.copy (aa) like collection ArrayCollection;

If this post answers your question or assistance, please mark it as such.

Thank you

Jean Claude Chari

Tags: Flex

Similar Questions

  • I want to know how to copy information on one CD to another CD. I am not very computer so please be as simple and complete as possible.

    Copy information to a CD to another CD

    You need 3rd Party Software to do what you want to do.

    http://www.SnapFiles.com/get/burningstudiofree.html

    Ashampoo Burning Studio Free is a full CD/DVD/Blu-Ray suite which allows you to create data disks, music, video and audio burning. You can also create backups that span multiple discs, rip music from an Audio CD and create or burn disc in ISO or BIN/CUE format images. The task-oriented interface makes it easy to get started and will spare you most of the technical details. Other features include the conversion of files to WAV, MP3, FLAC, WMA and Ogg audio automatic, disk copy compressed backup file and restore, erasing the disc, VCD/SVCD, burning project and support more. Free registration required after 10 days.

    You should get something like the above program (which is free and very good) and learn how to use it by reading the software Instructions that appear on the front of the Programt open.

    The above program copy of CD, DVD, Bluerays.
    Make sure that the CD are NOT protected by copyright.

    See you soon. Mick Murphy - Microsoft partner

  • How to copy columns from one table to another

    Hai All


    How to copy the contents of the array to another

    For example, first name of the table is T1 and I have 10 columns and data are here and I need to create a table T2

    But I don't need the header, but not the values of all the 10 columns of T1 to T2, but not values


    Thanks and greetings

    Srikkanth.M

    Why not?

    create table test1
    as
       select * from emp
       where 1 = 2;
    

    Kind regards.

    LOULOU.

  • Where I can download a family copy of vista premium, I still have my product key, but any help please o/s

    Hi all my system crashed suddenly & I have no recovery disk is - anyone know where I can download a family copy of vista premium, I always have my product key but no o/s Please help


    Hello

    There are several methods to reinstall Vista.

    See how best suits you.

    This can help you:

    http://www.heidoc.NET/Joomla/technology-science/Microsoft/57-Windows-Vista-direct-download-links

    You can contact your computer manufacturer and ask them to send you a set of recovery disks.

    They should do this for a small fee.

    To reinstall Vista using their recovery disk/s, you start from the 1st recovery disk they provide and follow the manufacturer's instructions to reinstall:

    You need to change the Boot order to make the DVD/CD drive 1st in the boot order:

    How to change the Boot order in BIOS:

    http://pcsupport.about.com/od/fixtheproblem/SS/bootorderchange.htm

    "How to replace Microsoft software or hardware, order service packs and replace product manuals.

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

    And if you have never received a recovery disk when you bought your computer, there should be a recovery on the drive Partition hard reinstall Windows how much you bought your computer.

    The recovery process can be started by pressing a particular combination of the key or keys at startup. (Power on / start)

    Maybe it's F10, F11, Alt + F10, etc., depending on the manufacturer.

    Ask them to the proper key sequence.

    And if you do not score a manufacturer of recovery on your hard drive, you should be able to make your own recovery from her disks to reinstall the operating system.

    Go to programs > name of the manufacturer of your computer > then their system or recovery tools software topics for them, depending on how it is formulated.

    If you can't find any reference to it, contact the manufacturer for advice on how to make these recovery disks.

    Some manufacturers have more available Vista recovery disks.

    If this happens, you may need to try this instead:

    You can also borrow and use a Microsoft Vista DVD, which contains the files for the different editions of Vista (Home Basic, Home Premium, Business and Ultimate) must be installed. The product key on your computer / Laptop box determines what Edition is installed.

    Other manufacturers recovery DVDs are should not be used for this purpose.

    And you need to know the version of 'bit' for Vista, as 32-bit and 64-bit editions come on different DVDs

    Here's how to do a clean install of Vista using a DVD of Vista from Microsoft:

    "How to do a clean install and configure with a full Version of Vista '

    http://www.Vistax64.com/tutorials/117366-clean-install-full-version-Vista.html

    And once the operating system is installed, go to your computer manufacturer's website and get the latest drivers for your particular model or laptop computer.

    And phone Activation may be necessary when you use the above installation method.

    "How to activate Vista normally and by Activation of the phone '

    http://www.Vistax64.com/tutorials/84488-activate-Vista-phone.html

    See you soon.

  • RAW + JPEG: How to copy only JPEG in collection

    Hello

    I imported my first shoot in Lightroom and already sorted the photos unusable. In addition, I did a quick collection of my favorite photos. I would take the JPEGs in this collection and copy them to a USB key. Given that I did have time to process the photos somehow export probably is not sensible. So, how can I copy just the orginal treated the camera JPEG from my collection?

    All advice is very welcome!

    Best

    TiredHornet

    I had no luck with your plugin. But I found a simple solution. Rename the photos you want to export the batch. It automatically renames both raw and jpeg. Then in windows Explorer just sort the photos by name and then by file type. Then, you can easily just copy JPEGs.

  • How to copy photos from one HD to another

    Noticed that my 10 000 entire iPhoto library is stored only on one of the three external HD that I have - and not on my Mac itself.  How can I copy / duplicate the library on another HD so that I have a backup?  Thanks in advance.

    Click the source, use the command + C to copy, select the destination, and then command + V to paste. However if you back up your computer using Time Machine you probably already have at least 1 backup. It's a good idea to have redundant backups, but you can use the copy and paste the solution in addition to using Time Machine.

  • How to copy a folder of bookmarks to another computer

    I want to copy a folder of bookmarks with all its content to another computer. I have different bookmarks on both computers and want to keep them separate, but I want a few files repeated on both computers.

    The bookmark you want to export to a HTML file and change this file to only keep the desired file and import this file on the other computer.

  • How to copy / clone the parental controls on another account

    Is there a way to copy or clone parental control settings of an account limited for a new account?
    I'm going to set up individual accounts for my children and I find it very embarrassing repeatedly authorized programs list. It would also be useful to have the settings for synchronization if the settings for an account (if the settings have been changed) could be copied to another account.
    Any advice or pointers will be greatly appreciated!

    Toweri,

    Thanks for the reply. You can copy a user profile, however, you must enable the family settings again. Unfortunately, there is not a way to clone.

    Lisa
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to copy only a few pages into another file

    I try to Describe exactly the steps I followed :

    I have a file 179 pages INDD . Contains
    histoires. I used the files to produce a pdf file that I sent to print (a copy of evidence) .

    Well .

    I also did a blog I want to publish the
    short stories of a a.

    To this end ,
    I opened the original file (let's call it "A") with InDesign
    I opened a new empty file (let's call it "B")

    I gave the same dimension of the page of A B
    I highlight in At the of the first 5 pages short storie, and with pages / move pages I moved on B

    J’ai these problems :

    ) 1 b with 5 pages that I had highlighted on A I have also two initials pages I had not highlighted. Basically, I has (I thought to ( ) ' copy pages 3 to 7 ', and InDesign has been copied from 1 7.
    2) these two first pages I can not erase on B
    3) I then said patiently: now I'll produce the html file and then I will take off initials 2 pages on this.

    4) surprise: the html file contains 179 all the pages of has!
    ( 5) then, discovery of B , I saw at the end of the last page down right a red square seems be 'has back"" " all the content a..

    I am to the beginning, so please explain me like I was a kid.

    Thank you to

    Stefano (Roma-Italia)

    My experience is that sometimes the pages you select (or think that you highlight) aren't always the pages that fill in the box. So just, specify them numerically for safety:

    Which works best?

  • How to copy a structure of (smart) collections from PC to laptop?

    I have setup a structure large smart collection LR3 on my desktop PC.

    How to (copy) this structure to my Lightroom 3 on my laptop? Exports in the catalogue the only way?

    Kind regards

    Peter

    Yes. This is how I do for smart collections came on the scene. I submitted a feature request to export the smart collections as well as their actual structure, but it doesn't have much traction because it isn't something you do very often.

  • How to upgrade the ArrayCollection collection when running?

    Am facing a problem with the arraycollection collection...
    will have an arraycolelction like that...
    var dpHierarchy:ArrayCollection = new ArrayCollection([)
    {Region: "Application1"},
    {Region: "Demand2"},
    {Region: "Demand3"},
    [{Region: "APPROVISIONNEMENTS4"}]

    now what I'm looking for is... How to upgrade this arraycollection collection during execution using actions script?
    I need to update this collection table something like this...

    var dpHierarchy:ArrayCollection = new ArrayCollection([)
    {Region: "Application1", year: '2008'},
    {Region: "demand2', year: '2008'},
    {Region: "Demand3', year: '2008'},
    [{Region: "APPROVISIONNEMENTS4", year: '2008'}]

    How to add the year field in to existing collection arraycollection as shown in the example...

    Thanks in advance
    Pratap

    Hey get...

    I have to just give

    dpHierarchy [0] ['year'] = '2008 '.

    :-)

  • How to copy a file in real time each 5minus from a PC to another PC via LAN network?

    Hello Labviewers,

    Is it possible can labview auto copy drop every 5 minutes from PC1 to another PC in real time?

    Say in the laboratory classroom I have PC1 labview run in real time, collecting data dump in the folder c:\test\testing.xslx

    Then in my Office PC how can copy file in PC1 every 5 minutes. Is it possible Labview is possible? Please help me IV thanks

    How about something like this?

    First map a network location to a 'reader' in Windows.

    Then just use LabVIEW primitive file copy to copy the file.

    Wait five minutes.

    Do it again.

    Yes, it's the bare minimum, and probably not the best way to do as you can't stop the loop with the stop button once the period has begun. But you can see it's pretty simple, if all what you need to do is to copy a file and location, you can map.

  • How to access a global variable that is common between the different baskets project library

    My project consist of several libraries, after generation the library project packed for each library, I find it cannot share data in a global variable between different packaged project library file. For example: packed project library #1 contains VI variables global wirte 'position' and give it a value '400 '. Library #2 present another VI project try to read this global variable, but he gave reading of is NULL not "400". Why has this happened? Is it possible to solve, welcome any help, I wll appreciate for this!

    If you understand what is happening here...

    When you build a PPL, it takes in the .lvlib and also all the dependencies of the .lvlib.

    In your case, when you generate the Test Task.lvlib in a .lvlibp, she also pulls on a copy of the DataProcess.lvlib:GlobalsVariable.vi because it's addictive to read GlobalVar.vi.

    When your application runs, you end up with two copies of GlobalsVariable.vi in memory:

    DataProcess.lvlibp:GlobalsVariable.vi

    AND

    Test Task.lvlibp:: GlobalsVariable.vi (I don't know how PPLs namespace dependencies... If there is still the DataProcess.lvlibp)

    Because they are different screws (i.e. in a different namespace), they have their own memory and that's why you can't access the data.

    Your Test Task.lvlibp calls the version of GlobalsVariable.vi, he pulled the dependencies.

    To solve this problem - you must ensure that Task.lvlibp of Test calls the version of GlobalsVariable.vi of the DataProcess.lvlibp - you'll need to replace all instances with the version of the PPL. Of course, if you run DataProcess in the development environment, then it will always be bad namespaced, hence the suggestion to put your global variable VI in is own PPL that you then use in the process of data and Test tasks.

  • How to copy a Dataprovider that can be bound who maintain its first value?

    Hello

    I have a DataGrid with a bindable (collection ArrayCollection) DataProvider. In this DataGrid I can change the values of the DataProvider. Now I need a Reset button which goes back the original DataProvider and cancel any changes. I was wondering if there is a way to copy the DataProvider bindable that retains its value first?

    Thank you.

    Concerning

    Kat

    Hello

    There's an ObjectUtil.copy (*) to copy the data (not of interface user objects)

    You can copy the ArrayCollection collection source.

  • How to copy or delete location?

    Here is my latest for tonight:

    Often, I import photos from two or three cameras or phones. Some of them without GPS. However, I would like to have info important location on my photos, as a search criterion.

    (I know that you can add location via the popup of tiny Information. It is good to have. But it would be good even if I could resize it. "And as the display of standard maps missing quite often the details, it would be nice to be able to switch to the satellite view).

    I often assign to photos location information in the same place as the other photos have the location information. So I open the mark Information and copy the location, select the photo without location and paste the location of the fist photo. It seems to work. Unfortunately, it does not copy the data of the actual location, but only the text string. And after it was stuck for the second picture, he's trying to find the actual location, according to the channel. In most cases it does not get this right.

    And if you go back, you can't, because there seems to be no way to remove the manually added location... I guess that it is stored in the database and not on the photo itself, as the Photos done with any changes.

    So if you know how to copy - paste location and/or remove location through some less than obvious, please let me know

    You can buy external editors for extension of Photos in the App store ($0.99) and use it in edit mode to look at the details of the location in the Inspector pane and you can then enter theminto other photos

    LN

Maybe you are looking for