# How to load images from the users computer

**URL:** https://forum.kirupa.com/t/how-to-load-images-from-the-users-computer/276577
**Category:** Uncategorized
**Created:** [December 1, 2008, 4:22am UTC](https://forum.kirupa.com/t/how-to-load-images-from-the-users-computer/276577 "2008-12-01T04:22:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stumped](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@stumped](https://forum.kirupa.com/u/stumped)
#### Post date: [December 1, 2008, 4:22am UTC](https://forum.kirupa.com/t/how-to-load-images-from-the-users-computer/276577/1 "2008-12-01T04:22:45Z")

</div>

I have written a very simple flash program for very young kids. One of the programs is a matching game where the kid moves a picture up to one of three pictures that match. Someone expressed an interest in using their own images. I was wondering if it is possible to have them place pictures in a folder on their hard drive. C:/pictures as an example. The flash program that resides on the internet would then be loaded into their browser on their computer and look for the images in a folder “pictures” on their “C” drive. With the swf file on my computer I right click and open with firefox. The image is loaded from my computer. But if I put it on a server and load it into the browser from the server the picture does not appear.

pic = (“C:\pictures\p1.jpg”);  
startLoading(pic);

function startLoading(pic) {  
createEmptyMovieClip(“emc”, getNextHighestDepth());  
loadMovie(pic, this[“emc”]);  
placeImage();  
}

function placeImage(){  
emc.\_alpha = 100;  
emc.\_x = 200;  
emc.\_y = 200;  
}

Any thoughts or possible solutions?

Thanks … Michael
