this line is at least one of your problems :
var url:String="documents/{docs.selectedItem.documentName}";
try something like :
var url:String="documents/" + docs.selectedItem.documentName;
That should get you closer at least.
From: [email protected] [[email protected]]
Sent: 06 November 2014 14:02
To: [email protected]
Subject: [flexcoders] Re: downlaoding a file in flex.
Sorry guys, am really sorry. this is the error it shows "
HTTP Status 404 -
/campuscholar/bin-debug/documents/%7Bdocs.selectedItem.documentName%7D
"