开发者

flex 3.4 compile error when using FileReference object

开发者 https://www.devze.com 2023-02-11 00:29 出处:网络
When I using flex FileReference, in flex 3.4, I met a problem. The follows is my code: public function save_click():void {

When I using flex FileReference, in flex 3.4, I met a problem. The follows is my code:

public function save_click():void {

             var systemFileReference:FileReference = new FileReference();


            systemFileReference.save("test开发者_运维知识库","testfile.txt");

        }

But it compile fails" invoke undefined method save in FileReference), I do not know why in Flex3.4 the FileReference does not support save() method?


You need to target Flash Player 10.

0

精彩评论

暂无评论...
验证码 换一张
取 消