[flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread stinas...@yahoo.com [flexcoders]
Any help guys?

Re: [flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread Dave Glasser dglas...@pobox.com [flexcoders]
What do do you mean by not working? On Thursday, November 6, 2014 4:20 AM, stinas...@yahoo.com [flexcoders] flexcoders@yahoogroups.com wrote: !--#yiv9808785342 #yiv9808785342

[flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread stinas...@yahoo.com [flexcoders]
when i click the download button, i get an error, concerning the path.

Re: [flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread Brendan Meutzner bmeutz...@gmail.com [flexcoders]
And what does the error message say exactly? You need to be more descriptive in order to help you. On Nov 6, 2014 7:38 AM, stinas...@yahoo.com [flexcoders] flexcoders@yahoogroups.com wrote: when i click the download button, i get an error, concerning the path.

Re: [flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread Dave Glasser dglas...@pobox.com [flexcoders]
I don't mean to be rude, but does it not occur to you that the actual text of the error message might be important in diagnosing your problem? In your initial request for help, you didn't even bother to mention the problem was concerning the path. Stinasius, I'd like to help you, but if it

[flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread stinas...@yahoo.com [flexcoders]
Sorry guys, am really sorry. this is the error it shows HTTP Status 404 - /campuscholar/bin-debug/documents/%7Bdocs.selectedItem.documentName%7D

RE: [flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread Jim Hayes j...@primalpictures.com [flexcoders]
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: flexcoders@yahoogroups.com [flexcoders@yahoogroups.com] Sent: 06

Re: [flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread Dave Glasser dglas...@pobox.com [flexcoders]
Doing this:var url:String=documents/ + encodeURIComponent(docs.selectedItem.documentName); will handle cases where the document name contains special characters that would break the URL. On Thursday, November 6, 2014 9:14 AM, Jim Hayes j...@primalpictures.com [flexcoders]