Flash Galleries generate multiple image folders

Can anyone explain why the Flash templates need to generate 3 image folders (Large, Medium, Small) in addition to the Thumbs? I'm pushing my disk space limit on my hosting server, and wonder if I really need to upload all these, as the combined size of the Small and Medium folders exceeds that of the Large folder, and I don't know what purpose they serve (though of course I don't know how Flash works, at all)
Any input appreciated
Jim

Bluefire developed the Adobe Media Gallery (i.e. the Flash gallery packaged with Lightroom) and have posted a lot of interesting information about it in their blog. Definitely worth reading up on if you plan to use it.

Similar Messages

  • Data Merge from Multiple image folders

    I'm on a MAC running CS3 and trying import several thousand images via DataMerge that are all housed in different folders.
    It is very difficult to move all the images to a single folder where the Tab Delimited File lives, which I understand is how I'm supposed to use DataMerge.
    Does anyone know who to specify the proper path on a MAC that will recognize my each of my folders and files within? I tried every configuration I can think of and nothing is working.
    for example here are just a few of what I've tried. Nothing works but logic would say that it should am I wrong?
    Mike:Users:Desktop:Images:A:01.jpg
    Users:Desktop:Images:A:01.jpg
    :Mike:Users:Desktop:Images:A:01.jpg
    ../Mike:Users:Desktop:Images:A:01.jpg
    Mike/Users/Desktop/Images/A/01.jpg
    ~Mike:Users:Desktop:Images:A:01.jpg
    ~Users:Desktop:Images:A:01.jpg
    ~Users/Desktop/Images/A/01.jpg
    HELP! Please

    @ Peter thanks for your help.
    I saw some tutorial on youtube that said the file had to be in the images folder and then everything I tried seemed to echo that.
    I also tried the copy path from InDesign from a placed image to no avail. Then the get info (mac trick) from the finder to get the path. also to no avail.
    I even followed Adobe's instructions on the their site
    http://www.adobe.com/designcenter/indesign/articles/indcs2at_datamerge.html
    But what I finally found is that the Tab Delimited file first has to be relative to the filepath specified.
    ie.
    if my images are located in
    /Mac HD/Users/Mike/Images/Art/Round1/01.jpg
    /Mac HD/Users/Mike/Images/Art/Round1/02.jpg
    etc.
    and my text file lives in the Art folder. All I have to specify the path name from Round1 onwards, not back to the root level as I thought.
    so
    /Round1/01.jpg 
    /Round1/02.jpg 
    is all I need to include in the text file

  • Multiple contact sheet from multiple image folders

    Hi everybody,
    I have a folder with 120 subfoders with 30 images each, 
    is there a "automatic way" to make a  contact sheet of every subfolder: 120 contact sheet of 30 images in this case? 
    i need help

    Hi GKaiseril, thanks for reply.
    Yes, I use Bridge to do that, but I need to automate the process.
    Know a script with which you can select a folder and make a contact sheet different for each subfolder containing? Preferably for Bridge or Photoshop.
    Best regards.

  • Multiple flash galleries in catalyst

    similar version of a question I posted earlier...
    I'm using flashcatalyst and importing slideshowpro lightroom galleries (swf files that call xml files).  is there a way to have flash catalyst look not just in the root directory for an SWF's xml files?  I can't put multiple galleries in one catalyst file, because I can't seem to get it to look for XML files within directories.
    either that, or I'd take any solution toward the end of having multiple flash galleries in a single flash site.
    thanks,
    aemilia

    Chris, first of all, thank you so much for replying!  Thank you thank you.
    Yes, there is a slideshowpro.swf, and a params.xml and images.xml  it seems that slideshowpro.swf wants to look in the directory of the html file, not the relative path of the swf, for the xml files.  I had a long chat with slideshowpro support about this, and we tried changing the base param within the HTML file, but it didn't inherit itself all the way to the slideshow pro swf.  But I digress...
    I actually tried almost the same thing already, but not exactly.  Tell me if this make sense:
    I built the fancy swf in flash catalyst, and imported the swf in flash catalyst. (I didn't wait until flash builder).  Then, knowing what little I know about flash builder, I opened the FXP there, and imported the separate folders into the project structure in the left column (I added assets/images/gallery-headshots/slideshowpro.swf, assets/images/gallery-editorial/slideshowpro.swf). 
    Then, I clicked on the swf in the state I was focusing on, and changed the "source" field in the right column to the *new* location of the swf within the file structure I imported.  I did this simply because I didn't know enough about flash builder to import and place an swf asset myself.  This didn't work, unfortunately.
    Does that make any sense?
    Thanks again,
    Aemilia

  • Multiple image galleries

    Is there any way other than a downloaded app to create multiple image galleries?  To move images between galleries?  Basic gallery manipulations at all?

    Bluefire developed the Adobe Media Gallery (i.e. the Flash gallery packaged with Lightroom) and have posted a lot of interesting information about it in their blog. Definitely worth reading up on if you plan to use it.

  • I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?

    I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?

    Logged the call with SAP who directed me to 'Define settings for attachments' in IMG and setting the 'Deactivate Java Applet' & 'Deactivate Attachment versioning' checkboxes - problem solved.

  • Bridge CS6 Script to Find Multiple Images in Multiple folders.

    Is it possible to have a script to find multiple images within multiple folders that is on a external hard drive?
    For instances I have a external hard drive assuming it's for a library of pictures.
    Inside this hard drive has folders named as below
    1-1000
    1001-2000
    2001-3000
    3001-4000
    If I had a perfect csv file for example that calls out for specific pictures for example 2, 10,1500 and 2000 (remember think big, it may be a larger list than this it could be hundreds or thousands of pictures); is there a script that would allow me to find these images and save a copy of them on to my desktop so that way I don't have to hunt for them in the old fashion way? I can read scripts but writing them is a different story.

    If you want to go with Batch I would recommend creating an Action of more or less these steps:
    • set the resolution to the same as the background image’s
    • change the image from Background Layer to regular Layer if necessary
    • convert it to a Smart Object
    • add a Drop Shadow Layer Style to the image (do not use Global Angle)
    • place the background image (File > Place …)
    • move it behind the image layer
    • Image > Reveal All
    • make Selection from that layer’s transparency (cmd-click its icon in the Layers Panel) and use Image > Crop
    • select and transform the image layer to fit the intended position
    This would naturally work out best if the images had the same size and proportions.
    For the reflection on the floor duplicate the image, flip it vertically, move it in position and reduce its opacity to maybe 10%.
    Realistically you may have to hide it partially behind the pillows, a Vector Mask would be an option.

  • Multiple lightroom flash galleries in website

    Ok, I don't have much experience with html, or any at all with flash, just so we're clear.
    I'm attempting to link to different lightroom-created flash galleries within my website. The problem is, when I add the first gallery to the remote (using godaddy ftp client) that link works fine. When I upload the second gallery for a different link, I get the first gallery instead of the second. I'm under the assumption that something within the lightroom-flash files needs to be renamed so the link is a different path for the second gallery. (make sense?) The idea is clicking on a thumbnail on a "galleries" page links to the lightroom-created flash gallery I created with those images.
    I'm not attempting to add the .swf to an html editor, just straight upload to godaddy. Can anyone tell me what part/parts need to be changed so each gallery works with it's own images?
    Thanks!
    -shane

    Shane,
    You should put different Flash galleries into different subfolders (subdirectories) of your web site, and link to the "index.html" file within each subfolder from your main page.
    Beat Gossweiler
    Switzerland

  • Web module: All Flash Galleries have a 'cool' tone on images

    My monitor is calibrated 3x year and I have no other issues with color anywhere but in the Web module and only when I use ANY Flash gallery.  This has been a problem for me since 4.0 was installed (now on 4.2) 
    Before any of the images (sRGB jpegs) are selected, the template appears and the preview image is 'blue' and I see the same cool cast on all the navigation bars (see screen capture below of the standard Flash gallery *BEFORE* the images load and notice the 'blue' boxes- this is how 'cool' my images become . 
    Once the images are chosen and loaded, all the images have the same blue/cool tone look.  Again this is ONLY occuring on the Flash Gallery templates.  I have been using a workaround by creating virtual copies and 'warming them' before moving to the WEb module.
    Anyone else have this issue?

    Appears it wont work. Since the last project didnt require
    any installs from the end user, I wont be able to get away with it
    for this one.
    (user would need to have AIR installed on their machine)
    http://labs.adobe.com/wiki/index.php/AIR:Developer_FAQ#Can_I_create_CD-ROM_or_kiosk_applic ations_that_leverage_Adobe_AIR.3F

  • Multiple image upload CRASH!!! but works with simple image upload

    I'm getting MAD.
    I'm using php and GD
    While the simple image and re size works like a charm, the multiple image upload or the multiple file upload have a strange behavior.
    It opens the pop-up with flash, then eventually shows me files or thumbnails but when I try to up load I just wait and get the typical "system becoming unstable" flash error.
    As I can see the directory is always generated (I've tried also to put a static directory) but after stargin the upload the flash uploader just crashes and no result.
    Any help would be really appreciated

    Hi Fonzie,
    as the folder is getting created, the issue you´re having is not related to wrong folder permission - it´s something else...
    As I wrote before, che common upload and resize function works perfectly
    this one works perfectly, because it´s just one file to upload and to process, wheras doing that with multiple files might collide with some settings on your server
    So for sure it's not a simple issue as the max filesize
    Are you sure ? Did you check the current "max_upload_filesize" setting ? As long you don´t check it, you can´t know :-)
    As a general rule of thumb, it´s important to be aware of the fact that uploading & resizing images on the server might collide with several PHP settings -- and the more images you upload and resize in one swoop, the closer you´re getting to these limits respectively might even be exceeding them. The following "directives" are those which have an effect on whether your image/file upload & processing will work or not:
    - "max_upload_filesize" :: is sometimes set to just 8 MB on a shared hosting, sometimes 16 MB, sometimes more. This setting will affect the file upload procedure only
    - "set_time_limit" (e.g. 30 seconds) :: if the execution time of a script exceeds this limit for whatever reason, the server simply shuts it down without letting you (respectively the flash uploader) know it´s been shut down. This *might* be the reason why ADDT´s flash uploader hangs respectively returns that error message after some time, because it´s waiting for some response from the server which never comes.
    - "memory_limit" (e.g. 8 MB) :: this directive is a sort of "allocated server RAM" for your account, and it´s in particular the image resizing process which will grab more or less memory resources -- the higher the the resizing factor is, the more RAM is spent, and the more images are getting resized in one swoop, the worser it gets.
    However, all these PHP directives can be changed, and your host might even be so courteous to increase the currently defined values of those abovementioned directives for you -- and that´s what I´m suggesting at this point.
    Cheers
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Loading multiple images in IE...

    Hi,
    I encountered a very strange problem (probably bug) while
    loading multiple images from IE. Flash is very simple (code is
    stripped version of match larger program) it contains simple for
    loop that loads image 20 times, and COMPLETE handler that position
    image.
    Running application from Flash IDE is ok, but if user run
    flash embeded into html from IE (IDE auto generated html) and
    interrupt loading (closes IE tab (not whole IE, just tab)) next
    load of same html stop working. What is event more strange, is that
    image url entered in addres field of IE will not work?!?!
    To conclude, to reproduce this behavior: run html from IE and
    close tab in middle of loading process (after few images loaded).
    Running html again will not work (or typing image url into
    address). NOTE that tab must be closed (not whole IE). Closing IE
    and running html again will work normaly.
    Is there any idea how to correct this? Note that I used
    different image links, and any of them have same behavior, so i
    excluded url as error.
    P.S. I use IE 7 under the Vista, but IE 7 with XP also have
    same behavior.
    Thanks

    If you mean that image service have simultaneous download
    limit, it does not. We have number of tile-generating services, and
    also prerendered images, and on every system we have same issue.
    Also, any flash-based map that load tiles are prone for this
    error (e.g. yahoo maps, flashearth even google flash maps).
    P.S. On Firefox it works ok.

  • Multiple Images with a Loader

    I am trying to load and display multiples images with a Loader, one after another. The program only displays the last image to be loaded and added to the stage. What is wrong? Here is my code..
    ---START OF CODE---------------------------------------
    import flash.events.MouseEvent; //Package needed for mouse events
    btnGenerate.addEventListener(MouseEvent.MOUSE_DOWN, buttonPressed); //Button click listener
    chkSeal.addEventListener(MouseEvent.MOUSE_DOWN, chkTriggered); //Check box click listener
    //If the check box is toggled, switch to 8 or 9 max characters
    function chkTriggered(event:MouseEvent):void
         if (chkSeal.selected == false)
              txtInput.maxChars = 8;
         else
         txtInput.maxChars = 9;
    function buttonPressed(event:MouseEvent):void
         var pictureLoader:Loader = new Loader(); //Picture loading variable
         var plateText:String = txtInput.text; //Plate text string
         var filename:String; //Filename for each character's associated picture
         var currentX:int = 10; //Current x position
         var i:int; //Counter to use in for loop
         plateText = plateText.toUpperCase(); //Convert plate text to upper case
         //For every character in the sequence
         for(i = 0 ; i < txtInput.length ; i++)
              filename = "/Numbers and Letters/" + plateText.charAt(i) + ".png"; //Generate filename
              pictureLoader.load(new URLRequest(filename)); //Load the picture
              addChild(pictureLoader); //Add picture to the stage
              pictureLoader.x = currentX; //Move picture into position
              pictureLoader.y = 366; //Constant y position for all images
              currentX = currentX + 52; //Increase the current x (by the size of the images)
         txtInput.text = "Done!"; //Display done in the text box
    -------------END OF CODE----------------------------

    You appear to only have one Loader instance working for you.  A Loader can only hold one load at a time.  Try creating new Loaders within the loop.

  • How do I stop iWeb outputting multiple image files? It makes my site slow!

    I'm a professional web designer (but don't let that put you off) who uses Dreamweaver and also handcodes HTML & CSS websites at work on a PC, but having got a new Mac for home use I thought I'd give iWeb a go for a personal site hosted on .Mac, showcasing my music and film efforts, that I didn't want to have to think about coding.
    I've built a short little site using the attractive 'Travel' theme, just 5 or 6 pages so far, and have not yet added any multimedia content. However, it seemed to take ages to upload it when I published it to .Mac. So then I went to view it, and it was soooo sloooow to download each page, even on my 4mb cable connection. I know it's a fairly graphically-rich theme, but still!
    I noticed that it was redrawing the navigation menu each time... and upon close inspection of the HTML code using Safari's 'View Source' to my horror I found out that that each page has a seperate '_files' folder that contains multiple versions of files that are also used in other pages - including navigation buttons and background images. I also saw that every element has styling applied to it 'inline' in the code, rather than in a single seperate style-sheet.
    To confirm this I published it to a folder on my hard drive and checked it all out. What a mess!
    As a WYSIWYG web page editor iWeb is great but it's an undisputable fact that the HTML markup and CSS code it produces is absolutely appaling. What's worse though is that it also renders whole swaithes of text as images and that it does create seperate folders for each pages content including images, CSS code and navigation buttons - so even though the same images and code are used throughout the site for the background and buttons and layout, they are written out as seperate files and have to be reloaded with every page!!!
    This means that the .Mac server must be getting hammered and webpages are very slow to download and slow to render in Safari - it's almost like dialup when I'm viewing my iWebsite, and like I said, I've got a 4mb cable connection!
    Looking at the code iWeb produces, it is good to see that tables are not used for layout, and that's one thing in its favour. But surely the whole point of providing 'themed' templates for users is that the same content is used across the site and therefore doesn't need to be created multiple times - one of the benefits of using CSS stylesheets. Why doesn't iWeb create a single stylesheet and make efficient use of repeated images instead of creating multiple instances of the same file for each page?
    Perhaps there is a setting somewhere I've missed. If so, let me know someone!
    It is a great WYSIWYG editor, but behind the scenes it's not efficient, it's not clean and simple and it's certainly not attractive - and I'm surprised at that coming from Apple! I know iWeb is a great tool for beginners and I'm a picky professional, but if I was Joe Public First Time Web Designer I'd be very annoyed by this.
    Clean it up and sort it out Mr Jobs!
    PS: Also, where does iWeb store the website whilst it's in production? I can't find it anywhere?

    Your iWeb Site is stored not on your iDisk, but on a file named Domain.sites in your ~/Home/Library/Application Support/iWeb/ Folder.
    If , for whatever reason, you wipe your HD and/or lose this file (Get a new computer, Re-Install your OS, Stolen Laptop, Crashed HD, Etc.) without backing-up your Domain.sites file then you will have to re-build your iWeb sites from scratch again.
    Of course you can edit your Published HTML files in a different program such as Dreamweaver or even Text Edit. You just can't edit Published HTML files in iWeb. Not at this time at least.
    Use iWebBackup to backup your Domain file to a Blank CD or DVD. Backing up your Domain file to another folder on your computer is not fully backing it up. If your computer gets stolen you still lost the file but if you have your Domain file burned onto a CD you have a backup!
    Download iWebBackup Here
    You can use iWebExtender to automatically consolidate your files into one folder and delete multiple images.
    http://iWebFAQ.com

  • Bridge CS4 won't output to pdf multiple images with same filename

    Hiya...my googling efforts have thus far failed!
    I've got CS4, and in Bridge, I created a New Smart Collection to find all filenames in a folder containing "." or ".jpg" - which in turn searched through all the subfolders like what you used to be able to do in Photoshop CS3.  Very simple stuff, but all the images are jpg's, but in multiple folders (I don't want to move them out of the folders, as the files came from an external source, and there are heaps of folders, and I don't want to pdf each subfolder seperately as it will take forever).
    The problem is that some of the files have the same filenames (again I'd prefer not to rename, as it happens a lot on this project, and they are all over the place).  So whilst Bridge will show the thumbnail images correctly in the content tabbed screen in my New Smart Collection, but once I've done the Output to PDF thing, for example, instead of showing both different images it has pdf only the first image but repeated it twice.  And this happens multiple times throughout the pdf, the more times the same filename is used, the more times the first image gets repeated.
    I know that it is messy to have multiple similar filenames, but why can't bridge just place the image anyway?  It allocated a space for it on the pdf and does show it in bridge, it just doesn't seem to survive the transfer to pdf well.
    The only other thing that I have done is use the below link (which was posted on another adobe forum thread) to create a custom pdf output template (nothing too fancy, just number of rows / columns, size, font etc).  But I've tried using the standard bridge templates and it does the same thing.
    http://www.proficiografik.com/2009/08/03/save-custom-pdf-output-template-in-adobe-bridge-c s4.html
    Any help would be appreciated...even if to tell me that I am being unreasonable!
    UPDATE 16/11/09
    Just to let you know that I seem to have resolved the bug inadvertently with one of the Adobe updates. The below is the link for the AdobeOutputModule-2.1-mul-AdobeUpdate.zip which was released on 2/19/2009 - which allows for headers & footers to be placed in the Ouput pdf. I finally installed it today, and everything seems to be working fine now (i.e. I can pdf multiple images with the same filenames and the pdf will actually show each different image rather than repeating only 1 of the images).
    Must have been a fix installed in the contact sheet templates that get installed with the update - not sure why the original version was corrupted, but I've left that with the Adobe guys (I submitted a bug report - and they were able to replicate the problem but hadn't fixed it as yet).
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4228
    Message was edited by: djtun71 (16/11/09)

    When I click import from disc I am asked to choose a disc and then I get this message:
    The following photos will not be imported because they are already present in the catalog. To see these photos in the catalog select 'Show in Library' (the import will be canceled).
    This is followed by a long list of images. If I click 'Show in Library' I can see all the images with the same filename. And then they start to automatically write over those images with images from the disc. However they keep the same metadata and keywords from the previous images. If I click on Import and deselect the "don't reimport suspected duplicates" box, it imports only the images that don't share filenames and none of the images that do.
    Is there a way of setting the "Don't reimport suspected duplicates" box in preferences?

  • Problem in Loading Multiple image in Single Sprite/MovieClip

    Hi All,
    I am having a killing problem in loading multiple images in single movie clip/sprite using a separate class.
    Here is the ImageLoader.as class
    package com.project.utils{
        import com.project.*;
        import com.project.utils.*;
        import flash.events.EventDispatcher;
        import flash.display.MovieClip;
        import flash.events.Event;
        import flash.events.ProgressEvent;
        import flash.display.Loader;
        import flash.events.IOErrorEvent;
        import flash.net.URLLoader;
        import flash.events.MouseEvent;
        import flash.net.URLRequest;
        import flash.display.Bitmap;
        public class ImageLoader extends EventDispatcher {
            public var imgloader:Loader;
            public var imgMc:MovieClip;
            public var imgObject:Object;
            public var loaded:Number;
            public function ImageLoader():void {
                imgMc = new MovieClip();
                imgObject = new Object();
                imgloader = new Loader();
            public function loadImage(imgHolder:MovieClip, imgObj:Object):void {
                imgMc = new MovieClip();
                imgObject = new Object();
                imgloader = new Loader();
                imgMc = imgHolder;
                imgObject = imgObj;
                imgloader.contentLoaderInfo.addEventListener(Event.COMPLETE,onImgLoad);
                imgloader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,onImgLoadProgress);
                imgloader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,onImageLoadFailed);
                imgloader.load(new URLRequest(imgObj.FilePath));
            private function onImgLoad(Evt:Event):void {
                var image:Bitmap = Bitmap(Evt.target.content);
                try {
                    imgMc.removeChildAt(0);
                } catch (error:Error) {
                imgMc.addChild(image);
                try {
                    if (imgObject.URL != undefined) {
                        imgMc.buttonMode = true;
                        imgMc.removeEventListener(MouseEvent.CLICK, onImageClicked);
                        imgMc.addEventListener(MouseEvent.CLICK, onImageClicked);
                } catch (err:Error) {
                dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD"));
            private function onImageClicked(evt:MouseEvent):void {
                trace("Image Attrs:"+imgObject.URL +" Target "+imgObject.Target);
            private function onImgLoadProgress(Evt:ProgressEvent):void {
                if (Evt.bytesLoaded>0) {
                    loaded = Math.floor((Evt.bytesLoaded*100)/Evt.bytesTotal);
                    dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD_PROC",loaded));
            private function onImageLoadFailed(Evt:IOErrorEvent):void {
                trace("Image Loading Failed");
                dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD_FAIL"));
    Here I am loading some images using the above class in a for loop, like
                for (var i=0; i < 3; i++) {
                    //imgLoader=new ImageLoader;
                    imgLoader.addEventListener("CustomEvent.ON_IMGE_LOAD",onImageLoad);
                    var target:MovieClip=videolist_mc["list" + mcCount + "_mc"];
                    target.list_mc.visible=false;
                    var imgObj:Object=new Object;
                    imgObj.FilePath=list[i].Thumbnail;
                    imgObj.Url=list[i].Url;
                    imgObj.Target=list[i].Target;
                    target.list_mc.urlObj=new Object  ;
                    target.list_mc.urlObj=imgObj;
                    imgLoader.loadImage(target.list_mc.imgholder_mc,imgObj);
                    target.list_mc.lable_txt.htmlText="<b>" + list[i].Label + "</b>";
                    target.list_mc.imgholder_mc.buttonMode=true;
                    target.list_mc.imgholder_mc.addEventListener(MouseEvent.CLICK,onItemPressed);
                    mcCount++;
    In this case, the ImageLoader.as works only on the last movie clip from the for loop. For example, if i am trying to load three image in three movie clips namely img_mc1,img_mc2 and img_mc3 using the for loop and ImageLoader.as, I am getting the image loaded in the third movie clip only img_mc.
    See at the same time, If i uncomment onething in the for loop that is
    //imgLoader=new ImageLoader;         
    its working like a charm. But I know creating class objects in a for loop is not a good idea and also its causes some other problems in my application.
    So, help to get rid out of this problem.
    Thanks
    -Varun

    package com.project.utils{
        import com.project.*;
        import com.project.utils.*;
        import flash.events.EventDispatcher;
        import flash.display.MovieClip;
        import flash.events.Event;
        import flash.events.ProgressEvent;
        import flash.display.Loader;
        import flash.events.IOErrorEvent;
        import flash.net.URLLoader;
        import flash.events.MouseEvent;
        import flash.net.URLRequest;
        import flash.display.Bitmap;
        public class ImageLoader extends EventDispatcher {
            public var imgloader:Loader;
            public var imgMc:MovieClip;
            public var imgObject:Object;
            public var loaded:Number;
            public function ImageLoader():void {
    // better add you movieclip to the stage if you want to view anything added to it.
                imgMc = new MovieClip();
                imgObject = new Object();
                imgloader = new Loader();
            public function loadImage(filepath:String):void {
                imgloader.contentLoaderInfo.addEventListener(Event.COMPLETE,onImgLoad);
                imgloader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,onImgLoadPr ogress);
                imgloader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,onImageLoadF ailed);
                imgloader.load(new URLRequest(filepath));
            private function onImgLoad(Evt:Event):void {
                var image:Bitmap = Bitmap(Evt.target.content);
                try {
                    imgMc.removeChildAt(0);
                } catch (error:Error) {
                imgMc.addChild(image);
                try {
                    if (imgObject.URL != undefined) {
                        imgMc.buttonMode = true;
                        imgMc.removeEventListener(MouseEvent.CLICK, onImageClicked);
                        imgMc.addEventListener(MouseEvent.CLICK, onImageClicked);
                } catch (err:Error) {
                dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD"));
            private function onImageClicked(evt:MouseEvent):void {
                trace("Image Attrs:"+imgObject.URL +" Target "+imgObject.Target);
            private function onImgLoadProgress(Evt:ProgressEvent):void {
                if (Evt.bytesLoaded>0) {
                    loaded = Math.floor((Evt.bytesLoaded*100)/Evt.bytesTotal);
                    dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD_PROC",loaded));
            private function onImageLoadFailed(Evt:IOErrorEvent):void {
                trace("Image Loading Failed");
                dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD_FAIL"));
    Here I am loading some images using the above class in a for loop, like
                for (var i=0; i < 3; i++) {
                    var imgLoader:ImageLoader=new ImageLoader();
                    imgLoader.addEventListener("CustomEvent.ON_IMGE_LOAD",onImageLoad);
                    var target:MovieClip=videolist_mc["list" + mcCount + "_mc"];
                    target.list_mc.visible=false;
                    var imgObj:Object=new Object;
                    imgObj.FilePath=list[i].Thumbnail;
                    imgObj.Url=list[i].Url;
                    imgObj.Target=list[i].Target;
                    target.list_mc.urlObj=new Object  ;
                    target.list_mc.urlObj=imgObj;
                    imgLoader.loadImage(pass the image file's path/name);
                    target.list_mc.lable_txt.htmlText="<b>" + list[i].Label + "</b>";
                    target.list_mc.imgholder_mc.buttonMode=true;
                    target.list_mc.imgholder_mc.addEventListener(MouseEvent.CLICK,onItemPressed);
                    mcCount++;

Maybe you are looking for