Flex's FileReference.save() can only be called in a user event handler — how can I get around this?

后端 未结 6 1511
孤独总比滥情好
孤独总比滥情好 2020-12-03 08:11

I need to call FileReference.save() after a web service call has completed, but this method has a restriction: \"In Flash Player, you can only call this method successfully

6条回答
  •  难免孤独
    2020-12-03 08:53

    I had this same issue, I chose to use flash.net methods. Call flash.net.navigateToURL(url); from an actionscript or navigateToURL(url); from mxml.

提交回复
热议问题