Re: [Flashcoders] Problem: Safari and dynamic loading?
Hi, I'm pretty sure this is an issue with Safari as a similar problem somethings occurs when loading HTML pages. From what I can tell it's completely random. I'm using Safari 1.3.1 so maybe an update to 1.3.2 would fix the problem? Haydn. On 21/11/2006, at 9:08 PM, Daniel Forslund|Lists wrote: Hi everyone! I've researched this - apologies if I've missed the answer somewhere. Anyways: I have a flash application that reads an XML-file and then proceeds to load lots of content dynamically - a common situation. Everything works very well, except now and then in Safari. Safari will then "miss" loading an element and my preload bar for that object will hang indefinitely. A simple reload of the page solves the problem. This happens regardless of whether I've cleared Safari's cache etc. The problem *never* occurs in other browsers (Firefox for example) or offline. So I'm starting to suspect Safari as the culprit rather than my code. - Has anyone experienced the same problem? - Any idea what may be causing it? - Any pitfalls in using Moviecliploader that may cause this? I would be very thankful for advice as I want to pin down the problem before it causes problems for the client. Thanks in advance! Regards, Dan ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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
Re: [Flashcoders] Problem: Safari and dynamic loading?
I've had this problem recently. I found it was an issue when the swf and the html file aren't in the same directory. Either put them both in the same directory, or give the full path in your filename. Let me know how you get along! Seb Lee-Delisle sebleedelisle.com On 22/11/06, Haydn <[EMAIL PROTECTED]> wrote: Hi, I'm pretty sure this is an issue with Safari as a similar problem somethings occurs when loading HTML pages. From what I can tell it's completely random. I'm using Safari 1.3.1 so maybe an update to 1.3.2 would fix the problem? Haydn. On 21/11/2006, at 9:08 PM, Daniel Forslund|Lists wrote: > > > Hi everyone! > > I've researched this - apologies if I've missed the answer somewhere. > Anyways: > I have a flash application that reads an XML-file and then proceeds to > load lots of content dynamically - a common situation. > Everything works very well, except now and then in Safari. Safari will > then "miss" loading an element and my preload bar for that object will > hang indefinitely. A simple reload of the page solves the problem. > This happens regardless of whether I've cleared Safari's cache etc. > > The problem *never* occurs in other browsers (Firefox for example) or > offline. So I'm starting to suspect Safari as the culprit rather than > my code. > - Has anyone experienced the same problem? > - Any idea what may be causing it? > - Any pitfalls in using Moviecliploader that may cause this? > > I would be very thankful for advice as I want to pin down the problem > before it causes problems for the client. Thanks in advance! > > Regards, > Dan > ___ > Flashcoders@chattyfig.figleaf.com > 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 > ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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
Re: [Flashcoders] Problem: Safari and dynamic loading?
I had a similar problem a while back with a project that required a lot of stuff (xml, swf's, and jpg's) to load all at once. It worked fine in publishing and in IE on Windows but Firefox (Mac and PC) and Safari (it was the wost with safari) would tend to miss stuff just as you have discribed. I the only way I was able to put the problem to bed for sure was to build a load manager class that would make sure everything loaded up one at a time. So all of the stuff that needed to be loaded would be put into a queue and the class would go through and load stuff, making sure not to load the next thing in the queue until the previous thing had finished. It did slow things down a little bit, but better that then having unpredictable results. Since I saw the problem in multiple browsers, I suspect it was more of a bug in the Flash Player. But it's clear that loading in tons of stuff at once can cause problems. Email me if you want me to send the load manager class. Best, Jamie On 11/22/06, Seb L <[EMAIL PROTECTED]> wrote: I've had this problem recently. I found it was an issue when the swf and the html file aren't in the same directory. Either put them both in the same directory, or give the full path in your filename. Let me know how you get along! Seb Lee-Delisle sebleedelisle.com On 22/11/06, Haydn <[EMAIL PROTECTED]> wrote: > Hi, > > I'm pretty sure this is an issue with Safari as a similar problem > somethings occurs when loading HTML pages. From what I can tell it's > completely random. I'm using Safari 1.3.1 so maybe an update to 1.3.2 > would fix the problem? > > Haydn. > > On 21/11/2006, at 9:08 PM, Daniel Forslund|Lists wrote: > > > > > > > Hi everyone! > > > > I've researched this - apologies if I've missed the answer somewhere. > > Anyways: > > I have a flash application that reads an XML-file and then proceeds to > > load lots of content dynamically - a common situation. > > Everything works very well, except now and then in Safari. Safari will > > then "miss" loading an element and my preload bar for that object will > > hang indefinitely. A simple reload of the page solves the problem. > > This happens regardless of whether I've cleared Safari's cache etc. > > > > The problem *never* occurs in other browsers (Firefox for example) or > > offline. So I'm starting to suspect Safari as the culprit rather than > > my code. > > - Has anyone experienced the same problem? > > - Any idea what may be causing it? > > - Any pitfalls in using Moviecliploader that may cause this? > > > > I would be very thankful for advice as I want to pin down the problem > > before it causes problems for the client. Thanks in advance! > > > > Regards, > > Dan > > ___ > > Flashcoders@chattyfig.figleaf.com > > 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 > > > > ___ > Flashcoders@chattyfig.figleaf.com > 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 > ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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
Re: [Flashcoders] Problem: Safari and dynamic loading?
Safari is a POS. One thing you can do is use MovieClipLoader::onLoadError to check the error code. If it is "LoadNeverCompleted" (as opposed to "URLNotFound"), re-attempt the load. On 11/21/06, Haydn <[EMAIL PROTECTED]> wrote: Hi, I'm pretty sure this is an issue with Safari as a similar problem somethings occurs when loading HTML pages. From what I can tell it's completely random. I'm using Safari 1.3.1 so maybe an update to 1.3.2 would fix the problem? Haydn. On 21/11/2006, at 9:08 PM, Daniel Forslund|Lists wrote: > > > Hi everyone! > > I've researched this - apologies if I've missed the answer somewhere. > Anyways: > I have a flash application that reads an XML-file and then proceeds to > load lots of content dynamically - a common situation. > Everything works very well, except now and then in Safari. Safari will > then "miss" loading an element and my preload bar for that object will > hang indefinitely. A simple reload of the page solves the problem. > This happens regardless of whether I've cleared Safari's cache etc. > > The problem *never* occurs in other browsers (Firefox for example) or > offline. So I'm starting to suspect Safari as the culprit rather than > my code. > - Has anyone experienced the same problem? > - Any idea what may be causing it? > - Any pitfalls in using Moviecliploader that may cause this? > > I would be very thankful for advice as I want to pin down the problem > before it causes problems for the client. Thanks in advance! > > Regards, > Dan > ___ > Flashcoders@chattyfig.figleaf.com > 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 > ___ Flashcoders@chattyfig.figleaf.com 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 -- T. Michael Keesey Director of Technology Exopolis, Inc. 2894 Rowena Avenue Ste. B Los Angeles, California 90039 -- The Dinosauricon: http://dino.lm.com Parry & Carney: http://parryandcarney.com ISPN Forum: http://www.phylonames.org/forum/ ___ Flashcoders@chattyfig.figleaf.com 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
Re: [Flashcoders] Problem: Safari and dynamic loading?
Sorry for the late reply! Many thanks for the suggestions - I think a load manager class is the way to go and I'll send Jamie a mail and take up the kind offer. Cheers, Dan On 22 nov 2006, at 16.36, Jamie S wrote: I the only way I was able to put the problem to bed for sure was to build a load manager class that would make sure everything loaded up one at a time. So all of the stuff that needed to be loaded would be put into a queue and the class would go through and load stuff, making sure not to load the next thing in the queue until the previous thing had finished. ___ Flashcoders@chattyfig.figleaf.com 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