Macromedia Flash Server - A script in this movie...

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > May 2005 > A script in this movie...





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author A script in this movie...
Simon Lord

2005-05-22, 8:45 pm

How can we track down the cause of such an error? I have never
actually been able to get my app on my Mac or PC here to fall prey to
this "A script in this movie is causing it to run slowly..."
(paraphrasing) but some users report seeing this error from the minute
the app loads or after 20 ins of user etc.

It appears random and as I said, has never actually happened *to me*,
although I have seen this error before in other apps.

Is it a CPU issue? I have some setItervals running but nothing that
would run so *fast* as to cause the movie to run slowly (or so I
thought). My Mac is an aging Dual G4 500 while the PC is a clunky
1.5Ghz emachine, so I figure if anyone should be seeing these errors it
would be myself.

Ideas? I know nothing about what other scenarios could cause this
error to appear.

Sincerely,
Simon


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Stefan Richter

2005-05-23, 2:45 am

Maybe you are setting an interval, then set it again before clearing the old
one. So you end up with more and more intervals over time, eating memory.

Just an idea.
Stefan



-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Simon Lord
Sent: Monday, May 23, 2005 2:18 AM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] A script in this movie...

How can we track down the cause of such an error? I have never actually
been able to get my app on my Mac or PC here to fall prey to this "A script
in this movie is causing it to run slowly..."
(paraphrasing) but some users report seeing this error from the minute the
app loads or after 20 ins of user etc.

It appears random and as I said, has never actually happened *to me*,
although I have seen this error before in other apps.

Is it a CPU issue? I have some setItervals running but nothing that would
run so *fast* as to cause the movie to run slowly (or so I thought). My Mac
is an aging Dual G4 500 while the PC is a clunky 1.5Ghz emachine, so I
figure if anyone should be seeing these errors it would be myself.

Ideas? I know nothing about what other scenarios could cause this error to
appear.

Sincerely,
Simon


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

daz lee

2005-05-23, 2:45 am

god knows the number of times I have sent suggestions to flash team for =
information on these errors.=20

Just start removing code here and there or simplifying it and try again =
until it works, then rewrite the problem code.
----- Original Message -----=20
From: Stefan Richter<mailto:stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org>=20
To: 'FlashComm Mailing List'<mailto:flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>=20
Sent: Monday, May 23, 2005 8:04 AM
Subject: RE: [FlashComm] A script in this movie...


Maybe you are setting an interval, then set it again before clearing =
the old
one. So you end up with more and more intervals over time, eating =
memory.

Just an idea.
Stefan

=20

-----Original Message-----
From: =
flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org<mailto:flashcomm-bounces@chattyfi=
g.figleaf.com>
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Simon =
Lord
Sent: Monday, May 23, 2005 2:18 AM
To: =
flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org<mailto:flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
Subject: [FlashComm] A script in this movie...

How can we track down the cause of such an error? I have never =
actually
been able to get my app on my Mac or PC here to fall prey to this "A =
script
in this movie is causing it to run slowly..."=20
(paraphrasing) but some users report seeing this error from the minute =
the
app loads or after 20 ins of user etc.

It appears random and as I said, has never actually happened *to me*,
although I have seen this error before in other apps.

Is it a CPU issue? I have some setItervals running but nothing that =
would
run so *fast* as to cause the movie to run slowly (or so I thought). =
My Mac
is an aging Dual G4 500 while the PC is a clunky 1.5Ghz emachine, so I
figure if anyone should be seeing these errors it would be myself.

Ideas? I know nothing about what other scenarios could cause this =
error to
appear.

Sincerely,
Simon


=3D-----------------------------------------------------------
Supported by Fig Leaf Software - =
http://www.figleaf.com<http://www.figleaf.com/>
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
=
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.=
figleaf.com/mailman/listinfo/flashcomm>


=3D-----------------------------------------------------------
Supported by Fig Leaf Software - =
http://www.figleaf.com<http://www.figleaf.com/>
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
=
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.=
figleaf.com/mailman/listinfo/flashcomm>

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Bill Sanders

2005-05-23, 7:45 am

Simon,

Besides what Stefan suggested, you also might want to consider bad
loops or other code that effective horse-races around your machine
without end. I doubt it's the processor, though.

You're probably just too good of a programmer to get stuck in an
endless loop, and that's why you haven't seen those problems. =; > }

