actionscript 3 - flex 3.4 compile error when using FileReference object -


when using flex filereference, in flex 3.4, met problem. follows code:

public function save_click():void {

             var systemfilereference:filereference = new filereference();               systemfilereference.save("test","testfile.txt");          } 

but compile fails" invoke undefined method save in filereference), not know why in flex3.4 filereference not support save() method?

you need target flash player 10.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -