![]() |
|
||||||||||
|
|||||
|
Регистрация: Sep 2005
Сообщений: 30
|
Хмм. Для меня не сработало. У меня есть клип News. В нём код
n=15; for(i=0;i<n;i++){ this.ScrollableArea.attachMovie("massage","massage"+i,i); this.ScrollableArea["massage"+i]._x=0; this.ScrollableArea["massage"+i]._y=i*80+40; this.ScrollableArea["massage"+i].i=i; } Типо есть 15 новостей. создаётся 15 мовиков massage Код: this.createTextField("NewsText",my_mc.getNextHighestDepth(),20,20,100,100); this.NewsText.border = true; this.NewsText.multiline = true; this.NewsText.wordWrap = true; var my_fmt:TextFormat = new TextFormat(); my_fmt.color = 0x00FF00; my_fmt.underline = true; this.NewsText.text = "This is "+this.i+" news"; this.NewsText.setTextFormat(my_fmt); И так создаётся 15 квадратиков серых. Типо новости. Да вот не задача текста то не видно. При надобности могу в нет fla скинуть но хоть убейте не пойму что не так ![]() |
![]() |
Часовой пояс GMT +4, время: 19:54. |
|
|
« Предыдущая тема | Следующая тема » |
|
|