Показать сообщение отдельно
Старый 23.02.2004, 03:53
Glook вне форума Посмотреть профиль Отправить личное сообщение для Glook Найти все сообщения от Glook
  № 1  
Glook

Регистрация: Aug 2003
Адрес: iNet
Сообщений: 47
Отправить сообщение для Glook с помощью ICQ
Question Рисование через скрипт

=======================
Pencil Drawing
Create 2 blank movie clips.
Place first movieclip with instance name "code" on layer 1. Create a guide layer for this layer & draw the shape you want draw at runtime(eg. a letter R); create a new layer above the guide layer. Place the second movieclip onto this layer at the top left corner(0,0) of the stage & enter the following code for this movieclip.
onClipEvent (load) {
x1 = _parent.code._x;// x & y co-ordinate for the movieclip
//code.
y1 = _parent.code._y;
this.moveTo(x1,y1);
this.lineStyle(3, 0xee3355, 100);// defines the outline
//thickness, color, &alpha
}
onClipEvent (enterFrame) {
this.lineTo(_parent.code._x, _parent.code._y);
}

=========================

Чего-то не получается у меня сделать так как написано в этом примере... Может чего напутал, посмотрите плиз.
Вложения
Тип файла: zip не получается.zip (408 байт, 70 просмотров)
__________________
I`ts good to be bad.