hi ,
i have 1 gif file stored on server and wants to download it on user
pc,
i have stored flex swf and html on same folder on server
the code is
import flash.net.FileReference;
private var fileRef:FileReference;
private var urlReq:URLRequest;
private function download():void{
var request:URLRequest = new
URLRequest("diego.gif");
var fileRef:FileReference = new FileReference();
fileRef.download(request);
}
<mx:LinkButton label="download" click="download();" />
but it not working , and not showing any error also,
can anyone suggest wat is remain in this code
thx
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---