RE: [flexcoders] How do I read Response after FileReference uploads a file?

2007-03-30 Thread Merrill, Jason
It shouldn't be. In Flash 8/AS2 it was just: Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thegators_2002 Sent:

RE: [flexcoders] How do I read Response after FileReference uploads a file?

2007-03-30 Thread Grant Davies
you can't... file reference does not return the response... (yes I know that's dumb, I thought the same thing) What I had to do is write the response to the session, and after file reference returns success/fail I go back and request the session variable as an XML response... Grant

RE: [flexcoders] How do I read Response after FileReference uploads a file?

2007-03-30 Thread Merrill, Jason
Stupid Outlook hotkeys. What I meant to say was: In Flash 8 AS2 it was just: listener_obj.onComplete = function(file:FileReference):Void { } Where file was the complete file object on the result which had all the info you needed. Should be something similar in AS3. Jason Merrill Bank of

RE: [flexcoders] How do I read Response after FileReference uploads a file?

2007-03-30 Thread Geoffrey Williams
fileReference.addEventListener (DataEvent.UPLOAD_COMPLETE_DATA, eventHandler); The DataEvent dispatched will have a data property with the data you are looking for. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thegators_2002 Sent: Friday, March 30, 2007 11:36 AM

RE: [flexcoders] How do I read Response after FileReference uploads a file?

2007-03-30 Thread Grant Davies
I read Response after FileReference uploads a file? fileReference.addEventListener (DataEvent.UPLOAD_COMPLETE_DATA, eventHandler); The DataEvent dispatched will have a data property with the data you are looking for. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [flexcoders] How do I read Response after FileReference uploads a file?

2007-03-30 Thread Geoffrey Williams
: [flexcoders] How do I read Response after FileReference uploads a file? Stupid Outlook hotkeys. What I meant to say was: In Flash 8 AS2 it was just: listener_obj.onComplete = function(file:FileReference):Void { } Where file was the complete file object on the result which had all

Re: [flexcoders] How do I read Response after FileReference uploads a file?

2007-03-30 Thread Paul J DeCoursey
I did something similar. Before the upload I get a token, I pass that token on the querystring of the upload. Once complete I use that token to get info about the upload. I also use this token for authentication purposes. We have had a lot of trouble with file uploads not sharing sessions