PDA

View Full Version : [AS2] Open file location window on PC


yoshyaro
03-15-2010, 06:21 PM
How would one launch, from inside flash, a window (on windows and mac)?

I tried to do it with this:

mp3link.onRelease = function(){
getURL("mp3s");
}


"mp3s" is the name of the folder I'm trying to launch. But this launches my browser, though it does display the contents of the folder, I'd be better if it actually just pulled up the proper window as I'm trying to make a stand alone application, vs something for the web.

Sicontis
03-16-2010, 03:40 AM
Hello,

Have you tried looking at the FileReference class? You can use this class to browse system folders to upload/download files.

Check it out: http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001040.html#252053

yoshyaro
03-16-2010, 02:37 PM
Hmm... I've read over the link you sent me. This seems to open a dialogue box window that lets you choose files. I just want to open a normal window.

I'm trying to make a little .exe interface for a videography demo that will be on CD. I want to have a button that opens up the folder that has all of the audio from the videos disk (something like: cd drive/folder/mp3s).

Is this something that fileReference could do?