done that
some work:
colors = [0x990000, 0x660000];
alphas = [100, 100];
ratios = [0x33, 0xDD];
matrix = {matrixType:"box", x:0, y:0, w:Stage.width, h:Stage.height, r: (45/180)*Math.PI};
beginGradientFill("radial", colors, alphas, ratios, matrix) and lineTo(Stage.width, 0) and lineTo(Stage.width, Stage.height) and lineTo(0, Stage.height) and lineTo(0, 0);
function heartMaker(i, X, Y) {
var hrt = _root.createEmptyMovieClip("heart"+i, i);
hrt.beginFill(0xDD0000, 60) and hrt.moveTo(0, -10) and hrt.curveTo(10, -25, 20, -10) and hrt.curveTo(30, 10, 0, 30) and hrt.curveTo(-30, 10, -20, -10) and hrt.curveTo(-10, -25, 0, -10);
hrt._x = X;
hrt._y = Y;
hrt._xscale = hrt._yscale=50+random(50);
hrt.aspeed = 5;
hrt.onEnterFrame = function() {
this._alpha>0 ? this._alpha -= this.aspeed : this.unloadMovie();
this._xscale = this._yscale += (this._yscale)/10;
this._y -= ((Stage.height/2)-this._y)/20;
this._x -= ((Stage.width/2)-this._x)/20;
};
}
_root.onEnterFrame = function() {
x += (_root._xmouse-x)/10;
y += (_root._ymouse-y)/10;
heartMaker(j, x, y);
j++;
j>200 ? j=0 : null;
};
click to change:
rot = random(3599);
_root._xscale = _root._yscale=50;
_x = Stage.width/2;
_y = Stage.height/2;
function flower(trg, i, k) {
var mc = trg.createEmptyMovieClip("kwiat"+i, -i);
mc.beginFill(0x330022) and mc.curveTo(k*3, 0, k*3, k*3) and mc.curveTo(0, k*3, 0, 0) and mc.endFill();
mc.beginFill(0xCC9900) and mc.curveTo(k*2.8, 0, k*2.8, k*2.8) and mc.curveTo(k, -k, 0, 0) and mc.endFill();
mc._rotation = _root.j*_root.rot;
mc.onEnterFrame = function() {
_rotation -= .01;
};
}
for (j=2; j<90; j++) {
flower(_root, j, j);
}
_root.onMouseDown = function() {
rot = random(3599);
for (j=2; j<90; j++) {
flower(_root, j, j);
}
};
i’m still learning an i’m still n00b…