Target the TextArea's TextField details_ta.textField.selectable = false;
On Fri, Mar 27, 2009 at 2:39 PM, <[email protected]> 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 <[email protected]>: > > > 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 >> >> > > > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- --Joel Stransky stranskydesign.com _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

