Re: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread [p e r c e p t i c o n]
Hi,

No I looked into that as a possibility, but I just realized is that over time 
there is a build up of connections orphaned by the server in the wait 
state...so I believe this is the source of my problem

Thanks again

 
[-percy-]

-Original Message-
From: Karl DeSaulniers 
Sender: flashcoders-boun...@chattyfig.figleaf.com
Date: Tue, 18 Oct 2011 22:57:22 
To: Flash Coders List
Reply-To: Flash Coders List 
Subject: Re: [Flashcoders] animation memory leak ... please help

Just checking, but you don't happen to have save bitmap as cache set to your 
image being animated do you? As it will be cached every move. 

JAT

Karl

Sent from losPhone

On Oct 18, 2011, at 4:02 PM, Paul Andrews  wrote:

> On 18/10/2011 21:46, Chris Foster wrote:
>> If you're already manually removing event listeners and deleting created 
>> objects, and you really wanna nail this and don't mind spending a few hours 
>> learning something new then I totally recommend the Temple Library for 
>> ActionScript 3 by MediaMonks
> 
> The OP is using AS2..
> 
>> 
>> http://code.google.com/p/templelibrary/
>> 
>> Extend all your MovieClips from 'CoreMovieClip', utilise the 'destruct' 
>> method, and view/test the results in the 'Memory' class.
>> 
>> It's saved my bacon, hope it's useful to you too.
>> 
>> C:
>> 
>> -Original Message-
>> From: flashcoders-boun...@chattyfig.figleaf.com 
>> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of [p e r c e p 
>> t i c o n]
>> Sent: Wednesday, 19 October 2011 7:31 AM
>> To: Flash Coders List
>> Subject: Re: [Flashcoders] animation memory leak ... please help
>> 
>> yes, i delete it and mark it null..
>> 
>> thx all
>> 
>> On Tue, Oct 18, 2011 at 1:13 PM, Ross Sclafaniwrote:
>> 
>>> Are you disposing of the image after it is offscreen? Have you run the
>>> profiler to see what's happening?
>>> 
>>> Ross P. Sclafani
>>> Design | Technology | Creative
>>> 347.204.5714
>>> http://ross.sclafani.net
>>> http://www.twitter.com/rosssclafani
>>> 
>>> On Oct 18, 2011, at 4:00 PM, Adrian Zając  wrote:
>>> 
>>>> I think I had this problem once...
>>>> How many of images do you have? Maybe it will be better to make the same
>>> number of movie clips, and download every jpg only once?
>>>> 
>>>> Adrian
>>>> 
>>>> W dniu 2011-10-18 20:39, [p e r c e p t i c o n] pisze:
>>>>> Hi All,
>>>>> 
>>>>> I have an excrutiating memory leak.  Here's what i'm doing.
>>>>> 
>>>>> first some specs:
>>>>> 
>>>>> AS2, FP10+, Linux OS, ff browser
>>>>> 
>>>>> I load a jpg into one of two movie clips...once a specified amount of
>>> time
>>>>> has expired
>>>>> i load the next image (download it using moviclip loader) and animate
>>> the
>>>>> visible movieclip off stage (slide it to the left or right) and at the
>>> same
>>>>> time i animate it
>>>>> i also fade it (mc._alpha -= mc._alpha-someAmount).
>>>>> i swap their depths and repeat this process.
>>>>> 
>>>>> what i'd like to know is why after so many hours (8-24) flash starts
>>> slowing
>>>>> down and ultimately throws up the abort script dialog when i'm not
>>> really
>>>>> doing anything all that intensive..
>>>>> can someone explain how flash handles animations internally for
>>> example...it
>>>>> creates a copy of the image in memory..moves it then blits it the
>>> screen.
>>>>> can anyone give me some pointers as to where to begin looking for this
>>> leak
>>>>> or if you think this is flash player bug
>>>>> 
>>>>> all advise helpful
>>>>> 
>>>>> thanks
>>>>> 
>>>>> percy
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>> ___
>>>> Flashcoders mailing list
>>>> Flashcoders@chattyfig.figleaf.com
>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>> ___
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>> 
>> 
>> 
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread Keith Reinfeld
Keith
On Oct 18, 2011 11:03 PM, "Karl DeSaulniers"  wrote:

