OK, bad news.  I went searching through the bugbase and found one for our docs team to add to the migration guide that the timeout can no longer be greater than 60 seconds.  I’m assuming that this was actually put into Player 8, not just 8.5 since you’re running into it.  Guess that means you’re going to need to do some tricks like Jesse showed, and in your case since you’re building a massive tree I think this means you’re going to need to basically

 

-          build some nodes

-          store temporary state to instance variables

-          call doLater using your main function (you can pass parameters to doLater too)

-          at some point your method executes the last time and you don’t need to doLater anymore

 

you can put up a blocker and show the busy cursor while you’re doing this too (though using a progress bar might be nicer)

 

Matt


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Tuesday, November 01, 2005 4:33 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] script time warning and Flash Player 8

 

I got the latest from the MM site and it did not respect my settings.

Tracy

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe superabe
Sent: Tuesday, November 01, 2005 5:56 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] script time warning and Flash Player 8

 

Just realized that the script timeout popup is not showing on the regular Flash Player 8 (i.e non -debug version).

Of course I tested this on another pc, so it could be that machine is faster ...though unlikely....

 

- superabe

 

On 11/1/05, Tracy Spratt <[EMAIL PROTECTED]> wrote:

Yes, I really need this.

 

Jesse, if you are still following this thread: Besides moving my entire process to the server(which would take me several weeks, and this is a rare condition that only a developer will see), is there anyway to "refactor"  a single process?  The is the massive calculation (in this case it is building two 30,000 node trees) that made me implement your status variable and doLater strategy in order to give the user some visible feedback while this process is running.  It is broken up into individual function calls, but it still triggers the time-out.

 

Tracy  

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe superabe
Sent: Monday, October 31, 2005 6:04 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] script time warning and Flash Player 8

 

I do hope to refactor and optimize the code eventually, but I think the option to override the default  time limit of 60 seconds for your script should be made available.

- superabe



 

On 10/31/05, JesterXL < [EMAIL PROTECTED]> wrote:

I never knew it was an issue.

 

Incidentally, I think that is one of the worst features Macromedia could of implemented in Flex, although, I understand why they did it.

 

My opinion; if you are using that attribute of the application tag, it's time to refactor whatever part of your code requires it.

 

----- Original Message -----

Sent: Monday, October 31, 2005 10:36 AM

Subject: [flexcoders] script time warning and Flash Player 8


 

Hello list,

 

resending this, hoping somebody has an answer.

 

The scriptTimeOut property for the application tag does not seem to be
working. (I am testing the app using the debug version of Flash Player 8).
I saw a thread reporting this issue in the flexcoders list
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg11465.html

But no definitive answer there...

Anybody on the list know if this has been resolved ?

TIA,

superabe
 

 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com


YAHOO! GROUPS LINKS

 

 


SPONSORED LINKS

Web site design development

Computer software development

Software design and development

Macromedia flex

 

 

 


YAHOO! GROUPS LINKS

 

 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex


YAHOO! GROUPS LINKS




Reply via email to