Actually I'm using FlashForms, but most of the ActionScript was written using Flex books as a guide.
Tried the ObjectUtil, but it didn't work. Sorry, for a short while I was doing nothing but learning/using ActionScript for a project, then I've been off of it for more than 2 years. Now I'm trying to get back into it to fix a problem. Thanks, Steve -----Original Message----- From: Palleas [mailto:pall...@gmail.com] Sent: Tuesday, July 20, 2010 11:44 AM To: flex Subject: Re: Copy a RecordSet in Actionscript. ObjectUtil in flex has clone() and copy() methods, maybe it could help : http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/ut ils/ObjectUtil.html?allClasses=1 You have plenty of other solutions but I think this one is the easiest as you are already using flex. On Tue, Jul 20, 2010 at 5:30 PM, Steve Durette <sd1...@sbc.com> wrote: > > Hi all, > > I have code that does flash remoting and gets back a query. What I need to > be able to do is make a copy of the resulting RecordSet. > > The reason is that I have 2 dataGrids on my form, one is supposed to be > editable, and one is supposed to show the "untainted" original data. If I > put the same data source for both dataGrids, then changes made in one > reflect in the other. > > Thanks, > Steve > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6437 Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/flex/unsubscribe.cfm