> Just checking, but you don't happen to have save bitmap as cache set to
> your image being animated do you? As it will be cached every move.
>
> JAT
>
> Karl
>
> Sent from losPhone
>
> On Oct 18, 2011, at 4:02 PM, Paul Andrews  wrote:
>
> > On 18/10/2011 21:46, Chris Foster wrote:
> >> If you're already manually removing event listeners and deleting created
> objects, and you really wanna nail this and don't mind spending a few hours
> learning something new then I totally recommend the Temple Library for
> ActionScript 3 by MediaMonks
> >
> > The OP is using AS2..
> >
> >>
> >> http://code.google.com/p/templelibrary/
> >>
> >> Extend all your MovieClips from 'CoreMovieClip', utilise the 'destruct'
> method, and view/test the results in the 'Memory' class.
> >>
> >> It's saved my bacon, hope it's useful to you too.
> >>
> >> C:
> >>
> >> -Original Message-
> >> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of [p e r c e p t i c
> o n]
> >> Sent: Wednesday, 19 October 2011 7:31 AM
> >> To: Flash Coders List
> >> Subject: Re: [Flashcoders] animation memory leak ... please help
> >>
> >> yes, i delete it and mark it null..
> >>
> >> thx all
> >>
> >> On Tue, Oct 18, 2011 at 1:13 PM, Ross Sclafani >wrote:
> >>
> >>> Are you disposing of the image after it is offscreen? Have you run the
> >>> profiler to see what's happening?
> >>>
> >>> Ross P. Sclafani
> >>> Design | Technology | Creative
> >>> 347.204.5714
> >>> http://ross.sclafani.net
> >>> http://www.twitter.com/rosssclafani
> >>>
> >>> On Oct 18, 2011, at 4:00 PM, Adrian Zając
>  wrote:
> >>>
> >>>> I think I had this problem once...
> >>>> How many of images do you have? Maybe it will be better to make the
> same
> >>> number of movie clips, and download every jpg only once?
> >>>>
> >>>> Adrian
> >>>>
> >>>> W dniu 2011-10-18 20:39, [p e r c e p t i c o n] pisze:
> >>>>> Hi All,
> >>>>>
> >>>>> I have an excrutiating memory leak.  Here's what i'm doing.
> >>>>>
> >>>>> first some specs:
> >>>>>
> >>>>> AS2, FP10+, Linux OS, ff browser
> >>>>>
> >>>>> I load a jpg into one of two movie clips...once a specified amount of
> >>> time
> >>>>> has expired
> >>>>> i load the next image (download it using moviclip loader) and animate
> >>> the
> >>>>> visible movieclip off stage (slide it to the left or right) and at
> the
> >>> same
> >>>>> time i animate it
> >>>>> i also fade it (mc._alpha -= mc._alpha-someAmount).
> >>>>> i swap their depths and repeat this process.
> >>>>>
> >>>>> what i'd like to know is why after so many hours (8-24) flash starts
> >>> slowing
> >>>>> down and ultimately throws up the abort script dialog when i'm not
> >>> really
> >>>>> doing anything all that intensive..
> >>>>> can someone explain how flash handles animations internally for
> >>> example...it
> >>>>> creates a copy of the image in memory..moves it then blits it the
> >>> screen.
> >>>>> can anyone give me some pointers as to where to begin looking for
> this
> >>> leak
> >>>>> or if you think this is flash player bug
> >>>>>
> >>>>> all advise helpful
> >>>>>
> >>>>> thanks
> >>>>>
> >>>>> percy
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>> ___
> >>>> Flashcoders mailing list
> >>>> Flashcoders@chattyfig.figleaf.com
> >>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>> ___
> >>> Flashcoders mailing list
> >>> Flashcoders@chattyfig.figleaf.com
> >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>>
> >>
> >>
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread Karl DeSaulniers
Just checking, but you don't happen to have save bitmap as cache set to your 
image being animated do you? As it will be cached every move. 

