2 Replies Latest reply: Jul 12, 2012 10:42 PM by Lonewolfblue RSS

    How to stream images stored in an external server in to a Flash Web Site?

    Lonewolfblue Community Member

      I would like to be able to bring in external images in a banner like in a slideshow, but not sure how to do it. I have a bunch of small images that I would like it to go through, and my current banner has all the images in the swf and the swf file is huge. Is there a way to import external images from a folder on the server? Where can I go to learn how to do this? Thanks....

       

      To get an idea of what I'm talking about, here's the banner on our site...

      http://www.wenatcheekennelclub.com/images/header.swf

        • 1. Re: images in banner
          Ned Murphy MVP

          Your best bet for this would be to search Google using search terms like "AS3 slideshow tutorial" or "AS3 dynamic slideshow turoial".  THis assumes you are designing an AS3 file.  If not, substitiute AS2 for AS3 in the terms.

           

          In AS3, one of the main classes used for loading external images is the Loader class. SO becoming familiar with that will be a necessary part of the learning.  But that is not all since you want to have controls for displaying the images.

           

          One thing I noticed with the banner you show, the images would not seem to need to be any "huge" burden as far as file goes.  You should optimize all images before you import them into the file.

           

          Still, having the images loading from an external supply will be better because then you can change the images as you wish without having to edit the Flash file.  To realize this capability you should include "XML" with the rest of the search terms previously identified.

          • 2. Re: images in banner
            Lonewolfblue Community Member

            Actually, I do resize and optimize the images, and with the images I currently have, the file is 235k. I don't want it any bigger so we can't add anymore images. I've never done any AS2 or 3, something I need to learn. Or maybe try out Edge and see what I can do there. Was also thinking instead of having a movie in a movie like it is now, where the rotating dogs is a separate movie, I might try and move it all out in the same timeline and see of I can save it as HTML instead. It doesn't save to HTML from the way I have it currently. Not sure if it's because of a movie in a movie, or because of the transitions. Just ideas I'm thinking about, lol.