The problem we ran into happens both in IE 6 and 7. I'm guessing it's a bug in how the Flash plugin interfaces with IE.
-Andy On 10/17/06, David Buff <[EMAIL PROTECTED]> wrote:
One way could be to draw a part of your image into a small BitmapData then do a getPixel, if the value is not 0, your image is loaded. I've a problem with IE and the flash loader too. But it's with request on cfm pages. After 200 requests, the connection come back with success, but the values are undefined... I work on this since a week without finding a good solution... This problem appear only with IE7. It seem's that there is actually a problem with IE and Flash. Have you also this problem only with IE7 or with all IE releases ?? ----- Original Message ----- From: "Hans Wichman" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" <[email protected]> Sent: Monday, October 16, 2006 11:35 PM Subject: Re: [Flashcoders] Weird image download problems in IE > Hi, > there is a bug in the loader component, which might be whats bothering you > in your case. > It plagues the scrollpane too, but there is a fix somewhere out there:) > > greetz > JC > > > On 10/16/06, Alain Rousseau <[EMAIL PROTECTED]> wrote: >> >> I've never used the Loader myself, so I can't really help you out with >> this >> error, but it might be an issue with Adobe's ActiveX Add-on ?? If it's >> only >> IE that's affected that's where I would be looking. >> >> Alain >> >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Andy >> Herrman >> Sent: 16 octobre 2006 16:31 >> To: Flashcoders mailing list >> Subject: Re: [Flashcoders] Weird image download problems in IE >> >> Awesome, looks like that works. Thanks! >> >> Any idea what's causing the problem with the Loader? Just some bug in >> Flash >> or IE? >> >> -Andy >> >> On 10/16/06, Alain Rousseau <[EMAIL PROTECTED]> wrote: >> > Have you tried using the MovieClipLoader class ? >> > >> > It has an event very usefull called onLoadError . It gives you the >> > following informations (quote from the livedocs): >> > >> > "errorCode:String - A string that explains the reason for the failure, >> > either "URLNotFound" or "LoadNeverCompleted". >> > >> > httpStatus:Number [optional] - (Flash Player 8 only) The HTTP status >> > code returned by the server. For example, a status code of 404 >> > indicates that the server has not found anything that matches the >> > requested URI. For more information about HTTP status codes, see >> > sections 10.4 and 10.5 of the HTTP specification at >> ftp://ftp.isi.edu/in-notes/rfc2616.txt." >> > >> > >> > >> > You should look up the full docs on the matter here : >> > http://livedocs.macromedia.com/flash/8/main/00002538.html >> > >> > HTH ! >> > >> > >> > Alain >> > >> > -----Original Message----- >> > From: [EMAIL PROTECTED] >> > [mailto:[EMAIL PROTECTED] On Behalf Of Andy >> > Herrman >> > Sent: 16 octobre 2006 15:23 >> > To: Flashcoders >> > Subject: [Flashcoders] Weird image download problems in IE >> > >> > We're running into a really strange problem with image downloads in >> > Flash when running in IE and was wondering if anyone else has seen >> > something like this or has any ideas on what I could do to fix it. >> > >> > We need to have the Flash movie be able to download arbitrary images >> > from the web and display them. I also need to be able to tell whether >> > the download worked or not, so I can display an error if it failed or >> > manipulate the image if it loaded. >> > >> > The problem we're running into is that in IE the loader class will >> > tell us the image failed to load even though it worked fine. Here's >> > some test code we used to test: >> > >> > --------------- >> > import mx.controls.Alert >> > >> > this.createClassObject(mx.controls.Loader, "my_ldr", 10); >> > >> > var poLoaderListener = new Object(); >> > poLoaderListener.oScope = this; >> > >> > poLoaderListener.complete = function(oEvent) >> > {mx.controls.Alert.show(oEvent.total); }; >> > >> > poLoaderListener.progress = function() {}; >> > >> > my_ldr.addEventListener('complete', poLoaderListener); >> > my_ldr.addEventListener('progress', poLoaderListener); >> > >> > my_ldr.load(IMAGE_URL); >> > --------------- >> > >> > When running this in Firefox it works fine, and the alert box gives us >> > the right value. However, in IE when trying this the alert box pops >> > up with a -1, telling us the download failed. However, the image still >> shows up. >> > >> > The only thing I've been able to figure out is that the speed of the >> > download has something to do with it. In the actual product we're >> > downloading the images through a server that acts as a sort of proxy >> > which caches the images. The first time we hit it the proxy has to >> > download the source image before returning it to the client. This is >> > when we see the problem. Later attempts seem to work fine as the >> > download happens faster (the server cached the image so it doesn't have >> to >> redownload it). >> > >> > To simplify the test I took the proxy out of the loop and threw a >> > bandwidth limiter on the server that had the image I was testing. >> > When throttling it back to act like a 56k modem I could reproduce the >> > error in IE. It still worked fine (just really slow) in Firefox. >> > >> > Has anyone seen this before? It's causing serious problems, as we >> > need to be able to tell if the image downloaded successfully or not. >> > Any ideas of ways to get around this or fix it? Note that we have to >> > support Flash 7+. >> > >> > Thanks! >> > >> > -Andy >> > _______________________________________________ >> > [email protected] >> > To change your subscription options or search the archive: >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > >> > Brought to you by Fig Leaf Software >> > Premier Authorized Adobe Consulting and Training >> > http://www.figleaf.com http://training.figleaf.com >> > >> > >> > -- >> > No virus found in this incoming message. >> > Checked by AVG Free Edition. >> > Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: >> > 2006-10-14 >> > >> > >> > -- >> > No virus found in this outgoing message. >> > Checked by AVG Free Edition. >> > Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: >> > 2006-10-14 >> > >> > >> > _______________________________________________ >> > [email protected] >> > To change your subscription options or search the archive: >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > >> > Brought to you by Fig Leaf Software >> > Premier Authorized Adobe Consulting and Training >> > http://www.figleaf.com http://training.figleaf.com >> > >> _______________________________________________ >> [email protected] >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training http://www.figleaf.com >> http://training.figleaf.com >> >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: >> 2006-10-14 >> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Free Edition. >> Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: >> 2006-10-14 >> >> >> _______________________________________________ >> [email protected] >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com >> > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

