开发者

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

开发者_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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