JAT

Karl

Sent from losPhone

On Oct 18, 2011, at 4:02 PM, Paul Andrews  wrote:

> On 18/10/2011 21:46, Chris Foster wrote:
>> If you're already manually removing event listeners and deleting created 
>> objects, and you really wanna nail this and don't mind spending a few hours 
>> learning something new then I totally recommend the Temple Library for 
>> ActionScript 3 by MediaMonks
> 
> The OP is using AS2..
> 
>> 
>> http://code.google.com/p/templelibrary/
>> 
>> Extend all your MovieClips from 'CoreMovieClip', utilise the 'destruct' 
>> method, and view/test the results in the 'Memory' class.
>> 
>> It's saved my bacon, hope it's useful to you too.
>> 
>> C:
>> 
>> -Original Message-
>> From: flashcoders-boun...@chattyfig.figleaf.com 
>> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of [p e r c e p 
>> t i c o n]
>> Sent: Wednesday, 19 October 2011 7:31 AM
>> To: Flash Coders List
>> Subject: Re: [Flashcoders] animation memory leak ... please help
>> 
>> yes, i delete it and mark it null..
>> 
>> thx all
>> 
>> On Tue, Oct 18, 2011 at 1:13 PM, Ross Sclafaniwrote:
>> 
>>> Are you disposing of the image after it is offscreen? Have you run the
>>> profiler to see what's happening?
>>> 
>>> Ross P. Sclafani
>>> Design | Technology | Creative
>>> 347.204.5714
>>> http://ross.sclafani.net
>>> http://www.twitter.com/rosssclafani
>>> 
>>> On Oct 18, 2011, at 4:00 PM, Adrian Zając  wrote:
>>> 
>>>> I think I had this problem once...
>>>> How many of images do you have? Maybe it will be better to make the same
>>> number of movie clips, and download every jpg only once?
>>>> 
>>>> Adrian
>>>> 
>>>> W dniu 2011-10-18 20:39, [p e r c e p t i c o n] pisze:
>>>>> Hi All,
>>>>> 
>>>>> I have an excrutiating memory leak.  Here's what i'm doing.
>>>>> 
>>>>> first some specs:
>>>>> 
>>>>> AS2, FP10+, Linux OS, ff browser
>>>>> 
>>>>> I load a jpg into one of two movie clips...once a specified amount of
>>> time
>>>>> has expired
>>>>> i load the next image (download it using moviclip loader) and animate
>>> the
>>>>> visible movieclip off stage (slide it to the left or right) and at the
>>> same
>>>>> time i animate it
>>>>> i also fade it (mc._alpha -= mc._alpha-someAmount).
>>>>> i swap their depths and repeat this process.
>>>>> 
>>>>> what i'd like to know is why after so many hours (8-24) flash starts
>>> slowing
>>>>> down and ultimately throws up the abort script dialog when i'm not
>>> really
>>>>> doing anything all that intensive..
>>>>> can someone explain how flash handles animations internally for
>>> example...it
>>>>> creates a copy of the image in memory..moves it then blits it the
>>> screen.
>>>>> can anyone give me some pointers as to where to begin looking for this
>>> leak
>>>>> or if you think this is flash player bug
>>>>> 
>>>>> all advise helpful
>>>>> 
>>>>> thanks
>>>>> 
>>>>> percy
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>> ___
>>>> Flashcoders mailing list
>>>> Flashcoders@chattyfig.figleaf.com
>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>> ___
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>> 
>> 
>> 
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread Paul Andrews

On 18/10/2011 21:46, Chris Foster wrote:

If you're already manually removing event listeners and deleting created 
objects, and you really wanna nail this and don't mind spending a few hours 
learning something new then I totally recommend the Temple Library for 
ActionScript 3 by MediaMonks


The OP is using AS2..



http://code.google.com/p/templelibrary/

Extend all your MovieClips from 'CoreMovieClip', utilise the 'destruct' method, 
and view/test the results in the 'Memory' class.

It's saved my bacon, hope it's useful to you too.

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of [p e r c e p t 
i c o n]
Sent: Wednesday, 19 October 2011 7:31 AM
To: Flash Coders List
Subject: Re: [Flashcoders] animation memory leak ... please help

yes, i delete it and mark it null..

thx all

On Tue, Oct 18, 2011 at 1:13 PM, Ross Sclafaniwrote:


Are you disposing of the image after it is offscreen? Have you run the
profiler to see what's happening?

Ross P. Sclafani
Design | Technology | Creative
347.204.5714
http://ross.sclafani.net
http://www.twitter.com/rosssclafani

On Oct 18, 2011, at 4:00 PM, Adrian Zając  wrote:


I think I had this problem once...
How many of images do you have? Maybe it will be better to make the same

number of movie clips, and download every jpg only once?


Adrian

W dniu 2011-10-18 20:39, [p e r c e p t i c o n] pisze:

Hi All,

I have an excrutiating memory leak.  Here's what i'm doing.

first some specs:

AS2, FP10+, Linux OS, ff browser

I load a jpg into one of two movie clips...once a specified amount of

time

has expired
i load the next image (download it using moviclip loader) and animate

the

visible movieclip off stage (slide it to the left or right) and at the

same

time i animate it
i also fade it (mc._alpha -= mc._alpha-someAmount).
i swap their depths and repeat this process.

what i'd like to know is why after so many hours (8-24) flash starts

slowing

down and ultimately throws up the abort script dialog when i'm not

really

doing anything all that intensive..
can someone explain how flash handles animations internally for

example...it

creates a copy of the image in memory..moves it then blits it the

screen.

can anyone give me some pointers as to where to begin looking for this

leak

or if you think this is flash player bug

all advise helpful

thanks

percy





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders






___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread Chris Foster
If you're already manually removing event listeners and deleting created 
objects, and you really wanna nail this and don't mind spending a few hours 
learning something new then I totally recommend the Temple Library for 
ActionScript 3 by MediaMonks

http://code.google.com/p/templelibrary/

Extend all your MovieClips from 'CoreMovieClip', utilise the 'destruct' method, 
and view/test the results in the 'Memory' class.

It's saved my bacon, hope it's useful to you too.

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of [p e r c e p t 
i c o n]
Sent: Wednesday, 19 October 2011 7:31 AM
To: Flash Coders List
Subject: Re: [Flashcoders] animation memory leak ... please help

yes, i delete it and mark it null..

thx all

On Tue, Oct 18, 2011 at 1:13 PM, Ross Sclafani wrote:

> Are you disposing of the image after it is offscreen? Have you run the
> profiler to see what's happening?
>
> Ross P. Sclafani
> Design | Technology | Creative
> 347.204.5714
> http://ross.sclafani.net
> http://www.twitter.com/rosssclafani
>
> On Oct 18, 2011, at 4:00 PM, Adrian Zając  wrote:
>
> > I think I had this problem once...
> > How many of images do you have? Maybe it will be better to make the same
> number of movie clips, and download every jpg only once?
> >
> >
> > Adrian
> >
> > W dniu 2011-10-18 20:39, [p e r c e p t i c o n] pisze:
> >> Hi All,
> >>
> >> I have an excrutiating memory leak.  Here's what i'm doing.
> >>
> >> first some specs:
> >>
> >> AS2, FP10+, Linux OS, ff browser
> >>
> >> I load a jpg into one of two movie clips...once a specified amount of
> time
> >> has expired
> >> i load the next image (download it using moviclip loader) and animate
> the
> >> visible movieclip off stage (slide it to the left or right) and at the
> same
> >> time i animate it
> >> i also fade it (mc._alpha -= mc._alpha-someAmount).
> >> i swap their depths and repeat this process.
> >>
> >> what i'd like to know is why after so many hours (8-24) flash starts
> slowing
> >> down and ultimately throws up the abort script dialog when i'm not
> really
> >> doing anything all that intensive..
> >> can someone explain how flash handles animations internally for
> example...it
> >> creates a copy of the image in memory..moves it then blits it the
> screen.
> >>
> >> can anyone give me some pointers as to where to begin looking for this
> leak
> >> or if you think this is flash player bug
> >>
> >> all advise helpful
> >>
> >> thanks
> >>
> >> percy
> >>
> >>
> >>
> >>
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
  . :   .
  [ p e r c e p t i c o n ]
  . _ _ _ _ _ _ _ _ _ _  .
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread [p e r c e p t i c o n]
yes, i delete it and mark it null..

thx all

On Tue, Oct 18, 2011 at 1:13 PM, Ross Sclafani wrote:

> Are you disposing of the image after it is offscreen? Have you run the
> profiler to see what's happening?
>
> Ross P. Sclafani
> Design | Technology | Creative
> 347.204.5714
> http://ross.sclafani.net
> http://www.twitter.com/rosssclafani
>
> On Oct 18, 2011, at 4:00 PM, Adrian Zając  wrote:
>
> > I think I had this problem once...
> > How many of images do you have? Maybe it will be better to make the same
> number of movie clips, and download every jpg only once?
> >
> >
> > Adrian
> >
> > W dniu 2011-10-18 20:39, [p e r c e p t i c o n] pisze:
> >> Hi All,
> >>
> >> I have an excrutiating memory leak.  Here's what i'm doing.
> >>
> >> first some specs:
> >>
> >> AS2, FP10+, Linux OS, ff browser
> >>
> >> I load a jpg into one of two movie clips...once a specified amount of
> time
> >> has expired
> >> i load the next image (download it using moviclip loader) and animate
> the
> >> visible movieclip off stage (slide it to the left or right) and at the
> same
> >> time i animate it
> >> i also fade it (mc._alpha -= mc._alpha-someAmount).
> >> i swap their depths and repeat this process.
> >>
> >> what i'd like to know is why after so many hours (8-24) flash starts
> slowing
> >> down and ultimately throws up the abort script dialog when i'm not
> really
> >> doing anything all that intensive..
> >> can someone explain how flash handles animations internally for
> example...it
> >> creates a copy of the image in memory..moves it then blits it the
> screen.
> >>
> >> can anyone give me some pointers as to where to begin looking for this
> leak
> >> or if you think this is flash player bug
> >>
> >> all advise helpful
> >>
> >> thanks
> >>
> >> percy
> >>
> >>
> >>
> >>
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
  . :   .
  [ p e r c e p t i c o n ]
  . _ _ _ _ _ _ _ _ _ _  .
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread Ross Sclafani
Are you disposing of the image after it is offscreen? Have you run the profiler 
to see what's happening?

Ross P. Sclafani
Design | Technology | Creative
347.204.5714
http://ross.sclafani.net
http://www.twitter.com/rosssclafani

On Oct 18, 2011, at 4:00 PM, Adrian Zając  wrote:

