PDA

Просмотр полной версии : как сделать динамически создаваемый текст не selectable?


pluvius
09.01.2004, 14:53
Странная вещь.

Создаю поле для него формат, в котором пишу:

mft = new TextFormat();

mft.Color=0x4C87BF;
mft.embedFonts=true;
mft.autoSize="true";
mft.type = "dynamic";

/* --> */ mft.selectable=false;

а оно selectable :((

В чем грабли?

schleicher
09.01.2004, 17:01
Свойство selectable относится не к текстформату,
а к текстфиелду.
из хелпа:
TextField .selectable
Availability
Flash Player 6.

Usage
my_txt.selectable

Description
Property; a Boolean value that indicates whether the text field is selectable (editable). The value true indicates that the text is selectable.

pluvius
09.01.2004, 17:47
тормоза мы тормоза!!! согласен :))
а может и устал просто :)