[flexcoders] Msg re: Flash Script taking long time, continue or abort?

2005-03-28 Thread Rob

Hi,

Has anyone seen the prompt from Flash that indicates that a Flash script is
taking a long time to run...click yes to abort or no to continue? (not exact
verbiage)...

Anyway, what happens to me is that Flash basically crashes my machine by
continuously opening browsers when I choose to abort the script. How can I
prevent this?

Environment: XP sp2, flash 7.x plugin, IE 6, sp1.

TIA for any info.



 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Msg re: Flash Script taking long time, continue or abort?

2005-03-28 Thread Mehdi, Agha

It happens when the player takes longer than 15 secs to run a frame. Make
sure you don't have endless loops in your script and if possible, break you
long functions/logic into multiple processes and put them on separate
frames. Also make sure that you're not loading all the UI components in one
frame.

-Original Message-
From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 9:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Msg re: Flash Script taking long time, continue or
abort?


Hi,

Has anyone seen the prompt from Flash that indicates that a Flash script is
taking a long time to run...click yes to abort or no to continue? (not exact
verbiage)...

Anyway, what happens to me is that Flash basically crashes my machine by
continuously opening browsers when I choose to abort the script. How can I
prevent this?

Environment: XP sp2, flash 7.x plugin, IE 6, sp1.

TIA for any info.



 
Yahoo! Groups Links



 





This email may contain confidential and privileged material for the sole use of 
the intended recipient(s). Any review, use, distribution or disclosure by 
others is strictly prohibited. If you are not the intended recipient (or 
authorized to receive for the recipient), please contact the sender by reply 
email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com





 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Msg re: Flash Script taking long time, continue or abort?

2005-03-28 Thread Rob










Being relatively new to Flex, how do you
segment your code into different frames? I have multiple .mxml files that
are loaded during the course of using the appdoes the separation occur
at the mxml file boundaries? Sorry for the newbie questions



TIA for any info.











