Saturday, May 5, 2007

flash.text.TextField.pasteRichText()

Definition: internal function pasteRichText(richText:String):Boolean
richText in flashrichtext format.

This function is only used if TextField.useRichTextClipboard is true and the text to be pasted was copied from a field where useRichTextClipboard was true.

This funcation is called when the user pastes flashrichtext into a TextField and appears to simply be a proxy function for insertXMLText()

To override this function see How To.Hack the "internal" namespace

No comments:

"Flex", "ActionScript" and possibly "MXML" are probably trademarks of Adobe Systems Incorporated.
"Adobe" is a trademark of Adobe Systems Incorporated.
This site is in no way endorsed or sponsored by Adobe Systems Incorporated.
Content Copyright © 2007 Daniel Freiman.
Site Design Copyright by its copyright holder.
The Flex Non-Docs reserves the right to remove comments for any reason.
All ActionScript and MXML code (and ONLY ActionScript and MXML code) on this website is available under the MIT License.