[osflash] FileReference in Flash 8

David Rorex drorex at gmail.com
Thu Jul 14 12:54:05 PDT 2005


On 7/14/05, Rostislav Hristov <rostislav.hristov at gmail.com> wrote:
> > Example:
> > http://flash-ripper.com/experiments/browse-for-file/

from decompiling the settings manager, the code they use is:

        var filePath = System.security.chooseLocalSwfPath(1, intialPath);
        var dirPath = System.security.chooseLocalSwfPath(0, initialPath);

but I can't seem to get it to work in my own code. (to get around
errors in flash IDE, change it to
System.security['chooseLocalSwfPath'](0, initialPath) which compiles
to exactly same bytecode.)

-David R



More information about the osflash mailing list