Joel,
Thanks, however that didn't work.
(sorry if I was not clear in my response on Ian's hint, because what
you wrote was exactly what I did)
Still no joy ...
Peter
Citeren Joel Stransky <stranskydes...@gmail.com>:
Target the TextArea's TextField
details_ta.textField.selectable = false;
On Fri, Mar 27, 2009 at 2:39 PM, <pe...@pepo.nl> wrote:
Ian,
thanks for replying. Unfortunately noop.
I use the htmlText property of the TextArea instance instead of the text
prioperty to display text (such as details_ta.htmlText = "<b>text
sample</b>"; and details_ta is an TextArea instance on the stage).
Could that something have to do with it?
Peter
Citeren Ian Thomas <i...@eirias.net>:
Try:
textArea.textField.selectable=false;
HTH,
Ian
On Fri, Mar 27, 2009 at 4:38 PM, <pe...@pepo.nl> 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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
--Joel Stransky
stranskydesign.com
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders