Loading external images (library)
Hello,
I want to make a photo uploader and after uploading the photo to the server you can load all the photo's that are in a folder in kind of a library.
I can load one single image because I name it in AS but I want to load the whole "images" folder so I can see all the pictures that are in it.
Is this possible? And is there someone who did dat before and that can help me?
Some help would be very nice:)
Thanks!
Geert
"This is what I got so far"
Actionscript Code:
load_btn.addEventListener(MouseEvent.CLICK, LoadBox);
function LoadBox(event:MouseEvent):void {
//create a Loader instance
var myImageLoader:Loader = new Loader();
//create a URLRequest instance to indicate the image source
var myImageLocation:URLRequest = new URLRequest("url to website");
// load the bitmap data from the image source in the Loader instance
myImageLoader.load(myImageLocation);
// add the Loader instance to the display list
addChild(myImageLoader);
}