![]() |
|
||||||||||
|
|||||||
|
|
« Предыдущая тема | Следующая тема » |
| Опции темы | Опции просмотра |
|
![]() |
![]() |
|
|
|
|||||
|
Регистрация: Jul 2005
Сообщений: 8
|
Положил компонент Text Area, назвал его txt
В коде: this.txt.html = true; this.txt.htmlText = "Click the image to return home<a href=home.htm><img src=f.jpg></a>"; Запускаю и пустота... Никаких букв, никаких картинок В чем грабли???? |
|
|||||
|
Регистрация: Jul 2005
Сообщений: 8
|
Финиш полнейший! Ну ладно - фиг с ними, с тегами...
Пишу так: this.txt.html = true; this.txt.htmlText = "Click"; В textarea нет ничего! Пустота... Кто нибудь, помогите, плиз, заколебался уже. |
|
|||||
|
Регистрация: Jul 2005
Сообщений: 8
|
Ну что, что я не правильно делаю?
New... New flash document Кладу на документ компонент textarea Меняю его instance name на txt Выбираю слой и ввожу скрипт: this.txt.html = true; this.txt.htmlText = "Click"; trace(this.txt.htmlText); Запускаю Ctrl Enter открывается окно трассировки и там начинает повторяться слово Click а в текстовое поле пустое ;((( |
|
|||||
|
Ветеран форума
|
надо просто text= писать а не htmlText=
__________________
BestMasterиZация |
|
|||||
|
Ветеран форума
|
Цитата:
TextArea.html Availability Flash Player 6 (6.0 79.0). Edition Flash MX 2004. Usage textAreaInstance.html Description Property; a Boolean value that indicates whether the text field is formatted with HTML (true) or not (false). If the html property is true, the text field is an HTML text field. If html is false, the text field is a non-HTML text field. The default value is false. Example The following example makes the myTextArea field an HTML text field and then formats the text with HTML tags: myTextArea.html = true; myTextArea.text = "The <b>Royal</b> Nonesuch"; // displays "The Royal Nonesuch"
__________________
BestMasterиZация |
|
|||||
|
Ветеран форума
|
Хелп читать надо
__________________
BestMasterиZация |
![]() |
![]() |
Часовой пояс GMT +4, время: 18:18. |
|
|
« Предыдущая тема | Следующая тема » |
|
|