
04.11.2005, 14:48
|
|
Регистрация: Mar 2004
Сообщений: 24
|
Вот так - оно множественно атачится.. немножко неправильно тут запостил сетинтервал.
Но аттачмуви все равно некрасиво работает =(
function fall()
{
x = Number(x) + 1;
this.attachMovie("circ", "circ" + x, this.getNextHighestDepth);
setProperty("circ" + x, _x, random(80));
t = int(random(60)+10);
cw = getProperty("circ" + x, _width);
ch = getProperty("circ" + x, _height);
setProperty("circ" + x, _width, cw / 100 * t);
setProperty("circ" + x, _height, ch / 100 * t);
setProperty("circ" + x, _alpha, random(30)+30);
setProperty("circ" + x, _rotation, random(360));
}
AnimationID = setInterval(this, "fall", 500);
|