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,嘿嘿)。

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

  • Amazing write-up shows you the low down of USB Card Reader in addition to the reasons why you need to take action straight away. Right here is the USB Card Reader truths your mother and father doesn’t want one to know Up grade your prized USB Card Reader within about half the time without spending more money!

    [Reply]

  • Hi! beutiful site and work. I prefer watch Tv then surf the web.

    [Reply]

  • 西狂

    这个可以在flash8里面用吗?具体怎么用告下,谢谢
    [reply=auzn,2009-06-08 08:41 AM]这个是AS3中的方法,Flash8应该是用不了的 :) [/reply]

    [Reply]

  • tert

    高手能结合ASP写一个吗
    上传进度显示,提示文件大小什么的
    [reply=auzn,2008-11-06 09:11 AM]呵呵,后台不是我的强项[/reply]

    [Reply]

  • auzn

    表情测试[new2]

    [Reply]

  • auzn

    呵呵 这么久了还记得 感谢支持呀 [wink]

    [Reply]

  • stone1985

    哈哈,终于找到你的网站了,一年前在第一个公司看到你做的那个模枋XP的FLASH网站后就开始喜欢FLASH了,不过由于一次整理电脑的时候把收藏的网址给删了.现在又看到这个网站,依旧那么的熟悉………….[wink]

    [Reply]

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="">