> I think I had this problem once...
> How many of images do you have? Maybe it will be better to make the same 
> number of movie clips, and download every jpg only once?
> 
> 
> Adrian
> 
> W dniu 2011-10-18 20:39, [p e r c e p t i c o n] pisze:
>> Hi All,
>> 
>> I have an excrutiating memory leak.  Here's what i'm doing.
>> 
>> first some specs:
>> 
>> AS2, FP10+, Linux OS, ff browser
>> 
>> I load a jpg into one of two movie clips...once a specified amount of time
>> has expired
>> i load the next image (download it using moviclip loader) and animate the
>> visible movieclip off stage (slide it to the left or right) and at the same
>> time i animate it
>> i also fade it (mc._alpha -= mc._alpha-someAmount).
>> i swap their depths and repeat this process.
>> 
>> what i'd like to know is why after so many hours (8-24) flash starts slowing
>> down and ultimately throws up the abort script dialog when i'm not really
>> doing anything all that intensive..
>> can someone explain how flash handles animations internally for example...it
>> creates a copy of the image in memory..moves it then blits it the screen.
>> 
>> can anyone give me some pointers as to where to begin looking for this leak
>> or if you think this is flash player bug
>> 
>> all advise helpful
>> 
>> thanks
>> 
>> percy
>> 
>> 
>> 
>> 
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread Adrian Zając

I think I had this problem once...
How many of images do you have? Maybe it will be better to make the same number 
of movie clips, and download every jpg only once?


Adrian

W dniu 2011-10-18 20:39, [p e r c e p t i c o n] pisze:

Hi All,

I have an excrutiating memory leak.  Here's what i'm doing.

first some specs:

AS2, FP10+, Linux OS, ff browser

I load a jpg into one of two movie clips...once a specified amount of time
has expired
i load the next image (download it using moviclip loader) and animate the
visible movieclip off stage (slide it to the left or right) and at the same
time i animate it
i also fade it (mc._alpha -= mc._alpha-someAmount).
i swap their depths and repeat this process.

what i'd like to know is why after so many hours (8-24) flash starts slowing
down and ultimately throws up the abort script dialog when i'm not really
doing anything all that intensive..
can someone explain how flash handles animations internally for example...it
creates a copy of the image in memory..moves it then blits it the screen.

can anyone give me some pointers as to where to begin looking for this leak
or if you think this is flash player bug

all advise helpful

thanks

percy






___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread [p e r c e p t i c o n]
Yes :) 
Hours.
--Original Message--
From: Matt S.
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: Re: [Flashcoders] animation memory leak ... please help
Sent: Oct 18, 2011 12:43 PM

"Hours"? Is that supposed to be minutes? Or is it really running that long
nonstop?

..m

On Tue, Oct 18, 2011 at 2:39 PM, [p e r c e p t i c o n] <
percepti...@gmail.com> wrote:

> what i'd like to know is why after so many hours (8-24)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[-percy-]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread Matt S.
"Hours"? Is that supposed to be minutes? Or is it really running that long
nonstop?

.m

On Tue, Oct 18, 2011 at 2:39 PM, [p e r c e p t i c o n] <
percepti...@gmail.com> wrote:

> what i'd like to know is why after so many hours (8-24)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] animation memory leak ... please help

2011-10-18 Thread [p e r c e p t i c o n]
Hi All,

I have an excrutiating memory leak.  Here's what i'm doing.

first some specs:

AS2, FP10+, Linux OS, ff browser

I load a jpg into one of two movie clips...once a specified amount of time
has expired
i load the next image (download it using moviclip loader) and animate the
visible movieclip off stage (slide it to the left or right) and at the same
time i animate it
i also fade it (mc._alpha -= mc._alpha-someAmount).
i swap their depths and repeat this process.

what i'd like to know is why after so many hours (8-24) flash starts slowing
down and ultimately throws up the abort script dialog when i'm not really
doing anything all that intensive..
can someone explain how flash handles animations internally for example...it
creates a copy of the image in memory..moves it then blits it the screen.

can anyone give me some pointers as to where to begin looking for this leak
or if you think this is flash player bug

all advise helpful

thanks

percy




-- 
  . :   .
  [ p e r c e p t i c o n ]
  . _ _ _ _ _ _ _ _ _ _  .
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders