Miles,

If I understand things correctly, you're using a component TextArea, so the
'.selectable' property isn't supported by that component - that would be for
a standard text class (static or dynamic text fields). Try using the
.editable property on the TextArea component, I think that'll accomplish
what you desire...

Hope this helps...

The Doktor
Skyymap Inc. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Miles
Thompson
Sent: Wednesday, November 02, 2005 3:48 PM
To: Flashcoders mailing list
Subject: [Flashcoders] txtNews.selectable = false NOT taking.

Dear All,

In my function AddStory, after assigning the content, this code, as I
understand it, should make it impossible to select text in the field.

        txtNews.selectable = false;
        txtNews.selectable = false;
        txtNews.redraw;

The txtNews.selectable = false has been repeated twice in the desperate hope
that smacking it once to get its attention, then telling it again what
should be done might work. (It didn't, but years ago in a Visual FoxPro app
there was some property we had to assign twice to get it to "stick".)

On the stage, the editable property for this field is also set to false.

The field was created by dragging the TextArea from the UI Components
section of the Components list. You know, the one with the built-in scroll
bar, responsive to mouse wheel, etc.

Suggestions will be most welcome and enthusiastically tried.

Regards - Miles Thompson


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to