problem with loading external gif image - Macromedia Flash

This is a discussion on problem with loading external gif image - Macromedia Flash ; Hi I want to load gif image form external url but it didn't work but the same action work with .jpg file. why ? Note: I'm using flash cs3 & AS 2.0 code I m using var mcHolder:MovieClip = this.createEmptyMovieClip("mcHolder", ...

+ Reply to Thread
Results 1 to 4 of 4

problem with loading external gif image

  1. Default problem with loading external gif image

    Hi
    I want to load gif image form external url but it didn't work but the same
    action work with .jpg file. why ?

    Note:
    I'm using flash cs3 & AS 2.0

    code I m using

    var mcHolder:MovieClip = this.createEmptyMovieClip("mcHolder",
    this.getNextHighestDepth());
    var mclLoader:MovieClipLoader = new MovieClipLoader();
    var oListener:Object = new Object();
    mclLoader.addListener(oListener);

    oListener.onLoadInit = function(mcContent:MovieClip) {
    mcContent._xscale = 35;
    mcContent._yscale = 35;
    }


    mclLoader.loadClip("http://192.168.1.185/bostonusa/images/stories/backbay.gif
    ", _root.popup1.image_mc);


    but instead of given url if I use
    http://192.168.1.185/bostonusa/image...FreeTicket.jpg
    it wil work.
    Please reply me ASAP.

    Thanks




  2. Default Re: problem with loading external gif image

    Hi,
    I think Load movie only works with jpg and png, or that is what i remember

  3. Default Re: problem with loading external gif image

    Thanks For your reply.

    But What to do in this case if I want to load gif image.

  4. Default Re: problem with loading external gif image

    Hi,
    I am sorry i do not know if there is a work-around, but you can convert your image to png instead, or try to search in google how to import extranl GIF into Flash.

+ Reply to Thread