I want to have this animation where a circle appears one by one create this:
But so far it does 8 full columns.
package {
import flash.display.*;/// circles
import flash.events.*;/// Listener
public class redcircleManipulator6 extends MovieClip {
public function redcircleManipulator6() {
///var myTimer:Timer=new Timer(100);
///myTimer.addEventListener(TimerEvent.TIMER,onTick);
var i:uint=1;
var j:uint=1;
addEventListener(Event.ENTER_FRAME, onTick);
function onTick(myevent:Event) {
///for (var i:uint=1; i<=8; i++) {
///for (var j:uint=1; j<=8; j++) {
var redCircle_mc:redcircle=new redcircle;
redCircle_mc.x=50 * i + 50;
redCircle_mc.y=50 * j - 25;
redCircle_mc.alpha=0.25;
addChild(redCircle_mc);
j++;
if (j == 9) {
j=1;
i++;
if (i == 9) {
removeEventListener(Event.ENTER_FRAME, onTick);
///stop();
///i=1;
///j=1;
}
}
///}
}
}
}
}
any help would be great, thanks