[Flashcoders] optimizing an animation?

2006-06-26 Thread michal jaworski

hi!

i have a performance problems with a site.
the site has four content areas with navigation between them, so that
when you click on an icon the section zooms in from and icon size to
full screen and the current sections zooms out at the same time.
zooming and positioning is done with zeh fernando's mc_tween.
the problem here is simple: the animation chokes. it almost looks as
if there was a start frame, an end one and two or three frames
displayed in between (it takes around a second).
also there is a section with a news. news are diplsayed as list of
titles. when clicked an item expands pushing the list down and the
news copy shows in this space. textfields are created dynamically as
the news are read form an xml file. backgound and buttons are attached
dynamically too.
the problem: it chokes too. this is weirded as tweening is very bad
for the first time but then i smooths.
any hints about how to address this? how to optmimize animation? what
to use and what to avoid?
thanks,
michal
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] optimizing an animation?

2006-06-26 Thread Mick G

I've seen this mostly when the MC being tweened either has a lot of vector
information or large (physically) bitmaps.

- If it's all vector being zoomed, either optimize and cut down on the
vectors or, create a new frame in the MC with 'some elements' only, goto
that frame while zooming, do a callback function on the MC_tween to then go
back to the frame you want once the tween is complete
- If it's bitmaps being zoomed, they may have too much information to render
quickly - try reducing the amount of pixels in the bitmap (like 50% scale)
then stretch it 200% when it's dynamically attached - this will lower the
quality but speed up the zoom (you can try this just to test if it is the
bitmap causing the problem).
- In general, disable elements one at a time and keep testing the movie to
find the offending elements that are causing the chugging.


On 6/27/06, michal jaworski [EMAIL PROTECTED] wrote:


hi!

i have a performance problems with a site.
the site has four content areas with navigation between them, so that
when you click on an icon the section zooms in from and icon size to
full screen and the current sections zooms out at the same time.
zooming and positioning is done with zeh fernando's mc_tween.
the problem here is simple: the animation chokes. it almost looks as
if there was a start frame, an end one and two or three frames
displayed in between (it takes around a second).
also there is a section with a news. news are diplsayed as list of
titles. when clicked an item expands pushing the list down and the
news copy shows in this space. textfields are created dynamically as
the news are read form an xml file. backgound and buttons are attached
dynamically too.
the problem: it chokes too. this is weirded as tweening is very bad
for the first time but then i smooths.
any hints about how to address this? how to optmimize animation? what
to use and what to avoid?
thanks,
michal
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] optimizing an animation?

2006-06-26 Thread Ian Thomas

Another approach is to switch to a single bitmap for the whole MC,
scale and tween, then switch back to your vector version once the
tween has finished.

Ian

On 6/26/06, Mick G [EMAIL PROTECTED] wrote:

I've seen this mostly when the MC being tweened either has a lot of vector
information or large (physically) bitmaps.

- If it's all vector being zoomed, either optimize and cut down on the
vectors or, create a new frame in the MC with 'some elements' only, goto
that frame while zooming, do a callback function on the MC_tween to then go
back to the frame you want once the tween is complete
- If it's bitmaps being zoomed, they may have too much information to render
quickly - try reducing the amount of pixels in the bitmap (like 50% scale)
then stretch it 200% when it's dynamically attached - this will lower the
quality but speed up the zoom (you can try this just to test if it is the
bitmap causing the problem).
- In general, disable elements one at a time and keep testing the movie to
find the offending elements that are causing the chugging.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com