[FMX] Importing a file from the hard drive

Is there any way to create a component that will load a file (such as a jpg, flash video, or another .swf) into a .swf file, which allows the user to browse their hard drive or a specific server folder to choose which files they want to import?

I have been trying to do it with JavaScript and forms, using the basic way of uploading images to get the paths into Flash, but there must be a better way! Can anyone help? Thanks!!!