Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Flash (all versions)
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 29th, 2005, 03:50 AM
Registered User
Join Date: Dec 2005
Location: Pune, MS, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Call windows' "Open file" dialog box from an swf

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,
Reply With Quote
  #2 (permalink)  
Old December 30th, 2005, 12:47 PM
Friend of Wrox
Join Date: Jun 2003
Location: Oklahoma City, Oklahoma, USA.
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts

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.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need path from Open dialog box call bab02 Access 2 October 26th, 2007 09:47 PM
Help need in setting up Call to Open dialog box method Access VBA 3 August 9th, 2005 01:38 AM
open file dialog box mh VB.NET 7 April 11th, 2005 10:15 AM
Open File Dialog Box KennethMungwira VB.NET 3 August 3rd, 2003 09:44 PM
Open File Dialog Box KennethMungwira VB.NET 2 June 27th, 2003 04:36 PM

All times are GMT -4. The time now is 02:45 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.