PDA

View Full Version : Browsing for files - assigning them to sounds


Himiona
06-09-2003, 04:48 AM
I am making a tool that allows me to test different interface sounds (sounds you hear when you are clicking through menus.)

Currently I have three menu items which I can roll over and click on to hear the different sounds (Click, Over, Error)

I want to be able to have buttons which allow me to browse my local hard drive for a file to assign to a particular sound object. Eg. Click on the 'Over Sound' button to browse for a different sound for that event. Is that possible within Actionscript?

Or do I need to just import everything into the library, export and re-ttest the movie again?

Any ideas?

regards

H.

Himiona
06-09-2003, 06:41 AM
I have found that I can use a mixture of loadsound and input text to get it to work. But I want to be able to browse through a folder on my harddrive to assign particular sounds and test them out.

Any helpers out there?

Cheers

H.

CyanBlue
06-09-2003, 09:02 AM
I don't think that can be done with Flash itself... You should use something like HTML form to display the contents of the user hard drive, and use some means like batch file to move the file to the directory where your Flash movie is located, and have Flash import it... Not sure if that can be done or not...