Re: [Flashcoders] Slow-Running Script alert
I've had this happen when styling a bunch of components all at one time. Usually it's some kind of loop, since you need to be stuck in the same code for 15 secs, as other have mentioned. In my case, I was calling an init function within a series of loaded movies. Each movies init styled its components. The outer loop going through the clip array and calling init() was taking more than 15 secs to finish and I'd get that dialog. Now I call init as each clip is loaded, and not all at once. Works - except it is noticeably slower. Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ 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] Slow-Running Script alert
using flasm you can do that with all movies from player 7 upwards, but from a user experience point of view its not nice On 5/10/07, Jobe Makar [EMAIL PROTECTED] wrote: Hi, If a script takes more than 15 seconds to complete then you get that error. AS3/Flash 9 player allows you to modify that value. Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 252-627-8026 mobile: 919-609-0408 fax: 919-882-1121 - Original Message - From: Marc Hoffman [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, May 10, 2007 8:34 PM Subject: [Flashcoders] Slow-Running Script alert I have a complex web site that does some early xml loading as well as loading another movie (an intro) in a higher level. On rare occasions, I'm getting the alert about a slow-running script in Flash, which freezes the movie. Clicking yes to abort the script, then refreshing the page, solves the problem for that instance. By the way, this can happen even after a successful loading of the movie, so it's NOT an issue of something not being cached. I've tried a lot of restructuring of how things load, and the problem now occurs less frequently, but it's still happening. Does anyone know exactly what that alert means? Is it ALWAYS a looping script, for instance? What other things might cause it? This is a tough one to troubleshoot. The problem is recently occurring in Win I.E. 7, but has been known to happen in FireFox 1.5 and in other browsers. thanks, Marc ___ 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 -- j:pn http://www.lennel.org ___ 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] Slow-Running Script alert
I had an issue like this the other day and I KNEW it wasn't related to a loop error, actually it is related to a bug with the MovieClipLoader object and loading large files. This trick saved the day: http://www.actionscript.org/forums/showthread.php3?p=559857#post559857 I knew I should have stuck to loadMovie ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Hoffman Sent: Thursday, May 10, 2007 7:34 PM To: Flashcoders mailing list Subject: [Flashcoders] Slow-Running Script alert I have a complex web site that does some early xml loading as well as loading another movie (an intro) in a higher level. On rare occasions, I'm getting the alert about a slow-running script in Flash, which freezes the movie. Clicking yes to abort the script, then refreshing the page, solves the problem for that instance. By the way, this can happen even after a successful loading of the movie, so it's NOT an issue of something not being cached. I've tried a lot of restructuring of how things load, and the problem now occurs less frequently, but it's still happening. Does anyone know exactly what that alert means? Is it ALWAYS a looping script, for instance? What other things might cause it? This is a tough one to troubleshoot. The problem is recently occurring in Win I.E. 7, but has been known to happen in FireFox 1.5 and in other browsers. thanks, Marc ___ 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] Slow-Running Script alert
Hi, If a script takes more than 15 seconds to complete then you get that error. AS3/Flash 9 player allows you to modify that value. Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 252-627-8026 mobile: 919-609-0408 fax: 919-882-1121 - Original Message - From: Marc Hoffman [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, May 10, 2007 8:34 PM Subject: [Flashcoders] Slow-Running Script alert I have a complex web site that does some early xml loading as well as loading another movie (an intro) in a higher level. On rare occasions, I'm getting the alert about a slow-running script in Flash, which freezes the movie. Clicking yes to abort the script, then refreshing the page, solves the problem for that instance. By the way, this can happen even after a successful loading of the movie, so it's NOT an issue of something not being cached. I've tried a lot of restructuring of how things load, and the problem now occurs less frequently, but it's still happening. Does anyone know exactly what that alert means? Is it ALWAYS a looping script, for instance? What other things might cause it? This is a tough one to troubleshoot. The problem is recently occurring in Win I.E. 7, but has been known to happen in FireFox 1.5 and in other browsers. thanks, Marc ___ 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] Slow-Running Script alert
kill the WHILES ;) Marc Hoffman wrote: I have a complex web site that does some early xml loading as well as loading another movie (an intro) in a higher level. On rare occasions, I'm getting the alert about a slow-running script in Flash, which freezes the movie. Clicking yes to abort the script, then refreshing the page, solves the problem for that instance. By the way, this can happen even after a successful loading of the movie, so it's NOT an issue of something not being cached. I've tried a lot of restructuring of how things load, and the problem now occurs less frequently, but it's still happening. Does anyone know exactly what that alert means? Is it ALWAYS a looping script, for instance? What other things might cause it? This is a tough one to troubleshoot. The problem is recently occurring in Win I.E. 7, but has been known to happen in FireFox 1.5 and in other browsers. thanks, Marc ___ 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] Slow-Running Script alert
Let's see some code. It sounds like you might be stuck in a loop where you are waiting for the value of something to change before proceeding. If it takes too long for that value to change and you continue to loop you will timeout your script and get the alert. You might be better off using event handling and dispatch an event when you're ready to proceed this way Flash isn't tied up in a loop. James O'Reilly — Consultant Adobe Certified Flash Expert http://www.jamesor.com Design • Code • Train Marc Hoffman wrote: I have a complex web site that does some early xml loading as well as loading another movie (an intro) in a higher level. On rare occasions, I'm getting the alert about a slow-running script in Flash, which freezes the movie. Clicking yes to abort the script, then refreshing the page, solves the problem for that instance. By the way, this can happen even after a successful loading of the movie, so it's NOT an issue of something not being cached. I've tried a lot of restructuring of how things load, and the problem now occurs less frequently, but it's still happening. Does anyone know exactly what that alert means? Is it ALWAYS a looping script, for instance? What other things might cause it? This is a tough one to troubleshoot. The problem is recently occurring in Win I.E. 7, but has been known to happen in FireFox 1.5 and in other browsers. thanks, Marc ___ 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