فلیش میں دائرے کی حرکت والی ایفیکٹ بنانا
// Copy the below ActionScript
onClipEvent (load) {
var radius = 10 + Math.random() * 50;
var speed = 5 + Math.random() * 20;
var xcenter = this._x;
var ycenter = this._y;
var degree = 0;
var radian;
}
onClipEvent (enterFrame) {
degree += speed;
radian = (degree/180)*Math.PI;
this._x = xcenter+Math.cos(radian)*radius;
this._y = ycenter-Math.sin(radian)*radius;
}
// Copy the above ActionScript