开发者

How to set the initial path of a Select File dialog in Adobe Air (Flex 3)

开发者 https://www.devze.com 2023-02-10 17:49 出处:网络
开发者_C百科I\'m using the Flex3 File.browseForOpen() method.Is there a way to specify a initial path that the file browser starts in?Create a File instance and pass in the directory you want to targe
开发者_C百科

I'm using the Flex3 File.browseForOpen() method. Is there a way to specify a initial path that the file browser starts in?


Create a File instance and pass in the directory you want to target in the constructor. Then if you call browseForOpen(), the directory will be the one you specified.

0

精彩评论

暂无评论...
验证码 换一张
取 消