This appears to be a flash file, you cannot see a preview because flash player is no longer supoorted in browsers, but you can still download the file to study it's source code.
You can open/play the swf file with Flash Player exe
You can open/play the swf file with Flash Player exe
adrianTNT (32)
Stars
Stars generated randomly. Stars are positioned randomly on stage and then randomly changes color and rotation.The action script has around 13 code lines.
8250 downloads, 39764 views
Comments
You need to login to post a comment.
aww so cute, let me have it :D
I am glad you like it.
Thanks for the comments (Alexandra, Vicmar, etc).
Thanks for sharing this wonderful stars!
good!
nice! god job
Thank
Inside "star_group" clip you can replace:
var matrix_array:Array = Array("FFFFFF", "00BFF3", "00EAFF");
//
starcolor1 = new Color(star1);
starcolor2 = new Color(star2);
onEnterFrame = function () {
star1._rotation = random(180);
star2._rotation = random(180);
star1._alpha = random(50)+50;
star2._alpha = random(50)+50;
starcolor = matrix_array[random(matrix_array.length) ];
starcolor1.setRGB("0x"+starcolor);
starcolor2.setRGB("0x"+starcolor);
};
with:
var matrix_array:Array = Array("FFFFFF", "00BFF3", "00EAFF");
//
starcolor1 = new Color(star1);
starcolor2 = new Color(star2);
star1._rotation = random(180);
star2._rotation = random(180);
function refresh_star() {
star1._rotation++;
star2._rotation++;
star1._alpha = random(50)+50;
star2._alpha = random(50)+50;
starcolor = matrix_array[random(matrix_array.length) ];
starcolor1.setRGB("0x"+starcolor);
starcolor2.setRGB("0x"+starcolor);
}
refresh_star_interval = setInterval(refresh_star, 5);
Where "5" are milliseconds interval to repeat the function, the one that includes rotating the stars.
hi is it possible to slow down the rotation of the stars?
thx !!!
thanx
Perfect!!!
Thanks.
thank you