![]() |
|
||||||||||
|
|||||
|
"JlblCbll7l"
|
Вотс, лафите, звыняйтэ за миниган, в облом было рисофать!
2 2K WebStudio: выложи свой исходник, пусть сравнивают, если у тя проще - люди к тебе потянутся.
__________________
But the castle’s crumbled and you’re left with just a name Where’s your crown, king nothing? |
|
|||||
|
Я так понял, что ты это просил...
[code]Mouse.hide(); this.createEmptyMovieClip("mc", 1); with(this.mc){ beginFilll(0x000000,0); lineStyle(1,0x000000,100); lineTo(0,-150); endFill(); _y=Stage.height; _x=Stage.width/2; } this.onEnterFrame = function() { bc = _xmouse-275; ac = 400-_ymouse; tg = bc/ac; mc._rotation = (Math.atan(tg)*180)/Math.PI/1.2; }; [code] Вставь просто в первый кадр этот код! Вся фишка в onEnterFrame! Остальное просто рисование прямой... |
|
|||||
|
чё за попса...
Mouse.hide();
this.createEmptyMovieClip("mc", 1);
with(this.mc){
beginFilll(0x000000,0);
lineStyle(1,0x000000,100);
lineTo(0,-150);
endFill();
_y=Stage.height;
_x=Stage.width/2;
}
this.onEnterFrame = function() {
bc = _xmouse-275;
ac = 400-_ymouse;
tg = bc/ac;
mc._rotation = (Math.atan(tg)*180)/Math.PI/1.2;
};
|
![]() |
Часовой пояс GMT +4, время: 06:00. |
|
|
« Предыдущая тема | Следующая тема » |
|
|