problem with loading external gif image

This is a discussion on problem with loading external gif image within the Macromedia Flash forums in Adobe Tools category; 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...

Go Back   Application Development Forum > Adobe Tools > Macromedia Flash

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-14-2008, 12:36 AM
treesg
Guest
 
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



Reply With Quote
  #2  
Old 10-14-2008, 03:20 AM
rafiqelmansy
Guest
 
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
Reply With Quote
  #3  
Old 10-14-2008, 04:01 AM
treesg
Guest
 
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.
Reply With Quote
  #4  
Old 10-14-2008, 04:04 AM
rafiqelmansy
Guest
 
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 With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 12:32 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.