save image in a directory in applicationStorageDirectory

前端 未结 1 614
小蘑菇
小蘑菇 2021-01-21 15:22

I was trying to save an imagefile to a directory in applicationStorageDirectory of my air project. Created the directory first

 var imageDirectory:File = File.ap         


        
相关标签:
1条回答
  • 2021-01-21 15:59

    Try:

    var file:File = File.applicationStorageDirectory.resolvePath("vispics/" + filename);
    
    0 讨论(0)
提交回复
热议问题