Marcelo de Moraes Serpa wrote:
It´s random. While some are fading in, others are fading out and so on. I
used Fuse to iterate through the stars created and attach the
onEnterFrame
event on each of them.
Well, you could define variable in each star instance and give up a
fadeSpeed whereby it's -5 or +5. This way the one will decresed or
increased by two. Example:
test.alphaSpeed = +5;
test._alpha = 0;
test2.alphaSpeed = -5;
test2._alpha = 100;
this.onEnterFrame = function() {
test._alpha = test._alpha + test.alphaSpeed;
test2._alpha = test2._alpha + test2.alphaSpeed;
}
Yours,
Weyert de Boer
_______________________________________________
[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