Canvas is a subclass of UIComponent. If you break up your lengthy
computation into shorter chunks, you can also schedule them with Timer.

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Wednesday, April 16, 2008 3:08 PM
To: [email protected]
Subject: [flexcoders] Re: A script has executed for longer than the
default timeout period of 15 seconds

 

But I only can use callLater() if I have components based on 
UIComponent. I did not have any luck using it and my components are 
based basically on canvas.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Gaurav. Jain" <[EMAIL PROTECTED]> wrote:
>
> If you are compiling with mxmlc, even though the error message says 
15
> seconds, the time out actually happens after 60 seconds. 
> 
> Currently there is no way to increase it. You should break down your
> code using callLater in order to give some CPU cycles to the player 
for
> screen updates.
> 
> Thanks,
> Gaurav
> 
> -----Original Message-----
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>

[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of markgoldin_2000
> Sent: Wednesday, April 16, 2008 5:49 PM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] A script has executed for longer than the 
default
> timeout period of 15 seconds
> 
> I am getting this error. At this point of my development I am not 
ready 
> to start optimazing code. Are there any options available to 
encrease 
> that time?
> 
> Thanks
> 
> 
> ------------------------------------
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
<http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> 
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo
<http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo> ! 
Groups
> Links
>

 

Reply via email to