Flash上传文件 获得返回值

今天做一个上传程序,要求在文件成功上传后获得后台返回的信息。
记得以前看AS3的一些特性时提到过新加了获得返回信息的事件
于是开始在FLEX的帮助里翻,找到了。
uploadCompleteData event
Event object type: [color=Blue]flash.events.DataEvent
DataEvent.type property = [color=Blue]flash.events.DataEvent.UPLOAD_COMPLETE_DATA
Dispatched after data is received from the server after a successful upload. This event is not dispatched if data is not returned from the server.
Defines the value of the type property of an uploadCompleteData event object.
嗯,记录一下,以后用时方便(知道这个的老鸟别笑偶啊,偶也在学习ing,嘿嘿)。

6 comments to Flash上传文件 获得返回值

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">