flash link

October 13, 2009 at 8:40 am (art, flash CODE)

Nice flash experience:

http://biomotionlab.ca/Demos/BMLwalker.html

Advertisements

Permalink Leave a Comment

nice CODE

September 7, 2009 at 10:05 am (flash CODE, Personal Experience)

adobe_flash

Text = “My Dream Wall”;
letters = Text.split(“”);
letterformat = new TextFormat();
letterformat.font = “Arial Black”;
letterformat.align = “center”;
letterformat.size = “10”;
spacing = 4;
speed = 3;
for (var LTR = 0; LTR<letters.length; LTR++) {
mc = _root.createEmptyMovieClip(LTR+”l”, LTR);
mc.createTextField(letters[LTR]+”t”, LTR, LTR*spacing, 10, 20, 20);
with (mc[letters[LTR]+”t”]) {
text = letters[LTR];
setTextFormat(letterformat);
selectable = false;
}
if (LTR) {
mc.prevClip = _root[(LTR-1)+”l”];
mc.onEnterFrame = function() {
this._x += (this.prevClip._x-this._x+5)/speed;
this._y += (this.prevClip._y-this._y)/speed;
};
} else {
mc.onEnterFrame = function() {
this._x += (_root._xmouse-this._x+10)/speed;
this._y += (_root._ymouse-this._y)/speed;
};
}
}

ye code besyaar zibaaye flash…emrouz kashfesh kardam…

Permalink Leave a Comment