Saturday, May 5, 2007

flash.text.TextField.insertXMLText()

Definition: insertXMLText(beginIndex:int, endIndex:int, richText:String, pasting:Boolean=false):void

This function replaces the text between beginIndex and endIndex with richText. richText must be in flashrichtext format.

This function is implemented using setTextFormat(), setSelection(), and replaceText().

1 comment:

Anonymous said...
This comment has been removed by a blog administrator.
"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.