Flex - 如何在本地机器的文件系统上浏览和获取文件的完整路径? [英] Flex - How to browse and get the full path of a file on local machine's file system?
本文介绍了Flex - 如何在本地机器的文件系统上浏览和获取文件的完整路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在此先感谢!
解决方案
在Flash Player 10中,您可以使用 FileReference
来获取文件名称或加载本地文件系统上的文件的数据,但是有意限制获取完整文件路径和许多其他操作AIR的 File
和 FileStream
类。
I am working with Flex, Flash, Action Script and I want to browse the local machine file system using Operating System's file browse window and select a file then i want to get the full path of the selected file. How can I do this? Please give me some code.
Thanks in advance!
解决方案
In Flash Player 10, you can use a FileReference
to get the name or load the data of a file on the local filesystem, but are purposely restricted from getting the full file path and many other operations available with AIR's File
and FileStream
classes.
这篇关于Flex - 如何在本地机器的文件系统上浏览和获取文件的完整路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文