you have to update the sdk used to 3.2 or the latest 3.4
check this out with 
http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10

--- In [email protected], "mod" <jhansithepl...@...> wrote:
>
> Hi all,
> I've recently been using Flex Builder 3 for ArcGIS API for Flex. and I am 
> trying to export data both from a variable or datagrid to a text or csv or 
> excel file. I've updated to Flash Player 10 but still method save doesn't 
> show in the list after typing dot after filereference.
> 
> Here is the sample code-
> 
> public var downloadFile:FileReference = new FileReference();
> public var csvString:String = "Owner1, Owner2, Owner3\r\n";
> 
> private function downloadcsv(csvString:String):void{
>               var csvData:String = csvString;
>               
>               configureListeners(downloadFile);
>                 downloadFile.    (save method doesn't showup in the list)
> 
> //If I use download method the request.url="http://localhost/";; is not 
> //working either. I can save the file but its empty
>                 downloadFile.download(request, "file2.txt");
> }
> 
> Can anyone suggest quick remedies?
> Need to wrap up my application.
> 
> Thanks to all!
>


Reply via email to