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
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.
精彩评论