You¹ll need to pull a swip-swap-frip-frop (code is a cut and paste below).
Cheers, Rick Winscot www.quilix.com <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="ccomp();" layout="absolute" minWidth="955" minHeight="600"> <mx:Script> <![CDATA[ private var slave:FileReferenceList = new FileReferenceList(); private var master:FileReferenceList = new FileReferenceList(); private function ccomp():void { master.addEventListener(Event.SELECT, handleSelect ); slave.addEventListener(Event.SELECT, handleSelect ); } protected function handleClick(event:MouseEvent):void { ( master.fileList == null ? master.browse() : slave.browse() ); } private function handleSelect( event:Event ):void { if ( slave.fileList == null ) { master.removeEventListener(Event.SELECT, handleSelect ); } else { for each ( var fr:FileReference in slave.fileList ) master.fileList.push( fr ); } debug(); } private function debug():void { trace("FileReferenceList Contains:"); for each ( var fr:FileReference in master.fileList ) trace(fr.name); } ]]> </mx:Script> <mx:Button id="btnBrowse" x="573" y="389" label="browse" click="handleClick(event)"/> </mx:Application> On 4/7/10 10:33 AM, "sderamon" <[email protected]> wrote: > > > Hi, > > I want to upload files with FileReferenceList with Flex. I know that is not > possible to get the path. Because we have this limitation, I want to add files > to the fileReferenceList several times, but every time that I add files, it > deletes the previous files. Is possible to add files to the FileReferenceList > and keep the previous ones. > > Thanks > > > > >

