|
Subject:
|
Call windows' "Open file" dialog box from an swf
|
|
Posted By:
|
vicky_barse
|
Post Date:
|
12/29/2005 2:50:44 AM
|
Hi, I am creating an mp3 player using flash ActionScript. Want to add playlist functionality. Can anyone please tell how to call windows' "Open file" dialog box from an swf. If its not possible through actionscript, please let me know how can it be achieved (may be using VB or any other language which supports connectivity with flash).
Any help would be highly appreciated.
Best Regards, Vicky
|
|
Reply By:
|
harpua
|
Reply Date:
|
12/30/2005 11:47:52 AM
|
What is the file format you are trying to open? A lot of the programming languages such as ASP and PHP (not familiar with ColdFusion or ASP.net) will open files. In ASP look at the FileSystemObject. In PHP look at the Directory and File Functions.
You would wlook into the loadVariables or loadVars class to call your asp, php or whatever page that "Opens" the file then transfers the data back into flash.
If you are using alot of data you might look into storing this information into a database instead, as this might be easier to maintain and will have a more uniform content control, I do not know if it is just you or various users building the playlist so this is just something to think about.
As I said I do not know details of your project, so once you start building it if you have problems with the code, post it and somebody will help.
peace mike
|