Good point.
Taka Kojima wrote:
Yep, Anthony and I came up with the same solution, except I took it
one step further and wrote the code for it ;)
Note to also take the scrollbars width/height into account (using
textarea.verticalScrollBar/textArea.horizontalScrollBar), just so you
don't create another issue by solving this one
On Fri, Mar 27, 2009 at 2:34 PM, Anthony Pace <[email protected]> wrote:
I know its a bit hackish but it should work.
You could get the width and height of the text field, and overlay a
transparent shape that match the dimensions.
[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
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders