Re: [Flashcoders] IE not releasing memory after unloading Flash object

2011-03-03 Thread Karl DeSaulniers

Ahh, then did you try them one after another maybe?

window.location.refresh();
window.close();

Never tried that myself, but if the refresh clears the memory and all  
you want is the window closed, makes sense to me.

Best,
Karl


On Mar 3, 2011, at 7:28 PM, Chris Foster wrote:


Yeah, the SWF is definitely not caching...

But I've also found something that does seem to work... instead of
calling window.close(), calling window.location.refresh() clears the
previously consumed memory. It's only a hack at the moment, but it  
seems

repeatable, so if needs be I can work this into a solution.

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Friday, 4 March 2011 12:08 PM
To: Flash Coders List
Subject: Re: [Flashcoders] IE not releasing memory after unloading  
Flash

object

One last thought, have you tried a no-cache on your swf?

Best,
Karl

On Mar 3, 2011, at 6:07 PM, Karl DeSaulniers wrote:


My *guess* is it does not release until you
1. close IE all together,
or
2. Pull up the same file name and it not be the exact same file,
IE:edits were made to the file.  Pulled "new" from the server.
or
3. have more time go before letting the page change or window close.
(Not the best recommendation)

It eventually will catch up and it will clear, but garbage
collection as a whole is an unpredictable beast.
I have always had a problem with IE caching my SWFs and almost
fighting to let them go.
Does this same behavior happen for you in other browsers? Or just IE?
Have you looked into a Javascript DOM garbage collection?
Maybe do garbage collection on the swf, the swfObject and the DOM?
Sorry not much more help.

Best,
Karl

On Mar 3, 2011, at 5:23 PM, Chris Foster wrote:


I *think* my listeners are all under control Karl - but I'm still
interested in whether my assumption is correct or not - does
closing the
browser window
Completely remove the Flash Player instance from the IE DOM and
release
the memory it was using? (not Flash memory, but memory used by  
IE, as

visible in the Task Manager)

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Friday, 4 March 2011 9:53 AM
To: Flash Coders List
Subject: Re: [Flashcoders] IE not releasing memory after unloading
Flash
object

Hi Chris,
Do you have any listeners that look for the system? IE: system
capabilities, monitor size, mouse position, etc, or just  
listeners in

general.
Try removing the listeners before garbage collection and unload.

HTH,
Karl


On Mar 3, 2011, at 4:45 PM, Chris Foster wrote:


Hi list,

I'm using SWFObject 2.2 (dynamic embed) to display my Flash
content. In
IE7 on WinXP the Windows Task Manager shows that the 'iexplore'
process
isn't releasing memory after the window containing my Flash is
closed.

I've tried explicitly calling SWFObject's 'cleanupSWFs' and
'removeSWF'
methods in the 'onbeforeunload' event of my HTML page, but with no
change in the result.

Is it correct to assume that (regardless of Flash memory management
and
garbage collection issues) closing the browser window should remove
the
Flash Player from the IE DOM and release the memory it was using?

Any advice appreciated,
C:
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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

_

RE: [Flashcoders] IE not releasing memory after unloading Flash object

2011-03-03 Thread Chris Foster
Yeah, the SWF is definitely not caching...

But I've also found something that does seem to work... instead of
calling window.close(), calling window.location.refresh() clears the
previously consumed memory. It's only a hack at the moment, but it seems
repeatable, so if needs be I can work this into a solution.

C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Friday, 4 March 2011 12:08 PM
To: Flash Coders List
Subject: Re: [Flashcoders] IE not releasing memory after unloading Flash
object

One last thought, have you tried a no-cache on your swf?

Best,
Karl

On Mar 3, 2011, at 6:07 PM, Karl DeSaulniers wrote:

> My *guess* is it does not release until you
> 1. close IE all together,
> or
> 2. Pull up the same file name and it not be the exact same file,
> IE:edits were made to the file.  Pulled "new" from the server.
> or
> 3. have more time go before letting the page change or window close.
> (Not the best recommendation)
>
> It eventually will catch up and it will clear, but garbage  
> collection as a whole is an unpredictable beast.
> I have always had a problem with IE caching my SWFs and almost  
> fighting to let them go.
> Does this same behavior happen for you in other browsers? Or just IE?
> Have you looked into a Javascript DOM garbage collection?
> Maybe do garbage collection on the swf, the swfObject and the DOM?
> Sorry not much more help.
>
> Best,
> Karl
>
> On Mar 3, 2011, at 5:23 PM, Chris Foster wrote:
>
>> I *think* my listeners are all under control Karl - but I'm still
>> interested in whether my assumption is correct or not - does  
>> closing the
>> browser window
>> Completely remove the Flash Player instance from the IE DOM and  
>> release
>> the memory it was using? (not Flash memory, but memory used by IE, as
>> visible in the Task Manager)
>>
>> -Original Message-
>> From: flashcoders-boun...@chattyfig.figleaf.com
>> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
>> DeSaulniers
>> Sent: Friday, 4 March 2011 9:53 AM
>> To: Flash Coders List
>> Subject: Re: [Flashcoders] IE not releasing memory after unloading  
>> Flash
>> object
>>
>> Hi Chris,
>> Do you have any listeners that look for the system? IE: system
>> capabilities, monitor size, mouse position, etc, or just listeners in
>> general.
>> Try removing the listeners before garbage collection and unload.
>>
>> HTH,
>> Karl
>>
>>
>> On Mar 3, 2011, at 4:45 PM, Chris Foster wrote:
>>
>>> Hi list,
>>>
>>> I'm using SWFObject 2.2 (dynamic embed) to display my Flash
>>> content. In
>>> IE7 on WinXP the Windows Task Manager shows that the 'iexplore'
>>> process
>>> isn't releasing memory after the window containing my Flash is  
>>> closed.
>>>
>>> I've tried explicitly calling SWFObject's 'cleanupSWFs' and
>>> 'removeSWF'
>>> methods in the 'onbeforeunload' event of my HTML page, but with no
>>> change in the result.
>>>
>>> Is it correct to assume that (regardless of Flash memory management
>>> and
>>> garbage collection issues) closing the browser window should remove
>>> the
>>> Flash Player from the IE DOM and release the memory it was using?
>>>
>>> Any advice appreciated,
>>> C:
>>> 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
>>
>> Karl DeSaulniers
>> Design Drumm
>> http://designdrumm.com
>>
>> ___
>> 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
>
> Karl DeSaulniers
> Design Drumm
> http://designdrumm.com
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
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] IE not releasing memory after unloading Flash object

2011-03-03 Thread Karl DeSaulniers

One last thought, have you tried a no-cache on your swf?

Best,
Karl

On Mar 3, 2011, at 6:07 PM, Karl DeSaulniers wrote:


My *guess* is it does not release until you
1. close IE all together,
or
2. Pull up the same file name and it not be the exact same file,
IE:edits were made to the file.  Pulled "new" from the server.
or
3. have more time go before letting the page change or window close.
(Not the best recommendation)

It eventually will catch up and it will clear, but garbage  
collection as a whole is an unpredictable beast.
I have always had a problem with IE caching my SWFs and almost  
fighting to let them go.

Does this same behavior happen for you in other browsers? Or just IE?
Have you looked into a Javascript DOM garbage collection?
Maybe do garbage collection on the swf, the swfObject and the DOM?
Sorry not much more help.

Best,
Karl

On Mar 3, 2011, at 5:23 PM, Chris Foster wrote:


I *think* my listeners are all under control Karl - but I'm still
interested in whether my assumption is correct or not - does  
closing the

browser window
Completely remove the Flash Player instance from the IE DOM and  
release

the memory it was using? (not Flash memory, but memory used by IE, as
visible in the Task Manager)

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Friday, 4 March 2011 9:53 AM
To: Flash Coders List
Subject: Re: [Flashcoders] IE not releasing memory after unloading  
Flash

object

Hi Chris,
Do you have any listeners that look for the system? IE: system
capabilities, monitor size, mouse position, etc, or just listeners in
general.
Try removing the listeners before garbage collection and unload.

HTH,
Karl


On Mar 3, 2011, at 4:45 PM, Chris Foster wrote:


Hi list,

I'm using SWFObject 2.2 (dynamic embed) to display my Flash
content. In
IE7 on WinXP the Windows Task Manager shows that the 'iexplore'
process
isn't releasing memory after the window containing my Flash is  
closed.


I've tried explicitly calling SWFObject's 'cleanupSWFs' and
'removeSWF'
methods in the 'onbeforeunload' event of my HTML page, but with no
change in the result.

Is it correct to assume that (regardless of Flash memory management
and
garbage collection issues) closing the browser window should remove
the
Flash Player from the IE DOM and release the memory it was using?

Any advice appreciated,
C:
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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Re: [Flashcoders] IE not releasing memory after unloading Flash object

2011-03-03 Thread Karl DeSaulniers

My *guess* is it does not release until you
1. close IE all together,
or
2. Pull up the same file name and it not be the exact same file,
IE:edits were made to the file.  Pulled "new" from the server.
or
3. have more time go before letting the page change or window close.
(Not the best recommendation)

It eventually will catch up and it will clear, but garbage collection  
as a whole is an unpredictable beast.
I have always had a problem with IE caching my SWFs and almost  
fighting to let them go.

Does this same behavior happen for you in other browsers? Or just IE?
Have you looked into a Javascript DOM garbage collection?
Maybe do garbage collection on the swf, the swfObject and the DOM?
Sorry not much more help.

Best,
Karl

On Mar 3, 2011, at 5:23 PM, Chris Foster wrote:


I *think* my listeners are all under control Karl - but I'm still
interested in whether my assumption is correct or not - does  
closing the

browser window
Completely remove the Flash Player instance from the IE DOM and  
release

the memory it was using? (not Flash memory, but memory used by IE, as
visible in the Task Manager)

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Friday, 4 March 2011 9:53 AM
To: Flash Coders List
Subject: Re: [Flashcoders] IE not releasing memory after unloading  
Flash

object

Hi Chris,
Do you have any listeners that look for the system? IE: system
capabilities, monitor size, mouse position, etc, or just listeners in
general.
Try removing the listeners before garbage collection and unload.

HTH,
Karl


On Mar 3, 2011, at 4:45 PM, Chris Foster wrote:


Hi list,

I'm using SWFObject 2.2 (dynamic embed) to display my Flash
content. In
IE7 on WinXP the Windows Task Manager shows that the 'iexplore'
process
isn't releasing memory after the window containing my Flash is  
closed.


I've tried explicitly calling SWFObject's 'cleanupSWFs' and
'removeSWF'
methods in the 'onbeforeunload' event of my HTML page, but with no
change in the result.

Is it correct to assume that (regardless of Flash memory management
and
garbage collection issues) closing the browser window should remove
the
Flash Player from the IE DOM and release the memory it was using?

Any advice appreciated,
C:
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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


RE: [Flashcoders] IE not releasing memory after unloading Flash object

2011-03-03 Thread Chris Foster
I *think* my listeners are all under control Karl - but I'm still
interested in whether my assumption is correct or not - does closing the
browser window 
Completely remove the Flash Player instance from the IE DOM and release
the memory it was using? (not Flash memory, but memory used by IE, as
visible in the Task Manager)

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Friday, 4 March 2011 9:53 AM
To: Flash Coders List
Subject: Re: [Flashcoders] IE not releasing memory after unloading Flash
object

Hi Chris,
Do you have any listeners that look for the system? IE: system  
capabilities, monitor size, mouse position, etc, or just listeners in  
general.
Try removing the listeners before garbage collection and unload.

HTH,
Karl


On Mar 3, 2011, at 4:45 PM, Chris Foster wrote:

> Hi list,
>
> I'm using SWFObject 2.2 (dynamic embed) to display my Flash  
> content. In
> IE7 on WinXP the Windows Task Manager shows that the 'iexplore'  
> process
> isn't releasing memory after the window containing my Flash is closed.
>
> I've tried explicitly calling SWFObject's 'cleanupSWFs' and  
> 'removeSWF'
> methods in the 'onbeforeunload' event of my HTML page, but with no
> change in the result.
>
> Is it correct to assume that (regardless of Flash memory management  
> and
> garbage collection issues) closing the browser window should remove  
> the
> Flash Player from the IE DOM and release the memory it was using?
>
> Any advice appreciated,
> C:
> 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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
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] IE not releasing memory after unloading Flash object

2011-03-03 Thread Karl DeSaulniers

Hi Chris,
Do you have any listeners that look for the system? IE: system  
capabilities, monitor size, mouse position, etc, or just listeners in  
general.

Try removing the listeners before garbage collection and unload.

HTH,
Karl


On Mar 3, 2011, at 4:45 PM, Chris Foster wrote:


Hi list,

I'm using SWFObject 2.2 (dynamic embed) to display my Flash  
content. In
IE7 on WinXP the Windows Task Manager shows that the 'iexplore'  
process

isn't releasing memory after the window containing my Flash is closed.

I've tried explicitly calling SWFObject's 'cleanupSWFs' and  
'removeSWF'

methods in the 'onbeforeunload' event of my HTML page, but with no
change in the result.

Is it correct to assume that (regardless of Flash memory management  
and
garbage collection issues) closing the browser window should remove  
the

Flash Player from the IE DOM and release the memory it was using?

Any advice appreciated,
C:
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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


[Flashcoders] IE not releasing memory after unloading Flash object

2011-03-03 Thread Chris Foster
Hi list,

I'm using SWFObject 2.2 (dynamic embed) to display my Flash content. In
IE7 on WinXP the Windows Task Manager shows that the 'iexplore' process
isn't releasing memory after the window containing my Flash is closed.

I've tried explicitly calling SWFObject's 'cleanupSWFs' and 'removeSWF'
methods in the 'onbeforeunload' event of my HTML page, but with no
change in the result.

Is it correct to assume that (regardless of Flash memory management and
garbage collection issues) closing the browser window should remove the
Flash Player from the IE DOM and release the memory it was using?

Any advice appreciated,
C:
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] Automatic quality toggle

2011-03-03 Thread tom rhodes
i've done this trick and it works great, and it was a scripted animation...


On 3 March 2011 18:51, Kevin Newman  wrote:

> Have you ever tried switching to 1FPS for exporting to QT? I wonder if that
> would skip fewer frames. You'd need to multiply your time based animations
> by whatever factor though...
>
> Kevin N.
>
>
>
>
> On 3/3/11 12:31 PM, Karim Beyrouti wrote:
>
>> I developed an AIR app to export SWF to PNG sequences:
>> http://swfrenderer.kurst.co.uk
>>
>> We developed it because flash was skipping frames and animation was not
>> overly smooth on CPU intensive movies (be it code or timeline). We also had
>> a few issues with the CS5 PNG/Movie exporter. It works with timeline
>> animation and dynamic / coded animations (AS2/3) -  and works well as long
>> as tweens use frames  instead of timecode.  (for tweenmax, it's the useFrame
>> property for tweens).
>>
>> Hope it helps someone...
>>
>>
>> - karim
>>
>>
>>
>> On 26 Feb 2011, at 14:02, Latcho wrote:
>>
>>  I hate super heavy cpu supersucker vector animations online, I prefer
>>> streaming video :) And vector animations compress way nicer to video as
>>> photographic content does.
>>> I think it is simple to write a tool that onenterframe captures any
>>> (swf-loaded) animation frame to a bitmap, which you can save with AIR as a
>>> jpg or png.
>>> Easy to combine this jpg's to an mjpeg video stream in any reasonable
>>> videopackage or with ffmpeg ( http://www.ffmpeg.org/faq.html#SEC14 ).
>>>
>>> On 2/26/2011 11:10 AM, Henrik Andersson wrote:
>>>
 Christoffer Enedahl skriver:

> It sounds like it's time to encode the flash animation to video.
>
>  For some of the cases, yeah. You are right in that encoding to video
 would solve the issue for local playback. Give me a shout when you find a
 tool that actually can do it properly.

 But it is not acceptable for online distribution. I myself hate people
 uploading video encodings of their vector animations. It's needlessly big
 files and the quality just isn't as good as the source material.
 ___
 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] Automatic quality toggle

2011-03-03 Thread Kevin Newman
Have you ever tried switching to 1FPS for exporting to QT? I wonder if 
that would skip fewer frames. You'd need to multiply your time based 
animations by whatever factor though...


Kevin N.



On 3/3/11 12:31 PM, Karim Beyrouti wrote:

I developed an AIR app to export SWF to PNG sequences: 
http://swfrenderer.kurst.co.uk

We developed it because flash was skipping frames and animation was not overly 
smooth on CPU intensive movies (be it code or timeline). We also had a few 
issues with the CS5 PNG/Movie exporter. It works with timeline animation and 
dynamic / coded animations (AS2/3) -  and works well as long as tweens use 
frames  instead of timecode.  (for tweenmax, it's the useFrame property for 
tweens).

Hope it helps someone...


- karim



On 26 Feb 2011, at 14:02, Latcho wrote:


I hate super heavy cpu supersucker vector animations online, I prefer streaming 
video :) And vector animations compress way nicer to video as photographic 
content does.
I think it is simple to write a tool that onenterframe captures any 
(swf-loaded) animation frame to a bitmap, which you can save with AIR as a jpg 
or png.
Easy to combine this jpg's to an mjpeg video stream in any reasonable 
videopackage or with ffmpeg ( http://www.ffmpeg.org/faq.html#SEC14 ).

On 2/26/2011 11:10 AM, Henrik Andersson wrote:

Christoffer Enedahl skriver:

It sounds like it's time to encode the flash animation to video.


For some of the cases, yeah. You are right in that encoding to video would 
solve the issue for local playback. Give me a shout when you find a tool that 
actually can do it properly.

But it is not acceptable for online distribution. I myself hate people 
uploading video encodings of their vector animations. It's needlessly big files 
and the quality just isn't as good as the source material.
___
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] Automatic quality toggle

2011-03-03 Thread Kevin Newman

Actionscript works when exporting to QT ...

Kevin N.


On 3/3/11 12:15 PM, Henrik Andersson wrote:

Kevin Newman skriver:

I have pretty good experience exporting to QuickTime right from Flash -
though others swear it's problematic (maybe they are doing it wrong?).



Maybe they are using actionscript?
___
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] Automatic quality toggle

2011-03-03 Thread Karim Beyrouti
I developed an AIR app to export SWF to PNG sequences: 
http://swfrenderer.kurst.co.uk

We developed it because flash was skipping frames and animation was not overly 
smooth on CPU intensive movies (be it code or timeline). We also had a few 
issues with the CS5 PNG/Movie exporter. It works with timeline animation and 
dynamic / coded animations (AS2/3) -  and works well as long as tweens use 
frames  instead of timecode.  (for tweenmax, it's the useFrame property for 
tweens).

Hope it helps someone...


- karim



On 26 Feb 2011, at 14:02, Latcho wrote:

> I hate super heavy cpu supersucker vector animations online, I prefer 
> streaming video :) And vector animations compress way nicer to video as 
> photographic content does.
> I think it is simple to write a tool that onenterframe captures any 
> (swf-loaded) animation frame to a bitmap, which you can save with AIR as a 
> jpg or png.
> Easy to combine this jpg's to an mjpeg video stream in any reasonable 
> videopackage or with ffmpeg ( http://www.ffmpeg.org/faq.html#SEC14 ).
> 
> On 2/26/2011 11:10 AM, Henrik Andersson wrote:
>> Christoffer Enedahl skriver:
>>> It sounds like it's time to encode the flash animation to video.
>>> 
>> 
>> For some of the cases, yeah. You are right in that encoding to video would 
>> solve the issue for local playback. Give me a shout when you find a tool 
>> that actually can do it properly.
>> 
>> But it is not acceptable for online distribution. I myself hate people 
>> uploading video encodings of their vector animations. It's needlessly big 
>> files and the quality just isn't as good as the source material.
>> ___
>> 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] Automatic quality toggle

2011-03-03 Thread Henrik Andersson

Kevin Newman skriver:

I have pretty good experience exporting to QuickTime right from Flash -
though others swear it's problematic (maybe they are doing it wrong?).



Maybe they are using actionscript?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Automatic quality toggle

2011-03-03 Thread Kevin Newman
I have pretty good experience exporting to QuickTime right from Flash - 
though others swear it's problematic (maybe they are doing it wrong?).


If you want to keep the vector animation, and if fullscreen is your main 
problem, you can use a fullScreenRect to force the renderer to a smaller 
draw area. You wouldn't get the full native resolution of the user's 
monitor, but this is the same restraint as using an flv file. 720p 
(1280x720) would look good - if it's really complex, you could go even 
smaller.


There are other optimizations your animators could use during 
production, including cacheAsBitmap, or pre-rendering certain complex 
vector art.


Kevin N.


On 2/26/11 5:10 AM, Henrik Andersson wrote:

Christoffer Enedahl skriver:

It sounds like it's time to encode the flash animation to video.



For some of the cases, yeah. You are right in that encoding to video 
would solve the issue for local playback. Give me a shout when you 
find a tool that actually can do it properly.


But it is not acceptable for online distribution. I myself hate people 
uploading video encodings of their vector animations. It's needlessly 
big files and the quality just isn't as good as the source material.

___
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