# How would you load files from off the computer? (for a media player) \[renamed\]

**URL:** <https://forum.kirupa.com/t/how-would-you-load-files-from-off-the-computer-for-a-media-player-renamed/119784>\
**Category:** Uncategorized\
**Created:** [August 18, 2004, 12:58am UTC](https://forum.kirupa.com/t/how-would-you-load-files-from-off-the-computer-for-a-media-player-renamed/119784 "2004-08-18T00:58:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![naked\_chicken](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@naked\_chicken](https://forum.kirupa.com/u/naked_chicken)\
**Post date:** [August 18, 2004, 12:58am UTC](https://forum.kirupa.com/t/how-would-you-load-files-from-off-the-computer-for-a-media-player-renamed/119784/1 "2004-08-18T00:58:23Z")

</div>

what code would be used to be able to open a file from your computer from a flash program i created? i want to make a media player and i have to learn the code to be able to load the song or what ever it may be from my computer…any help?

---

<div class="post-metadata">

**Author:** ![Dulcinea](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@Dulcinea](https://forum.kirupa.com/u/Dulcinea)\
**Post date:** [August 18, 2004, 2:35am UTC](https://forum.kirupa.com/t/how-would-you-load-files-from-off-the-computer-for-a-media-player-renamed/119784/2 "2004-08-18T02:35:14Z")

</div>

the code you will use depends on the file you want to load. if you want to load a file **in** the flash movie it will be something like:  
[font=Courier New]loadMovie(“your\_file\_name”, “mc\_name”);[/font] //for jpg or swf  
[font=Courier New]loadMovieNum(“your\_file\_name”, levelNumber);[/font] //for jpg or swf  
[font=Courier New]myMP3 = new Sound();[/font]  
[font=Courier New]myMP3.loadSound(“your\_file\_name”);//[/font]for mp3 or compressed wav  
[font=Courier New]myMP3.start(0,1);[/font]  
//or yu can simply link the file:  
[font=Courier New]getURL(“your\_file\_name”);[/font]
