50 onEnterFrames running at the same time could definitely be the
problem.
Maybe you could consider making one onEnterFrame script that controls
all of your star animations.. do they all animate ALL the time, or
are only some "on" at any given time? If nothing else, make sure that
movieclips that are not actively doing something are not wasting cycles.
On Jul 3, 2006, at 1:38 PM, Marcelo de Moraes Serpa wrote:
I´ve created 50 star movieclips with random sizes, rotation and
scale. Till
there, everything went fine, the sky´s got good looking, but the stars
needed some "life", so I thought in adding a fade-in / fade-out
tween to
each of them - and here comes the problem - I´ve attached a
onEnterFrame
event to each of them and have written a simple code that does the
blinking.
It works, but the app gets too slow. I don´t know if it´s becouse
of the
rendering engine that doesn´t manage to render 50 stars blinking or
if it´s
becouse of the 50 onEnterFrame events with code to do the fade-in/
fade-out.
Any ideas?
Thanks in advance.
_______________________________________________
[email protected]
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
_______________________________________________
[email protected]
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