Thursday, May 13, 2010

Problem Downloading file filerefrence flex

Hi Friends,

strangly flex SDK some times work as if its dossed off.

you cannot create a fileRefrence object within same function your calling download..
Strange

you Cannot do following

var fileRef:FileReference = new FileReference();
var urlRequest:URLRequest = new URLRequest(source);
fileRef.download(urlRequest);

You can do following

Create dummy filerefrence object. and then use in Function.

Ranjit

No comments:

Post a Comment