HTH,
Bill
On May 22, 2005, at 9:18 PM, Simon Lord wrote:

> How can we track down the cause of such an error? I have never
> actually been able to get my app on my Mac or PC here to fall prey
> to this "A script in this movie is causing it to run
> slowly..." (paraphrasing) but some users report seeing this error
> from the minute the app loads or after 20 ins of user etc.
>
> It appears random and as I said, has never actually happened *to
> me*, although I have seen this error before in other apps.
>
> Is it a CPU issue? I have some setItervals running but nothing
> that would run so *fast* as to cause the movie to run slowly (or so
> I thought). My Mac is an aging Dual G4 500 while the PC is a
> clunky 1.5Ghz emachine, so I figure if anyone should be seeing
> these errors it would be myself.
>
> Ideas? I know nothing about what other scenarios could cause this
> error to appear.
>
> Sincerely,
> Simon
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>




bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Simon Lord

2005-05-23, 5:45 pm

Hehe, thanks Bill. I think Stefan is right, I may have to carefully
inspect my intervals to ensure they die before called again.

As for skill, it's been almost two years and I still consider myself a
beginner...

Thanks guys.


On May 23, 2005, at 6:56 AM, Bill Sanders wrote:

> Simon,
>
> Besides what Stefan suggested, you also might want to consider bad
> loops or other code that effective horse-races around your machine
> without end. I doubt it's the processor, though.
>
> You're probably just too good of a programmer to get stuck in an
> endless loop, and that's why you haven't seen those problems. =; > }
>
> HTH,
> Bill
> On May 22, 2005, at 9:18 PM, Simon Lord wrote:
>
>
>
>
> bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>

Sincerely,
Simon


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

JesterXL

2005-05-23, 5:45 pm

Common practice is to call clearInterval the exact line before setInterval;
that way, you are always ensured your interval is cleared before calling it
again. Secondly, putting it in the first line of the function the interval
is calling is another sure fire way.

clearInterval(testID);
testID = setInterval(this, "test", 1000);

function test()
{
clearInterval(testID);
trace("Test");
}

----- Original Message -----
From: "Simon Lord" <slord-1+jUDDTtyItWk0Htik3J/w@public.gmane.org>
To: "FlashComm Mailing List" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
Sent: Monday, May 23, 2005 11:15 AM
Subject: Re: [FlashComm] A script in this movie...


Hehe, thanks Bill. I think Stefan is right, I may have to carefully
inspect my intervals to ensure they die before called again.

As for skill, it's been almost two years and I still consider myself a
beginner...

Thanks guys.


On May 23, 2005, at 6:56 AM, Bill Sanders wrote:

> Simon,
>
> Besides what Stefan suggested, you also might want to consider bad
> loops or other code that effective horse-races around your machine
> without end. I doubt it's the processor, though.
>
> You're probably just too good of a programmer to get stuck in an
> endless loop, and that's why you haven't seen those problems. =; > }
>
> HTH,
> Bill
> On May 22, 2005, at 9:18 PM, Simon Lord wrote:
>
>
>
>
> bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>

Sincerely,
Simon


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Simon Lord

2005-05-23, 5:45 pm

Thanks Jester, I'll give that a try.


On May 23, 2005, at 11:19 AM, JesterXL wrote:

> Common practice is to call clearInterval the exact line before
> setInterval;
> that way, you are always ensured your interval is cleared before
> calling it
> again. Secondly, putting it in the first line of the function the
> interval
> is calling is another sure fire way.
>
> clearInterval(testID);
> testID = setInterval(this, "test", 1000);
>
> function test()
> {
> clearInterval(testID);
> trace("Test");
> }
>
> ----- Original Message -----
> From: "Simon Lord" <slord-1+jUDDTtyItWk0Htik3J/w@public.gmane.org>
> To: "FlashComm Mailing List" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
> Sent: Monday, May 23, 2005 11:15 AM
> Subject: Re: [FlashComm] A script in this movie...
>
>
> Hehe, thanks Bill. I think Stefan is right, I may have to carefully
> inspect my intervals to ensure they die before called again.
>
> As for skill, it's been almost two years and I still consider myself a
> beginner...
>
> Thanks guys.
>
>
> On May 23, 2005, at 6:56 AM, Bill Sanders wrote:
>
> Sincerely,
> Simon
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>

Sincerely,
Simon


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com