PDA

View Full Version : req: good tutorials



fluid_0ne
April 1st, 2003, 10:12 AM
anybody got those tuts from actionscript.org (zipped would be perfect), or other good tutorilas for AS???
i want to learn a lot of AS and i need some "helpers" :smirk:
(watched bit-101s' works way too much):beam:

any help would be good :beam: :beam: :beam:
cheers

Law
April 1st, 2003, 10:34 AM
i'm trying to improve my actionscript at the moment to
http://www.debreuil.com/docs/ch01_Intro.htm
is an excellent object orientated programming tutorial.

fluid_0ne
April 1st, 2003, 10:47 AM
thx
if i'll find something good - i'll post it here

Law
April 1st, 2003, 10:49 AM
ok thanks. I'm on the lookout for more tutorials as well. Also have you been to http://www.outsideofsociety.idz.net It's got good tutorials for making games in flash.

fluid_0ne
April 1st, 2003, 10:54 AM
i'm not interested in making games, but thanks anyway (it might be useful to other users)

Voglio
April 1st, 2003, 08:49 PM
What do you really want to learn in AS?

fluid_0ne
April 2nd, 2003, 11:57 AM
dunno... 3d i presume, but "growing flowers" also rule... ;)

i wanna be flash guru some day ;P / yeah, right

pom
April 2nd, 2003, 01:25 PM
Read the manual, and when you're done, read it once more. :+)

fluid_0ne
April 3rd, 2003, 11:16 AM
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...