【问题标题】:Getting the path of an uploaded file in flex 4.6在 flex 4.6 中获取上传文件的路径
【发布时间】:2013-09-02 04:26:43
【问题描述】:

当我们在 adobe flash builder 4.6 中使用文件引用浏览文件时,如何获取文件的绝对路径或文件的“本机路径”(我们在 Flex/AIR 中称之为)?

例如,如果我从以下位置上传图片:“c:\upload\check.jpeg” 我想要完整路径.. 作为“c:\upload\check.jpeg”。

我在 adobe flash builder 4.6 中需要这个,实际上我用谷歌搜索了它,但我得到了一些过时的代码,即在 flex 4.3 (How do I get the fullname of a file in Adobe AIR?) 这在 4.6 中不起作用

如果有人知道,请帮助我,我将非常感谢他们

【问题讨论】:

    标签: apache-flex flex4.6


    【解决方案1】:
    In Flash builder we cannot get the native path due to security concerned Adobe systems does't gave 
    option to get the native path in web applications but we can get native path in AIR applications..
    After  searching  many hours in Internet finally i came to know about that..
    

    【讨论】:

      猜你喜欢
      • 2018-12-11
      • 1970-01-01
      • 2013-04-24
      • 2012-09-08
      • 2017-02-20
      • 1970-01-01
      • 2020-09-22
      • 2017-05-31
      • 1970-01-01
      相关资源
      最近更新 更多