From: Mehdi, Agha
[mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:13
PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Msg re:
Flash Script taking long time, continue or abort?





It happens when the player takes longer than 15 secs to run a frame.
Make
sure you don't have endless loops in your script
and if possible, break you
long functions/logic into multiple processes and
put them on separate
frames. Also make sure that you're not loading all
the UI components in one
frame.

-Original Message-
From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 9:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Msg re: Flash Script taking
long time, continue or
abort?


Hi,

Has anyone seen the prompt from Flash that
indicates that a Flash script is
taking a long time to run...click yes to abort or
no to continue? (not exact
verbiage)...

Anyway, what happens to me is that Flash basically
crashes my machine by
continuously opening browsers when I choose to
abort the script. How can I
prevent this?

Environment: XP sp2, flash 7.x plugin, IE 6, sp1.

TIA for any info.




Yahoo! Groups Links









This email may contain confidential and privileged
material for the sole use of the intended recipient(s). Any review, use,
distribution or disclosure by others is strictly prohibited. If you are not the
intended recipient (or authorized to receive for the recipient), please contact
the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send
an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com
















Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Msg re: Flash Script taking long time, continue or abort?

2005-03-28 Thread Rob

Btw, there is no looping constructs in the code; however, there are event
listeners…I suppose its possible that an event is being fired, but typically
it’s a button click firing a change or other event.


From: Mehdi, Agha [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:13 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Msg re: Flash Script taking long time, continue or
abort?

It happens when the player takes longer than 15 secs to run a frame. Make
sure you don't have endless loops in your script and if possible, break you
long functions/logic into multiple processes and put them on separate
frames. Also make sure that you're not loading all the UI components in one
frame.

-Original Message-
From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 9:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Msg re: Flash Script taking long time, continue or
abort?


Hi,

Has anyone seen the prompt from Flash that indicates that a Flash script is
taking a long time to run...click yes to abort or no to continue? (not exact
verbiage)...

Anyway, what happens to me is that Flash basically crashes my machine by
continuously opening browsers when I choose to abort the script. How can I
prevent this?

Environment: XP sp2, flash 7.x plugin, IE 6, sp1.

TIA for any info.




Yahoo! Groups Links









This email may contain confidential and privileged material for the sole use
of the intended recipient(s). Any review, use, distribution or disclosure by
others is strictly prohibited. If you are not the intended recipient (or
authorized to receive for the recipient), please contact the sender by reply
email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com





Yahoo! Groups Sponsor
ADVERTISEMENT





Yahoo! Groups Links
• To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
  
• To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
• Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Msg re: Flash Script taking long time, continue or abort?

2005-03-28 Thread Tracy Spratt

Does this occur on startup or when you invoke some action?

Is your processing just taking a long time?  If you do not abort, do you 
eventually get your app?

Are you certain you don't have any for or while loops?

If you just have a looping or recursive function that takes a long time, you 
can increase the timeout value in the Application tag:
scriptTimeLimit=300 (default is 60, I think)

If you have an endless loop, doing this will not help.

I don't understand the multiple browsers issue though.

Tracy


-Original Message-
From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:45 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Msg re: Flash Script taking long time, continue or 
abort?


Btw, there is no looping constructs in the code; however, there are event
listeners...I suppose its possible that an event is being fired, but typically
it's a button click firing a change or other event.


From: Mehdi, Agha [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:13 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Msg re: Flash Script taking long time, continue or
abort?

It happens when the player takes longer than 15 secs to run a frame. Make
sure you don't have endless loops in your script and if possible, break you
long functions/logic into multiple processes and put them on separate
frames. Also make sure that you're not loading all the UI components in one
frame.

-Original Message-
From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 9:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Msg re: Flash Script taking long time, continue or
abort?


Hi,

Has anyone seen the prompt from Flash that indicates that a Flash script is
taking a long time to run...click yes to abort or no to continue? (not exact
verbiage)...

Anyway, what happens to me is that Flash basically crashes my machine by
continuously opening browsers when I choose to abort the script. How can I
prevent this?

Environment: XP sp2, flash 7.x plugin, IE 6, sp1.

TIA for any info.




Yahoo! Groups Links









This email may contain confidential and privileged material for the sole use
of the intended recipient(s). Any review, use, distribution or disclosure by
others is strictly prohibited. If you are not the intended recipient (or
authorized to receive for the recipient), please contact the sender by reply
email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com





Yahoo! Groups Sponsor
ADVERTISEMENT





Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
  
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



 
Yahoo! Groups Links



 







 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Msg re: Flash Script taking long time, continue or abort?

2005-03-28 Thread Mehdi, Agha





Ok, I got the idea from your mailthat you were using 
Flash instead of Flex. Sorry about that. Does it display the error when you're 
initializing the app or when you do some interaction? You might wanna set the 
CreationPolicy to "queued" for the components that are not required 
immediately.


From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 10:42 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Msg re: Flash 
Script taking long time, continue or abort?


Being relatively new to 
Flex, how do you segment your code into different frames? I have multiple 
.mxml files that are loaded during the course of using the app...does the 
separation occur at the mxml file boundaries? Sorry for the newbie 
questions...

TIA for any 
info.





From: Mehdi, 
Agha [mailto:[EMAIL PROTECTED] Sent: Monday, March 28, 2005 1:13 
PMTo: 
'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Msg re: Flash 
Script taking long time, continue or abort?

It happens when the player takes longer than 15 secs to 
run a frame. Makesure you don't have endless loops in your script and if 
possible, break youlong 
functions/logic into multiple processes and put them on 
separateframes. Also make sure that 
you're not loading all the UI components in oneframe.-Original Message-From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 9:23 
AMTo: 
flexcoders@yahoogroups.comSubject: 
[flexcoders] Msg re: Flash Script taking long time, continue 
orabort?Hi,Has 
anyone seen the prompt from Flash that indicates that a Flash script 
istaking a long time to run...click 
yes to abort or no to continue? (not exactverbiage)...Anyway, what happens to me is that Flash basically crashes my 
machine bycontinuously opening 
browsers when I choose to abort the script. How can Iprevent this?Environment: XP sp2, flash 7.x plugin, IE 6, 
sp1.TIA for any 
info.Yahoo! Groups 
LinksThis email 
may contain confidential and privileged material for the sole use of the 
intended recipient(s). Any review, use, distribution or disclosure by others is 
strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.To 
reply to our email administrator directly, send an email 
to[EMAIL PROTECTED]Littler Mendelson, P.C.http://www.littler.com







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com




Re: [flexcoders] Msg re: Flash Script taking long time, continue or abort?

2005-03-28 Thread Igor Costa

Well, pretty insane error that still take me some times and squeeze me.

So, what can you do for this one.

If you are using flex to developer use the exention
my_filme.mxml?asprofile=false;

but if you're with Flash.

So, there's a little trick and usefull.

Just save your document as compact. Neve you'll see again the same insane error.

Why this happens in Flash? So, due to the organization of your Flash timeline.
For example if you have used the folders inside the movieclips, it
will happen, it's a little bug(possible) that happens this always.
like this that happen with me a few weeks ago.

www.igorcosta.com/arquivamento/genesis.fla

But I advice you to look for in flash-coders much better.


On Mon, 28 Mar 2005 14:14:08 -0500, Tracy Spratt [EMAIL PROTECTED] wrote:
 
 Does this occur on startup or when you invoke some action?
 
 Is your processing just taking a long time?  If you do not abort, do you 
 eventually get your app?
 
 Are you certain you don't have any for or while loops?
 
 If you just have a looping or recursive function that takes a long time, you 
 can increase the timeout value in the Application tag:
 scriptTimeLimit=300 (default is 60, I think)
 
 If you have an endless loop, doing this will not help.
 
 I don't understand the multiple browsers issue though.
 
 Tracy
 
 
 -Original Message-
 From: Rob [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 28, 2005 1:45 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Msg re: Flash Script taking long time, continue or 
 abort?
 
 Btw, there is no looping constructs in the code; however, there are event
 listeners...I suppose its possible that an event is being fired, but typically
 it's a button click firing a change or other event.
 
 
 From: Mehdi, Agha [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 28, 2005 1:13 PM
 To: 'flexcoders@yahoogroups.com'
 Subject: RE: [flexcoders] Msg re: Flash Script taking long time, continue or
 abort?
 
 It happens when the player takes longer than 15 secs to run a frame. Make
 sure you don't have endless loops in your script and if possible, break you
 long functions/logic into multiple processes and put them on separate
 frames. Also make sure that you're not loading all the UI components in one
 frame.
 
 -Original Message-
 From: Rob [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 28, 2005 9:23 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Msg re: Flash Script taking long time, continue or
 abort?
 
 Hi,
 
 Has anyone seen the prompt from Flash that indicates that a Flash script is
 taking a long time to run...click yes to abort or no to continue? (not exact
 verbiage)...
 
 Anyway, what happens to me is that Flash basically crashes my machine by
 continuously opening browsers when I choose to abort the script. How can I
 prevent this?
 
 Environment: XP sp2, flash 7.x plugin, IE 6, sp1.
 
 TIA for any info.
 
 Yahoo! Groups Links
 
 
 This email may contain confidential and privileged material for the sole use
 of the intended recipient(s). Any review, use, distribution or disclosure by
 others is strictly prohibited. If you are not the intended recipient (or
 authorized to receive for the recipient), please contact the sender by reply
 email and delete all copies of this message.
 
 To reply to our email administrator directly, send an email to
 [EMAIL PROTECTED]
 
 Littler Mendelson, P.C.
 http://www.littler.com
 
 Yahoo! Groups Sponsor
 ADVERTISEMENT
 
 
 Yahoo! Groups Links
 * To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
  
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
  
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
 
 Yahoo! Groups Links
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
Igor Costa
www.igorcosta.com
www.macromedia.com/go/team


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/