Try:
  textArea.textField.selectable=false;

HTH,
   Ian

On Fri, Mar 27, 2009 at 4:38 PM,  <[email protected]> wrote:
>
> I'll have to prevent users to copy text from a TextArea. In Flex I saw you
> do that bij setting a selectable attribute of the mx.controls.TextArea to
> false.
>
> However, this seems not possible with the fl.controls.TextArea, which is
> used in Flash CS4 / AS3.
>
> Does someone has a tip or hint.
> Thanks.
>
> PS. setting editable of the TextArea to false doesn't help, and setting the
> enabled attribute of the TextArea to false gives a disabled look and is not
> the intention.
>
> Peter van der Post
>
>
>
> _______________________________________________
> 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