开发者

Adobe Flex :File Reference Error 1061

开发者 https://www.devze.com 2023-03-09 19:54 出处:网络
I want开发者_运维问答 to save XML File using Flex 4 SDK var fr:FileReference=new FileReference();

I want开发者_运维问答 to save XML File using Flex 4 SDK

var fr:FileReference=new FileReference();
fr.save( newXmlRow, 'D:/Sample.xml' );

Error Shows :

1061 "Call to possibly Undefined method save through a reference with static type flash.net:FileReference"


Hi Please change according to this, I am sure that you will definitely come out from this situation.

Right Click on the Project -> click on the properties -> Go to FLEX Compiler -> Change Required FLASH Player version to 10.0.0

Adobe Flex :File Reference Error 1061

After completing this click on the apply button and have fun...

Have a nice day...


You have to use background process for upload file. Like create functon/webservice for upload file in c#.net. You can not direct save file in flex.

0

精彩评论

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

关注公众号