﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0014)about:internet -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="book" content="ActionScript&nbsp;3.0&nbsp;Language&nbsp;and&nbsp;Components&nbsp;Reference"><link rel="stylesheet" href="../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../override.css" type="text/css"><meta name="keywords" content="TextBlock,flash.text.engine.TextBlock,ALL,ALL_BUT_LAST,ALL_INCLUDING_LAST,ANY,ASCENT,AUTO,AUTO,AUTO,BOLD,CAPS,CAPS_AND_SMALL_CAPS,CENTER,CFF,COMMON,COMPLETE,DECIMAL,DEFAULT,DEFAULT,DEFAULT,DESCENT,DEVICE,EMBEDDED_CFF,EMERGENCY,END,EXOTIC,GRAPHIC_ELEMENT,HORIZONTAL_STEM,IDEOGRAPHIC_BOTTOM,IDEOGRAPHIC_CENTER,IDEOGRAPHIC_TOP,INSUFFICIENT_WIDTH,INVALID,ITALIC,LINING,LOWERCASE,MAX_LINE_WIDTH,MINIMUM,NONE,NONE,NONE,NORMAL,NORMAL,NORMAL,OFF,OLD_STYLE,ON,POSSIBLY_INVALID,PRIORITIZE_LEAST_ADJUSTMENT,PROPORTIONAL,PUSH_IN_KINSOKU,PUSH_OUT_ONLY,ROMAN,ROTATE_0,ROTATE_180,ROTATE_270,ROTATE_90,SMALL_CAPS,START,STATIC,SUCCESS,TABULAR,TITLE,UNCOMMON,UNJUSTIFIED,UPPERCASE,USE_DOMINANT_BASELINE,VALID,alignmentBaseline,alignment,alpha,applyNonLinearFontScaling,ascent,atomCount,baselineFontDescription,baselineFontSize,baselineShift,baselineZero,bidiLevel,bounds,breakOpportunity,cffHinting,color,content,decimalAlignmentToken,descent,digitCase,digitWidth,dominantBaseline,elementCount,elementFormat,elementHeight,element,elementWidth,emBox,eventMirror,firstInvalidLine,firstLine,fontDescription,fontLookup,fontName,fontPosture,fontSize,fontWeight,graphic,groupElement,hasGraphicElement,justificationStyle,kerning,lastLine,letterSpacing,ligatureLevel,lineJustification,lineRotation,locale,locale,locked,locked,mirrorRegions,mirror,nextLine,nextRegion,position,previousLine,previousRegion,rawText,rawTextLength,renderingMode,specifiedWidth,strikethroughOffset,strikethroughThickness,subscriptOffset,subscriptScale,superscriptOffset,superscriptScale,tabStops,text,textBlockBeginIndex,textBlockBeginIndex,textBlock,textBlock,textHeight,textJustifier,textLineCreationResult,textLine,text,textRotation,textRotation,textWidth,trackingLeft,trackingRight,typographicCase,underlineOffset,underlineThickness,unjustifiedTextWidth,userData,userData,userData,validity,clone,clone,clone,clone,clone,createTextLine,dump,dump,findNextAtomBoundary,findNextWordBoundary,findPreviousAtomBoundary,findPreviousWordBoundary,flushAtomData,getAtomBidiLevel,getAtomBounds,getAtomCenter,getAtomGraphic,getAtomIndexAtCharIndex,getAtomIndexAtPoint,getAtomTextBlockBeginIndex,getAtomTextBlockEndIndex,getAtomTextRotation,getAtomWordBoundaryOnLeft,getBaselinePosition,getElementAtCharIndex,getElementAt,getElementIndex,getFontMetrics,getJustifierForLocale,getMirrorRegion,getTextLineAtCharIndex,groupElements,isFontCompatible,mergeTextElements,releaseLines,replaceElements,replaceText,setElements,splitTextElement,ungroupElements"><title>flash.text.engine.TextBlock (ActionScript 3.0)</title><script src="../../../AC_OETags.js" type="text/javascript"></script></head><body><script language="javascript" type="text/javascript" src="../../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../../help.js"></script><script language="javascript" type="text/javascript" src="../../../cookies.js"></script><script language="javascript" type="text/javascript">  
            <!--  
			    
				asdocTitle = 'TextBlock - ActionScript 3.0 Language and Components Reference';

				var baseRef = '../../../';

				window.onload = configPage;
			      
			    -->  
            </script>
<script language="javascript" type="text/javascript"><!--
function submitValue(){
var searchStr=document.getElementById('search-livedocs').value;
window.location="../../../search.html"+"###"+searchStr;
}
--></script><script type="text/javascript">
		scrollToNameAnchor();
	</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">ActionScript 3.0 Language and Components Reference</td><td class="titleTableSearch" align="center"><form class="searchForm" method="get" action="../../../search.html" onsubmit="submitValue();"><input class="hidden" name="loc" value="" type="hidden"><input class="hidden" name="termPrefix" value="" type="hidden"><input class="hidden" name="term" value="" type="hidden"><input class="hidden" name="area" value="" type="hidden"><input id="search-livedocs" name="search_text" value="" title="" type="text"> <input type="button" name="action" value="Search" onclick="submitValue()"></form></td><td class="titleTableTopNav" align="right"><a href="../../../../../Flash/10.0_Welcome/index.html">Home</a>&nbsp;|&nbsp;<a href="../../../package-summary.html" onclick="loadClassListFrame('../../../all-classes.html')">All Packages</a>&nbsp;|&nbsp;<a href="../../../class-summary.html" onclick="loadClassListFrame('../../../all-classes.html')">All Classes</a>&nbsp;|&nbsp;<a href="../../../language-elements.html">Language Elements</a>&nbsp;| <a href="../../../all-index-Symbols.html" onclick="loadClassListFrame('../../../index-list.html')">Index</a>&nbsp;|&nbsp;<a href="../../../appendixes.html">Appendixes</a>&nbsp;|&nbsp;<a href="../../../conventions.html">Conventions</a>&nbsp;|&nbsp;<a id="framesLink1" href="../../../index.html?flash/text/engine/TextBlock.html&amp;flash/text/engine/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../../images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">TextBlock</td><td class="titleTableSubNav" id="subNav" align="right" colspan="2"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a>&nbsp;| <a href="#styleSummary">Styles</a>&nbsp;| <a href="#effectSummary">Effects</a>&nbsp;| <a href="#constantSummary">Constants</a>&nbsp;| <a href="#includeExamplesSummary">Examples</a></td></tr><tr class="titleTableRow3"><td colspan="3">&nbsp;</td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
                
                    
                

				<!--

				
				    
				

					if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("TextBlock"); titleBar_setSubNav(false,true,false	,false,false,false,true,true,false	,false,false,false,false,false);}

				    
				        
				    
				-->
                
                    
                
			</script><div class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">flash.text.engine</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public final   class  TextBlock</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">TextBlock  <img src="../../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../../Object.html">Object</a></td></tr></table><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p></p>
        The TextBlock class is a factory for the creation of TextLine objects, which you can 
 render by placing them on the display list.
        <p>The TextBlock class is intended to contain a single paragraph because the Unicode 
 bidirectional and line-break algorithms operate on one paragraph at a time. For applications 
 that compose multiple paragraphs of text, use a markup language, or text analysis to 
 divide the text into paragraphs and create one TextBlock per paragraph.</p>
        
               <p>
          The TextBlock object stores its content in the
          <code>content</code>
          property, which is an
 instance of the ContentElement class.  Because you can't create an instance of the ContentElement
 class, set
          <code>content</code>
          to an instance of one of its subclasses: TextElement,
 GraphicElement, or GroupElement. Use TextElement for purely text content, GraphicElement for
 an image or graphic content, and GroupElement for content that contains a combination of TextElement,  
 GraphicElement, and other GroupElement objects. See the ContentElement class and
 its subclasses for details on managing formatted runs of text, embedded sub runs, and graphic elements.
        </p>
        
               <p>
          After you create the TextBlock instance and set the
          <code>content</code>
          property, call the
          <code>createTextLine()</code>
          method to create lines of text, which are instances of the
          <code>TextLine</code>
          class.
        </p>
        
            <p></p><p><a href="#includeExamplesSummary">View the examples</a></p><p><span class="classHeaderTableLabel">See also</span></p><div class="seeAlso"><a href="ContentElement.html" target="">ContentElement</a><br/><a href="GraphicElement.html" target="">GraphicElement</a><br/><a href="GroupElement.html" target="">GroupElement</a><br/><a href="TextBaseline.html" target="">TextBaseline</a><br/><a href="TextElement.html" target="">TextElement</a><br/><a href="TextJustifier.html" target="">TextJustifier</a><br/><a href="TextLine.html" target="">TextLine</a><br/><a href="TextRotation.html" target="">TextRotation</a><br/><a href="TabStop.html" target="">TabStop</a></div><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><div class="showHideLinks"><div id="hideInheritedProperty" class="hideInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(false,'Property');"><img class="showHideLinkImage" src="../../../images/expanded.gif"> Hide Inherited Public Properties</a></div><div id="showInheritedProperty" class="showInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(true,'Property');"><img class="showHideLinkImage" src="../../../images/collapsed.gif"> Show Inherited Public Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th>&nbsp;</th><th colspan="2">Property</th><th>Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#applyNonLinearFontScaling" class="signatureLink">applyNonLinearFontScaling</a> : <a href="../../../Boolean.html">Boolean</a><div class="summaryTableDescription">Specifies that you want to enhance screen appearance at the expense of what-you-see-is-what-you-get (WYSIWYG) print fidelity.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#baselineFontDescription" class="signatureLink">baselineFontDescription</a> : <a href="../../../flash/text/engine/FontDescription.html">FontDescription</a><div class="summaryTableDescription">The font used to determine the baselines for all the lines created from the block, independent of their content.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#baselineFontSize" class="signatureLink">baselineFontSize</a> : <a href="../../../Number.html">Number</a><div class="summaryTableDescription">The font size used to calculate the baselines for the lines created from the block.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#baselineZero" class="signatureLink">baselineZero</a> : <a href="../../../String.html">String</a><div class="summaryTableDescription">Specifies which baseline is at y=0 for lines created from this block.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#bidiLevel" class="signatureLink">bidiLevel</a> : <a href="../../../int.html">int</a><div class="summaryTableDescription">Specifies the default bidirectional embedding level of the text in the text block.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../Object.html#constructor" class="signatureLink">constructor</a> : <a href="../../../Object.html">Object</a><div class="summaryTableDescription">A reference to the class object or constructor function for a given object instance.</div></td><td class="summaryTableOwnerCol"><a href="../../../Object.html">Object</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#content" class="signatureLink">content</a> : <a href="../../../flash/text/engine/ContentElement.html">ContentElement</a><div class="summaryTableDescription">Holds the contents of the text block.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#firstInvalidLine" class="signatureLink">firstInvalidLine</a> : <a href="../../../flash/text/engine/TextLine.html">TextLine</a><div class="summaryTableDescription">[read-only] Identifies the first line in the text block in which TextLine.validity is not equal to 
  TextLineValidity.VALID.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#firstLine" class="signatureLink">firstLine</a> : <a href="../../../flash/text/engine/TextLine.html">TextLine</a><div class="summaryTableDescription">[read-only] The first TextLine in the TextBlock, if any.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#lastLine" class="signatureLink">lastLine</a> : <a href="../../../flash/text/engine/TextLine.html">TextLine</a><div class="summaryTableDescription">[read-only] The last TextLine in the TextBlock, if any.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#lineRotation" class="signatureLink">lineRotation</a> : <a href="../../../String.html">String</a><div class="summaryTableDescription">Rotates the text lines in the text block as a unit.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../Object.html#prototype" class="signatureLink">prototype</a> : <a href="../../../Object.html">Object</a><div class="summaryTableDescription">[static] A reference to the prototype object of a class or function object.</div></td><td class="summaryTableOwnerCol"><a href="../../../Object.html">Object</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#tabStops" class="signatureLink">tabStops</a> : <a href="../../../Vector.html">Vector</a>.&lt;<a href="../../../flash/text/engine/TabStop.html">TabStop</a>&gt;<div class="summaryTableDescription">Specifies the tab stops for the text in the text block, 
  in the form of a Vector of TabStop objects.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#textJustifier" class="signatureLink">textJustifier</a> : <a href="../../../flash/text/engine/TextJustifier.html">TextJustifier</a><div class="summaryTableDescription">Specifies the TextJustifier to use during line creation.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#textLineCreationResult" class="signatureLink">textLineCreationResult</a> : <a href="../../../String.html">String</a><div class="summaryTableDescription">[read-only] Indicates the result of a createTextLine() operation.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#userData" class="signatureLink">userData</a> : <a href="../../../specialTypes.html#*">*</a><div class="summaryTableDescription">Provides a way for the author to associate arbitrary data with the text block.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><div class="showHideLinks"><div id="hideInheritedMethod" class="hideInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(false,'Method');"><img class="showHideLinkImage" src="../../../images/expanded.gif"> Hide Inherited Public Methods</a></div><div id="showInheritedMethod" class="showInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(true,'Method');"><img class="showHideLinkImage" src="../../../images/collapsed.gif"> Show Inherited Public Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th>&nbsp;</th><th colspan="2">Method</th><th>Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#TextBlock()" class="signatureLink">TextBlock</a>(content:<a href="../../../flash/text/engine/ContentElement.html">ContentElement</a> = null, tabStops:<a href="../../../Vector.html">Vector</a>.&lt;<a href="../../../flash/text/engine/TabStop.html">TabStop</a>&gt; = null, textJustifier:<a href="../../../flash/text/engine/TextJustifier.html">TextJustifier</a> = null, lineRotation:<a href="../../../String.html">String</a> = "rotate0", baselineZero:<a href="../../../String.html">String</a> = "roman", bidiLevel:<a href="../../../int.html">int</a> = 0, applyNonLinearFontScaling:<a href="../../../Boolean.html">Boolean</a> = true, baselineFontDescription:<a href="../../../flash/text/engine/FontDescription.html">FontDescription</a> = null, baselineFontSize:<a href="../../../Number.html">Number</a> = 12.0)</div><div class="summaryTableDescription">Creates a TextBlock object</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#createTextLine()" class="signatureLink">createTextLine</a>(previousLine:<a href="../../../flash/text/engine/TextLine.html">TextLine</a> = null, width:<a href="../../../Number.html">Number</a> = 1000000, lineOffset:<a href="../../../Number.html">Number</a> = 0.0, fitSomething:<a href="../../../Boolean.html">Boolean</a> = false):<a href="../../../flash/text/engine/TextLine.html">TextLine</a></div><div class="summaryTableDescription">Instructs the text block to create a line of text from its content, beginning at the point 
  specified by the previousLine parameter and breaking at the point specified by the
  width parameter.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#dump()" class="signatureLink">dump</a>():<a href="../../../String.html">String</a></div><div class="summaryTableDescription">Dumps the underlying contents of the TextBlock as an XML string.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#findNextAtomBoundary()" class="signatureLink">findNextAtomBoundary</a>(afterCharIndex:<a href="../../../int.html">int</a>):<a href="../../../int.html">int</a></div><div class="summaryTableDescription">Finds the index of the next Atom boundary from the specified character index, not including the character at the specified index.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#findNextWordBoundary()" class="signatureLink">findNextWordBoundary</a>(afterCharIndex:<a href="../../../int.html">int</a>):<a href="../../../int.html">int</a></div><div class="summaryTableDescription">Finds the index of the next word boundary from the specified character index, not including the character at the specified index.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#findPreviousAtomBoundary()" class="signatureLink">findPreviousAtomBoundary</a>(beforeCharIndex:<a href="../../../int.html">int</a>):<a href="../../../int.html">int</a></div><div class="summaryTableDescription">Finds the index of the previous atom boundary to the specified character index, not including the character at the specified index.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#findPreviousWordBoundary()" class="signatureLink">findPreviousWordBoundary</a>(beforeCharIndex:<a href="../../../int.html">int</a>):<a href="../../../int.html">int</a></div><div class="summaryTableDescription">Finds the index of the previous word boundary to the specified character index, not including the character at the specified index.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#getTextLineAtCharIndex()" class="signatureLink">getTextLineAtCharIndex</a>(charIndex:<a href="../../../int.html">int</a>):<a href="../../../flash/text/engine/TextLine.html">TextLine</a></div><div class="summaryTableDescription">Returns the TextLine containing the character specified by the charIndex parameter.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../Object.html#hasOwnProperty()" class="signatureLink">hasOwnProperty</a>(name:<a href="../../../String.html">String</a>):<a href="../../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether an object has a specified property defined.</div></td><td class="summaryTableOwnerCol"><a href="../../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../Object.html#isPrototypeOf()" class="signatureLink">isPrototypeOf</a>(theClass:<a href="../../../Object.html">Object</a>):<a href="../../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether an instance of the Object class is in the prototype chain of the object specified 
  as the parameter.</div></td><td class="summaryTableOwnerCol"><a href="../../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../Object.html#propertyIsEnumerable()" class="signatureLink">propertyIsEnumerable</a>(name:<a href="../../../String.html">String</a>):<a href="../../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether the specified property exists and is enumerable.</div></td><td class="summaryTableOwnerCol"><a href="../../../Object.html">Object</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#releaseLines()" class="signatureLink">releaseLines</a>(firstLine:<a href="../../../flash/text/engine/TextLine.html">TextLine</a>, lastLine:<a href="../../../flash/text/engine/TextLine.html">TextLine</a>):<a href="../../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Removes a range of text lines from the list of lines maintained by the TextBlock.</div></td><td class="summaryTableOwnerCol">TextBlock</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../Object.html#setPropertyIsEnumerable()" class="signatureLink">setPropertyIsEnumerable</a>(name:<a href="../../../String.html">String</a>, isEnum:<a href="../../../Boolean.html">Boolean</a> = true):<a href="../../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Sets the availability of a dynamic property for loop operations.</div></td><td class="summaryTableOwnerCol"><a href="../../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../Object.html#toString()" class="signatureLink">toString</a>():<a href="../../../String.html">String</a></div><div class="summaryTableDescription">Returns the string representation of the specified object.</div></td><td class="summaryTableOwnerCol"><a href="../../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../Object.html#valueOf()" class="signatureLink">valueOf</a>():<a href="../../../Object.html">Object</a></div><div class="summaryTableDescription">Returns the primitive value of the specified object.</div></td><td class="summaryTableOwnerCol"><a href="../../../Object.html">Object</a></td></tr></table></div><script language="javascript" type="text/javascript"><!--
                      showHideInherited();
                      --></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="applyNonLinearFontScaling"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">applyNonLinearFontScaling</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>applyNonLinearFontScaling:<a href="../../../Boolean.html">Boolean</a></code>&nbsp;&nbsp;[read-write] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Specifies that you want to enhance screen appearance at the expense of what-you-see-is-what-you-get (WYSIWYG) print fidelity.
  For platforms and fonts that support non linear scaling, setting this property to
          <code>true</code>
          enables the use of those metrics at some cost to
  WYSIWYG print fidelity, particularly for small point sizes.
          <p>
            The default value is
            <code>true</code>
            .
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get applyNonLinearFontScaling():<a href="../../../Boolean.html">Boolean</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set applyNonLinearFontScaling(value:<a href="../../../Boolean.html">Boolean</a>):<a href="../../../specialTypes.html#void">void</a></code><br/></div><a name="propertyDetail"></a><a name="baselineFontDescription"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">baselineFontDescription</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>baselineFontDescription:<a href="../../../flash/text/engine/FontDescription.html">FontDescription</a></code>&nbsp;&nbsp;[read-write] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          The font used to determine the baselines for all the lines created from the block, independent of their content.  Baselines depend on font and font size.
          <p>
            The default value is
            <code>null</code>
            .  When the baseline font is
            <code>null</code>
            , the baseline font size is ignored and 
  the baseline for any given line is based on the font and size of the largest text in the line.  When you specify both
            <code>baselineFontDescription</code>
            and
            <code>baselineFontSize</code>
            , they determine the baselines for all the lines 
  in the text block, independent of their content. This combination is most often useful in Asian typography.
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get baselineFontDescription():<a href="../../../flash/text/engine/FontDescription.html">FontDescription</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set baselineFontDescription(value:<a href="../../../flash/text/engine/FontDescription.html">FontDescription</a>):<a href="../../../specialTypes.html#void">void</a></code><br/><p><span class="label">See also</span></p><div class="seeAlso"><a href="TextBlock.html#baselineFontSize" target="">baselineFontSize</a><br/><a href="FontDescription.html" target="">FontDescription</a></div></div><a name="propertyDetail"></a><a name="baselineFontSize"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">baselineFontSize</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>baselineFontSize:<a href="../../../Number.html">Number</a></code>&nbsp;&nbsp;[read-write] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          The font size used to calculate the baselines for the lines created from the block.  Baselines depend on font and font size.
          <p>
            The default value is
            <code>12</code>
            .  When the baseline font is
            <code>null</code>
            , the baseline font size is ignored and 
  the baseline for any given line is based on the font and size of the largest text in the line.
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get baselineFontSize():<a href="../../../Number.html">Number</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set baselineFontSize(value:<a href="../../../Number.html">Number</a>):<a href="../../../specialTypes.html#void">void</a></code><br/><br/><span class="label"> Throws </span><br/><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              The
              <code>baselineFontSize</code>
              specified is less than 0.
            </td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="TextBlock.html#baselineFontDescription" target="">baselineFontDescription</a><br/><a href="FontDescription.html" target="">FontDescription</a></div></div><a name="propertyDetail"></a><a name="baselineZero"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">baselineZero</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>baselineZero:<a href="../../../String.html">String</a></code>&nbsp;&nbsp;[read-write] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Specifies which baseline is at y=0 for lines created from this block.
  Valid values for this property are found in the members of the
          <code>TextBaseline</code>
          class.
          <p>
            The default value is
            <code>TextBaseline.ROMAN</code>
            .
          </p>
          
          <p>To set values for this property, use the following string values:</p>
          
          <table class="innertable" ><tr><th>String value</th><th>Description</th></tr><tr><td>
                    <code>TextBaseline.ROMAN</code>
                  </td><td>The roman baseline of the lines is at y=0.</td></tr><tr><td>
                    <code>TextBaseline.ASCENT</code>
                  </td><td>The ascent baseline of the lines is at y=0.</td></tr><tr><td>
                    <code>TextBaseline.DESCENT</code>
                  </td><td>The descent baseline of the lines is at y=0.</td></tr><tr><td>
                    <code>TextBaseline.IDEOGRAPHIC_TOP</code>
                  </td><td>The ideographic top baseline of the lines is at y=0.</td></tr><tr><td>
                    <code>TextBaseline.IDEOGRAPHIC_CENTER</code>
                  </td><td>The ideographic center baseline of the lines is at y=0.</td></tr><tr><td>
                    <code>TextBaseline.IDEOGRAPHIC_BOTTOM</code>
                  </td><td>The ideographic bottom baseline of the lines is at y=0.</td></tr></table>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get baselineZero():<a href="../../../String.html">String</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set baselineZero(value:<a href="../../../String.html">String</a>):<a href="../../../specialTypes.html#void">void</a></code><br/><br/><span class="label"> Throws </span><br/><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              If set to any value which is not a member of
              <code>TextBaseline</code>
              .
            </td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="TextBaseline.html" target="">TextBaseline</a></div></div><a name="propertyDetail"></a><a name="bidiLevel"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">bidiLevel</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>bidiLevel:<a href="../../../int.html">int</a></code>&nbsp;&nbsp;[read-write] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Specifies the default bidirectional embedding level of the text in the text block.
  An even value means left-to-right and an odd value means right-to-left.  You can increment
          <code>bidiLevel</code>
          to  
  indicate the number of levels by which particular text is embedded with respect to left-to-right 
  and right-to-left.
          <p>The default value is 0.</p>
          
          <p>
            Modifying
            <code>bidiLevel</code>
            changes the validity of all previously broken lines to TextLineValidity.INVALID. After 
  changing
            <code>bidiLevel</code>
            , the
            <code>firstInvalidLine</code>
            property equals the
            <code>firstLine</code>
            property, and you must 
  rebreak all the lines in the TextBlock.
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get bidiLevel():<a href="../../../int.html">int</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set bidiLevel(value:<a href="../../../int.html">int</a>):<a href="../../../specialTypes.html#void">void</a></code><br/><br/><span class="label"> Throws </span><br/><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; If set to a value which is less than 0.</td></tr></table><br/><span class="label"> Example </span><br/><div class="detailBody">
          This example shows the same text string (logical order: a, b, c, alef, bet, gimel)
 rendered first with
          <code>bidiLevel</code>
          even and second with
          <code>bidiLevel</code>
          odd.
          <div class="listing"><pre>package {
    
    import flash.display.Sprite;
    import flash.text.engine.TextBlock;
    import flash.text.engine.TextElement;
    import flash.text.engine.TextLine;
    import flash.text.engine.ElementFormat;
    import flash.text.engine.FontDescription;
    
    public class TextBlock_bidiLevelExample extends Sprite {
        
        public function TextBlock_bidiLevelExample():void {             
            var fontSize:Number = 36;

            var format:ElementFormat = new ElementFormat();        
            format.fontDescription = new FontDescription("Adobe Hebrew");
            format.fontSize = fontSize;
            var y:Number = 0;
            var leading:Number = fontSize * 0.2;
            var text:String = "abc" + String.fromCharCode(0x05D0, 0x05D1, 0x05D2);

            var textBlock:TextBlock = new TextBlock();
            textBlock.content = new TextElement(text, format);
                        
            // bidiLevel even
            textBlock.bidiLevel = 0;
            var textLine = textBlock.createTextLine(null, 400);
            y += leading + textLine.ascent;
            textLine.y = y;
            y += textLine.descent;
            addChild(textLine);      
            
            // bidiLevel odd
            textBlock.content = new TextElement(text, format);
            textBlock.bidiLevel = 1;
            textLine = textBlock.createTextLine(null, 400);
            y += leading + textLine.ascent;          
            textLine.y = y;
            addChild(textLine);   
        }
    }
}</pre></div>
        </div></div><a name="propertyDetail"></a><a name="content"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">content</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>content:<a href="../../../flash/text/engine/ContentElement.html">ContentElement</a></code>&nbsp;&nbsp;[read-write] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Holds the contents of the text block. Because ContentElement is a base class, assign
          <code>content</code>
          an instance of a ContentElement subclass: TextElement, GraphicElement, or GroupElement. A TextElement object 
  contains a String, a GraphicElement object contains a DisplayObject, and a GroupElement contains a Vector object that 
  contains one or more TextElement, GraphicElement, or other GroupElement objects. Use a TextElement for a 
  paragraph of homogenous text, a GraphicElement for a graphic, and a GroupElement for a combination of text and graphic 
  elements or multiples instances of these elements, as well as other GroupElement objects.
          <p>
            The default value is
            <code>null</code>
            .
          </p>
          
          <p>
            Modifying the
            <code>content</code>
            property changes the validity of all previously created lines to
            <code>TextLineValidity.INVALID</code>
            . After changing
            <code>content</code>
            , the
            <code>firstInvalidLine</code>
            property  
  equals the
            <code>firstLine</code>
            property and you must rebreak all lines in the TextBlock.
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get content():<a href="../../../flash/text/engine/ContentElement.html">ContentElement</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set content(value:<a href="../../../flash/text/engine/ContentElement.html">ContentElement</a>):<a href="../../../specialTypes.html#void">void</a></code><br/><br/><span class="label"> Throws </span><br/><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              If set to a value which is not a known subclass of
              <code>ContentElement</code>
              .
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              The
              <code>value</code>
              specified is already a member of a group.
            </td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="ContentElement.html" target="">ContentElement</a><br/><a href="GraphicElement.html" target="">GraphicElement</a><br/><a href="GroupElement.html" target="">GroupElement</a><br/><a href="TextElement.html" target="">TextElement</a></div></div><a name="propertyDetail"></a><a name="firstInvalidLine"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">firstInvalidLine</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>firstInvalidLine:<a href="../../../flash/text/engine/TextLine.html">TextLine</a></code>&nbsp;&nbsp;[read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Identifies the first line in the text block in which
          <code>TextLine.validity</code>
          is not equal to
          <code>TextLineValidity.VALID</code>
          .
          <p>
            The default value is
            <code>null</code>
            .
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get firstInvalidLine():<a href="../../../flash/text/engine/TextLine.html">TextLine</a></code><br/><p><span class="label">See also</span></p><div class="seeAlso"><a href="TextLine.html#validity" target="">TextLine.validity</a><br/><a href="TextLineValidity.html" target="">TextLineValidity</a></div></div><a name="propertyDetail"></a><a name="firstLine"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">firstLine</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>firstLine:<a href="../../../flash/text/engine/TextLine.html">TextLine</a></code>&nbsp;&nbsp;[read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          The first TextLine in the TextBlock, if any.
          <p>
            The default value is
            <code>null</code>
            .
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get firstLine():<a href="../../../flash/text/engine/TextLine.html">TextLine</a></code><br/><p><span class="label">See also</span></p><div class="seeAlso"><a href="TextLine.html" target="">TextLine</a></div></div><a name="propertyDetail"></a><a name="lastLine"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">lastLine</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>lastLine:<a href="../../../flash/text/engine/TextLine.html">TextLine</a></code>&nbsp;&nbsp;[read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          The last TextLine in the TextBlock, if any.
          <p>
            The default value is
            <code>null</code>
            .
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get lastLine():<a href="../../../flash/text/engine/TextLine.html">TextLine</a></code><br/><p><span class="label">See also</span></p><div class="seeAlso"><a href="TextLine.html" target="">TextLine</a></div></div><a name="propertyDetail"></a><a name="lineRotation"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">lineRotation</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>lineRotation:<a href="../../../String.html">String</a></code>&nbsp;&nbsp;[read-write] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Rotates the text lines in the text block as a unit. Call the
          <code>createTextLine()</code>
          method
          <i>after</i>
          setting
          <code>lineRotation</code>
          for it to take effect. The default value is
          <code>TextRotation.ROTATE_0</code>
          .
          <p>
            The final rotation of any glyph depends on the values of
            <code>ElementFormat.textRotation</code>
            ,
            <code>ContentElement.textRotation</code>
            , and
            <code>TextBlock.lineRotation</code>
            .
          </p>
          
          <p>
            <code>TextBlock.lineRotation</code>
            is typically used for Asian text.
     To create a paragraph of vertical Japanese text, do the following:
          </p>
          
          <ol><li>
              Set the
              <code>TextBlock.lineRotation</code>
              property to
              <code>TextRotation.ROTATE_90</code>
              .
            </li><li>
              Leave the
              <code>ElementFormat.textRotation</code>
              property of the content as the default,
              <code>TextRotation.AUTO</code>
              .
            </li></ol>
          
          <p>
            Use the following constants, which are defined in the
            <code>TextRotation</code>
            class, to set the 
  value for this property:
          </p>
          
          <table class="innertable" ><tr><th>String value</th><th>Description</th></tr><tr><td>
                    <code>TextRotation.ROTATE_0</code>
                  </td><td>Lines are not rotated.</td></tr><tr><td>
                    <code>TextRotation.ROTATE_90</code>
                  </td><td>Lines are rotated 90 degrees clockwise.</td></tr><tr><td>
                    <code>TextRotation.ROTATE_180</code>
                  </td><td>Lines are rotated 180 degrees.</td></tr><tr><td>
                    <code>TextRotation.ROTATE_270</code>
                  </td><td>Lines are rotated 270 degrees clockwise.</td></tr><tr><td>
                    <code>TextRotation.AUTO</code>
                  </td><td>Not supported.</td></tr></table>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get lineRotation():<a href="../../../String.html">String</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set lineRotation(value:<a href="../../../String.html">String</a>):<a href="../../../specialTypes.html#void">void</a></code><br/><br/><span class="label"> Throws </span><br/><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              If set to any value which is not a member of
              <code>TextRotation</code>
              .
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              If set to
              <code>TextRotation.AUTO</code>
              .
            </td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="ContentElement.html#textRotation" target="">ContentElement.textRotation</a><br/><a href="ElementFormat.html#textRotation" target="">ElementFormat.textRotation</a><br/><a href="TextLine.html" target="">TextLine</a><br/><a href="TextRotation.html" target="">TextRotation</a></div><br/><span class="label"> Example </span><br/><div class="detailBody">
          This example adds Japanese text to a TextBlock and sets the
          <code>lineRotation</code>
          property to TextRotation.ROTATE_90 to display the line 
 vertically.
          <div class="listing"><pre>package {
    import flash.display.Sprite;
    import flash.text.engine.FontDescription;
    import flash.text.engine.TextBlock;
    import flash.text.engine.TextElement;
    import flash.text.engine.TextLine;
    import flash.text.engine.TextRotation;
    import flash.text.engine.ElementFormat;
    
    public class TextBlock_lineRotationExample extends Sprite {
        
        public function TextBlock_lineRotationExample():void {
            var Japanese:String = String.fromCharCode(
                0x5185, 0x95A3, 0x5E9C, 0x304C, 0x300C, 0x653F, 0x5E9C, 0x30A4,
                0x30F3, 0x30BF, 0x30FC, 0x30CD, 0x30C3, 0x30C8, 0x30C6, 0x30EC, 
                0x30D3, 0x300D, 0x306E, 0x52D5, 0x753B, 0x914D, 0x4FE1, 0x5411, 
                0x3051, 0x306B, 0x30A2, 0x30C9, 0x30D3, 0x30B7, 0x30B9, 0x30C6, 
                0x30E0, 0x30BA, 0x793E, 0x306E
            ) +
            "FMS 2" +
            String.fromCharCode(0x3092, 0x63A1, 0x7528, 0x3059, 0x308B, 0x3068, 
                0x767a, 0x8868, 0x3057, 0x307e, 0x3057, 0x305F, 0x3002);

            var fontDescription:FontDescription = new FontDescription("MS Mincho");
            var format:ElementFormat = new ElementFormat();
            format.fontSize = 15;
            format.fontDescription = fontDescription;
                        
            var textElement:TextElement = new TextElement(Japanese, format); 
            var textBlock:TextBlock = new TextBlock();
            textBlock.content = textElement;
            textBlock.lineRotation = TextRotation.ROTATE_90;

            var linePosition:Number = this.stage.stageWidth - 120;
            var previousLine:TextLine = null;
        
            while (true) {
                var textLine:TextLine = textBlock.createTextLine(
                    previousLine, 
                    300);
                if (textLine == null) 
                    break;
                textLine.y = 30;    
                textLine.x = linePosition;
                linePosition -= 24;
                addChild(textLine);                
                previousLine = textLine;
            }        
        }
    }
}</pre></div>
        </div></div><a name="propertyDetail"></a><a name="tabStops"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">tabStops</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>tabStops:<a href="../../../Vector.html">Vector</a>.&lt;<a href="../../../flash/text/engine/TabStop.html">TabStop</a>&gt;</code>&nbsp;&nbsp;[read-write] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Specifies the tab stops for the text in the text block, 
  in the form of a Vector of
          <code>TabStop</code>
          objects.
          <p>
            The default value is
            <code>null</code>
            , which means no tab stops are enabled. When no tab stops are set, the tab character (\t)
  causes a new line.
          </p>
          
          <p>
            When the
            <code>tabStops</code>
            property is set, the TextBlock makes a copy of the Vector for internal use.  
  Modifying the original Vector or its contents does not affect the TextBlock.  When the
            <code>tabStops</code>
            property is queried, a copy 
  of the internal Vector is returned.  Again, modifying this returned vector or its contents does not affect the TextBlock.
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get tabStops():<a href="../../../Vector.html">Vector</a>.&lt;<a href="../../../flash/text/engine/TabStop.html">TabStop</a>&gt;</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set tabStops(value:<a href="../../../Vector.html">Vector</a>.&lt;<a href="../../../flash/text/engine/TabStop.html">TabStop</a>&gt;):<a href="../../../specialTypes.html#void">void</a></code><br/><br/><span class="label"> Throws </span><br/><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              The
              <code>tabStops</code>
              specified contain
              <code>null</code>
              elements.
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              The
              <code>tabStops</code>
              specified are not sorted by increasing position.
            </td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="TabStop.html" target="">TabStop</a></div></div><a name="propertyDetail"></a><a name="textJustifier"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">textJustifier</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>textJustifier:<a href="../../../flash/text/engine/TextJustifier.html">TextJustifier</a></code>&nbsp;&nbsp;[read-write] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Specifies the TextJustifier to use during line creation.
          <p>The default value is a constructed default TextJustifier object.</p>
          
          <p>
            When the
            <code>textJustifier</code>
            property is set, the TextBlock makes a copy of the object for internal use.  
  Modifying the original object does not affect the TextBlock.  When the
            <code>textJustifier</code>
            property is queried, a copy 
  of the internal object is returned.  Again, modifying this returned object does not affect the TextBlock.
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get textJustifier():<a href="../../../flash/text/engine/TextJustifier.html">TextJustifier</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set textJustifier(value:<a href="../../../flash/text/engine/TextJustifier.html">TextJustifier</a>):<a href="../../../specialTypes.html#void">void</a></code><br/><br/><span class="label"> Throws </span><br/><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              If set to a value which is not a known subclass of
              <code>TextJustifier</code>
              .
            </td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="EastAsianJustifier.html" target="">EastAsianJustifier</a><br/><a href="SpaceJustifier.html" target="">SpaceJustifier</a><br/><a href="TextJustifier.html" target="">TextJustifier</a></div></div><a name="propertyDetail"></a><a name="textLineCreationResult"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">textLineCreationResult</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>textLineCreationResult:<a href="../../../String.html">String</a></code>&nbsp;&nbsp;[read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Indicates the result of a
          <code>createTextLine()</code>
          operation.  
  Changing the content of the block invalidates previously broken lines and resets
  this property to
          <code>null</code>
          .
          <p>
            The default value is
            <code>null</code>
            .
          </p>
          
          <p>
            Values for this property are found in
            <code>TextLineCreationResult</code>
          </p>
          
          <table class="innertable" ><tr><th>String value</th><th>Description</th></tr><tr><td>
                    <code>TextLineCreationResult.SUCCESS</code>
                  </td><td>The line was successfully broken.</td></tr><tr><td>
                    <code>TextLineCreationResult.COMPLETE</code>
                  </td><td>Either the new line created aligned perfectly with following lines which 
   have transitioned from POSSIBLY_INVALID to VALID, or 
   no line was created because all text in the block had already been broken.</td></tr><tr><td>
                    <code>TextLineCreationResult.INSUFFICIENT_WIDTH</code>
                  </td><td>No line was created because no text could fit in the specified width.</td></tr></table>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get textLineCreationResult():<a href="../../../String.html">String</a></code><br/><p><span class="label">See also</span></p><div class="seeAlso"><a href="TextLineCreationResult.html" target="">TextLineCreationResult</a></div></div><a name="propertyDetail"></a><a name="userData"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">userData</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public var userData:<a href="../../../specialTypes.html#*">*</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>Provides a way for the author to associate arbitrary data with the text block. The data could be information that refers to the content, 
  such as a revision date or the name of the author, or it could be cached data that you use during processing.</p></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="TextBlock()"></a><a name="TextBlock(flash.text.engine.ContentElement,Vector$flash.text.engine.TabStop,flash.text.engine.TextJustifier,String,String,int,Boolean,flash.text.engine.FontDescription,Number)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">TextBlock</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function TextBlock(content:<a href="../../../flash/text/engine/ContentElement.html">ContentElement</a> = null, tabStops:<a href="../../../Vector.html">Vector</a>.&lt;<a href="../../../flash/text/engine/TabStop.html">TabStop</a>&gt; = null, textJustifier:<a href="../../../flash/text/engine/TextJustifier.html">TextJustifier</a> = null, lineRotation:<a href="../../../String.html">String</a> = "rotate0", baselineZero:<a href="../../../String.html">String</a> = "roman", bidiLevel:<a href="../../../int.html">int</a> = 0, applyNonLinearFontScaling:<a href="../../../Boolean.html">Boolean</a> = true, baselineFontDescription:<a href="../../../flash/text/engine/FontDescription.html">FontDescription</a> = null, baselineFontSize:<a href="../../../Number.html">Number</a> = 12.0)</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p>Creates a TextBlock object</p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">content</span>:<a href="../../../flash/text/engine/ContentElement.html">ContentElement</a></code> (default = <code>null</code>)<code></code> &mdash; The contents of the text block.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">tabStops</span>:<a href="../../../Vector.html">Vector</a>.&lt;<a href="../../../flash/text/engine/TabStop.html">TabStop</a>&gt;</code> (default = <code>null</code>)<code></code> &mdash; The tab stops for the text in the text block.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">textJustifier</span>:<a href="../../../flash/text/engine/TextJustifier.html">TextJustifier</a></code> (default = <code>null</code>)<code></code> &mdash; The TextJustifier object to use during line creation for this block.
     If no justifier is provided, a default justifier is constructed based on an English locale.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">lineRotation</span>:<a href="../../../String.html">String</a></code> (default = "<code>rotate0</code>")<code></code> &mdash; The rotation applied to the text lines generated from the text block as units.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">baselineZero</span>:<a href="../../../String.html">String</a></code> (default = "<code>roman</code>")<code></code> &mdash; Specifies which baseline is at y=0 for all lines in the block.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">bidiLevel</span>:<a href="../../../int.html">int</a></code> (default = <code>0</code>)<code></code> &mdash; The default bidirectional embedding level of the text in the text block.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">applyNonLinearFontScaling</span>:<a href="../../../Boolean.html">Boolean</a></code> (default = <code>true</code>)<code></code> &mdash; Specifies that you want to enhance screen appearance at the expense of WYSIWYG print fidelity.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">baselineFontDescription</span>:<a href="../../../flash/text/engine/FontDescription.html">FontDescription</a></code> (default = <code>null</code>)<code></code> &mdash; Specifies a font description from which to derive line baselines for all lines in the block.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">baselineFontSize</span>:<a href="../../../Number.html">Number</a></code> (default = <code>12.0</code>)<code></code> &mdash; 
              Specifies the size to use with the baselineFontDescription.  
  This parameter is ignored if
              <code>baselineFontDescription</code>
              is
              <code>null</code>
              .
            </td></tr></table><br/><span class="label">Throws</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              The
              <code>content</code>
              specified is not a known subclass of
              <code>ContentElement</code>
              .
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              The
              <code>content</code>
              specified is already a member of a group.
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              The
              <code>lineRotation</code>
              specified is not a member of
              <code>TextRotation</code>
              .
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              The
              <code>baselineZero</code>
              specified is not a member of
              <code>TextBaseline</code>
              .
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              The
              <code>bidiLevel</code>
              specified is less than 0.
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              The
              <code>tabStops</code>
              specified contain
              <code>null</code>
              elements.
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              The
              <code>tabStops</code>
              specified are not sorted by increasing position.
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              The
              <code>baselineFontSize</code>
              specified is less than 0.
            </td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="TextBlock.html#applyNonLinearFontScaling" target="">applyNonLinearFontScaling</a><br/><a href="TextBlock.html#baselineFontDescription" target="">baselineFontDescription</a><br/><a href="TextBlock.html#baselineFontSize" target="">baselineFontSize</a><br/><a href="TextBlock.html#baselineZero" target="">baselineZero</a><br/><a href="TextBlock.html#bidiLevel" target="">bidiLevel</a><br/><a href="TextBlock.html#lineRotation" target="">lineRotation</a><br/><a href="TextBlock.html#tabStops" target="">tabStops</a><br/><a href="TextJustifier.html" target="">TextJustifier</a></div></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="createTextLine()"></a><a name="createTextLine(flash.text.engine.TextLine,Number,Number,Boolean)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">createTextLine</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code> public function createTextLine(previousLine:<a href="../../../flash/text/engine/TextLine.html">TextLine</a> = null, width:<a href="../../../Number.html">Number</a> = 1000000, lineOffset:<a href="../../../Number.html">Number</a> = 0.0, fitSomething:<a href="../../../Boolean.html">Boolean</a> = false):<a href="../../../flash/text/engine/TextLine.html">TextLine</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Instructs the text block to create a line of text from its content, beginning at the point 
  specified by the
          <code>previousLine</code>
          parameter and breaking at the point specified by the
          <code>width</code>
          parameter. The text line is a TextLine object, which you can add 
  to the display list.
          <p>
            Breaking lines over a range of a text block that has already been broken can change the validity
  of lines in and beyond the area where breaking takes place.  The status of lines can change from VALID to INVALID or 
  POSSIBLY_INVALID.  If a newly broken line aligns perfectly with a previously broken line which has a status
  of POSSIBLY_INVALID, that previously broken line and all following POSSIBLY_INVALID lines change back
  to a status of VALID.  The validity of lines that have been set to values that are not members of
            <code>TextLineValidity</code>
            do not change to VALID, but could change to INVALID.
  Check the
            <code>firstInvalidLine</code>
            property after any change to the text block
  to see where to begin or continue rebreaking text lines.
          </p>
          
          <p>You can create artificial word breaks by including the Unicode Zero Width Space (ZWSP) character in the text.
  This can be useful for languages such as Thai, which require a dictionary for correct line breaking.
  Flash Player does not include such a dictionary.</p>
          
        </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">previousLine</span>:<a href="../../../flash/text/engine/TextLine.html">TextLine</a></code> (default = <code>null</code>)<code></code> &mdash; 
              Specifies the previously broken line after which breaking is to commence.  Can be
              <code>null</code>
              when breaking the first line.
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">width</span>:<a href="../../../Number.html">Number</a></code> (default = <code>1000000</code>)<code></code> &mdash; Specifies the desired width of the line in pixels.  The actual width may be less.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">lineOffset</span>:<a href="../../../Number.html">Number</a></code> (default = <code>0.0</code>)<code></code> &mdash; 
              An optional parameter which specifies the difference in pixels between the origin of the line and the origin of the tab stops.  
  This can be used when lines are not aligned, but it is desirable for their tabs to be so.
  The default value for this parameter is
              <code>0.0</code>
              .
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">fitSomething</span>:<a href="../../../Boolean.html">Boolean</a></code> (default = <code>false</code>)<code></code> &mdash; An optional parameter which instructs Flash Player to fit at least one character into the text line, no matter what
  width has been specified (even if width is zero or negative, which would otherwise result in an exception being thrown).</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../flash/text/engine/TextLine.html">TextLine</a></code> &mdash; 
              A text line, or
              <code>null</code>
              if the text block is empty or the width specified is less than the width of the next element.
  To distinguish between these cases, check the
              <code>textLineCreationResult</code>
              property of the text block.
            </td></tr></table><br/><span class="label">Throws</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              If the TextLine specified by
              <code>previousLine</code>
              is not valid.
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              If
              <code>width</code>
              is less than zero, unless
              <code>fitSomething</code>
              is true.
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              If
              <code>width</code>
              is greater than
              <code>TextLine.MAX_LINE_WIDTH</code>
              .
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../flash/errors/IllegalOperationError.html">IllegalOperationError</a> </code> &mdash; 
              If one or more elements in the content of the text block has a
              <code>null ElementFormat</code>
              .
            </td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="TextBaseline.html" target="">TextBaseline</a><br/><a href="TextLine.html" target="">TextLine</a><br/><a href="TextLine.html#validity" target="">TextLine.validity</a><br/><a href="TextLineValidity.html" target="">TextLineValidity</a></div><br/><span class="label"> Example </span><br/><br/><div class="detailBody">
          This example calls the
          <code>createTextLine()</code>
          method to create 
 lines of text in a text block. It accomplishes this by performing the following tasks:
          <ul><li>Creating a TextElement from a String and giving it a font size of 20</li><li>Creating a TextBlock and assigning the TextElement to it</li><li>
              Calling
              <code>createTextLine()</code>
              to create lines 300 pixels wide from the text block
            </li><li>
              Placing each line on Stage (
              <code>addChild()</code>
              ) and setting its position (
              <code>x</code>
              and
              <code>y</code>
              )
            </li></ul>
          
          <div class="listing"><pre>package {
    import flash.display.Sprite;
    import flash.text.engine.TextBlock;
    import flash.text.engine.TextElement;
    import flash.text.engine.TextLine;
    import flash.text.engine.ElementFormat;
    import flash.text.engine.FontDescription;
    
    public class TextBlock_createTextLineExample extends Sprite {
        
        public function TextBlock_createTextLineExample():void {
            
            var str:String = "I am a TextElement, created from a String and assigned " +
            "to the content property of a TextBlock. The createTextLine() method " +
            "then created these lines, 300 pixels wide, for display." ;
            
            var fontDescription:FontDescription = new FontDescription("Arial");
            var format:ElementFormat = new ElementFormat(fontDescription);
            format.fontSize = 16;
            var textElement:TextElement = new TextElement(str, format); 
            var textBlock:TextBlock = new TextBlock();
            textBlock.content = textElement; 
            createLines(textBlock); 
        }
        
        private function createLines(textBlock:TextBlock):void 
        {            
            var lineWidth:Number = 300;
            var xPos:Number = 15.0;
            var yPos:Number = 20.0;
            
            var textLine:TextLine = textBlock.createTextLine (null, lineWidth);
            while (textLine)
            {
                textLine.x = xPos;
                textLine.y = yPos;
                yPos += textLine.height + 2;
                addChild (textLine);
                textLine = textBlock.createTextLine (textLine, lineWidth);
            }
        }
    }
}</pre></div>
        </div></div><a name="dump()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">dump</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function dump():<a href="../../../String.html">String</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Dumps the underlying contents of the TextBlock as an XML string.
  This can be useful in automated testing, and includes text, formatting, and rendering information.
  It is only available in the debugger Flash Player.
          <p>
            <b>Note:</b>
            The content and format of the output may change in the future. Adobe does not guarantee backward compatibility
  of this method.
          </p>
          
          <p>The following table describes the output:</p>
          
          <table class="innertable" ><tr><th>Tag</th><th>Attribute</th><th>Description</th></tr><tr><td>
                    <code>&lt;block&gt;</code>
                  </td><td>&nbsp;</td><td>TextBlock</td></tr><tr><td>
                    <code>&lt;line</code>
                  </td><td>&nbsp;</td><td>TextLine</td></tr><tr><td>&nbsp;</td><td>
                    <code>s=</code>
                  </td><td>start inline run element</td></tr><tr><td>&nbsp;</td><td>
                    <code>l=</code>
                  </td><td>limit inline run element</td></tr><tr><td>
                    <code>></code>
                  </td><td>&nbsp;</td><td>close of line tag</td></tr><tr><td>
                    <code>&lt;run</code>
                  </td><td>&nbsp;</td><td>the elements of a line</td></tr><tr><td>&nbsp;</td><td>
                    <code>s=</code>
                  </td><td>start inline run element</td></tr><tr><td>&nbsp;</td><td>
                    <code>l=</code>
                  </td><td>limit inline run element</td></tr><tr><td>
                    <code>></code>
                  </td><td>&nbsp;</td><td>close of run tag</td></tr><tr><td>
                    <code>&lt;inter</code>
                  </td><td>&nbsp;</td><td>inter element</td></tr><tr><td>&nbsp;</td><td>
                    <code>cursor=</code>
                  </td><td>character cursor (index into the original text)</td></tr><tr><td>&nbsp;</td><td>
                    <code>tcb=</code>
                  </td><td>typographic cluster boundary</td></tr><tr><td>&nbsp;</td><td>
                    <code>wb=</code>
                  </td><td>word boundary</td></tr><tr><td>&nbsp;</td><td>
                    <code>lbo=</code>
                  </td><td>line break opportunity</td></tr><tr><td>&nbsp;</td><td>
                    <code>lb=</code>
                  </td><td>actual line break</td></tr><tr><td>
                    <code>/></code>
                  </td><td>&nbsp;</td><td>end of inter tag</td></tr><tr><td>
                    <code>&lt;char</code>
                  </td><td>&nbsp;</td><td>character element</td></tr><tr><td>&nbsp;</td><td>
                    <code>usv=</code>
                  </td><td>Unicode scalar value</td></tr><tr><td>
                    <code>/></code>
                  </td><td>&nbsp;</td><td>end of char tag</td></tr><tr><td>
                    <code>&lt;glyph</code>
                  </td><td>&nbsp;</td><td>computed glyph or shaped glyph element</td></tr><tr><td>&nbsp;</td><td>
                    <code>font=</code>
                  </td><td>font name</td></tr><tr><td>&nbsp;</td><td>
                    <code>gid=</code>
                  </td><td>glyph index</td></tr><tr><td>&nbsp;</td><td>
                    <code>xa=</code>
                  </td><td>xAdvance</td></tr><tr><td>&nbsp;</td><td>
                    <code>ya=</code>
                  </td><td>yAdvance</td></tr><tr><td>&nbsp;</td><td>
                    <code>xp=</code>
                  </td><td>xPlacement</td></tr><tr><td>&nbsp;</td><td>
                    <code>yp=</code>
                  </td><td>yPlacement</td></tr><tr><td>&nbsp;</td><td>
                    <code>r=</code>
                  </td><td>rotation</td></tr><tr><td>&nbsp;</td><td>
                    <code>color=</code>
                  </td><td>color</td></tr><tr><td>&nbsp;</td><td>
                    <code>xP=</code>
                  </td><td>xPosition</td></tr><tr><td>&nbsp;</td><td>
                    <code>yP=</code>
                  </td><td>yPosition</td></tr><tr><td>&nbsp;</td><td>
                    <code>attached=</code>
                  </td><td>whether two elements are attached</td></tr><tr><td>&nbsp;</td><td>
                    <code>itcbo=</code>
                  </td><td>internal typographic cluster boundary offsets</td></tr><tr><td>&nbsp;</td><td>
                    <code>bl=</code>
                  </td><td>bidirectional level</td></tr><tr><td>&nbsp;</td><td>
                    <code>sc=</code>
                  </td><td>spacing class</td></tr><tr><td>
                    <code>/></code>
                  </td><td>&nbsp;</td><td>end of glyph tag</td></tr><tr><td>
                    <code>&lt;fo</code>
                  </td><td>&nbsp;</td><td>graphic element</td></tr><tr><td>&nbsp;</td><td>
                    <code>id=</code>
                  </td><td>element id</td></tr><tr><td>&nbsp;</td><td>
                    <code>xa=</code>
                  </td><td>xAdvance</td></tr><tr><td>&nbsp;</td><td>
                    <code>ya=</code>
                  </td><td>yAdvance</td></tr><tr><td>&nbsp;</td><td>
                    <code>xp=</code>
                  </td><td>xPlacement</td></tr><tr><td>&nbsp;</td><td>
                    <code>yp=</code>
                  </td><td>yPlacement</td></tr><tr><td>&nbsp;</td><td>
                    <code>r=</code>
                  </td><td>rotation</td></tr><tr><td>&nbsp;</td><td>
                    <code>color=</code>
                  </td><td>color</td></tr><tr><td>&nbsp;</td><td>
                    <code>xP=</code>
                  </td><td>xPosition</td></tr><tr><td>&nbsp;</td><td>
                    <code>yP=</code>
                  </td><td>yPosition</td></tr><tr><td>&nbsp;</td><td>
                    <code>lb=</code>
                  </td><td>left bound</td></tr><tr><td>&nbsp;</td><td>
                    <code>rb=</code>
                  </td><td>right bound</td></tr><tr><td>&nbsp;</td><td>
                    <code>tb=</code>
                  </td><td>top bound</td></tr><tr><td>&nbsp;</td><td>
                    <code>bb=</code>
                  </td><td>bottom bound</td></tr><tr><td>&nbsp;</td><td>
                    <code>itcbo=</code>
                  </td><td>internal typographic cluster boundary offsets</td></tr><tr><td>&nbsp;</td><td>
                    <code>bl=</code>
                  </td><td>bidirectional level</td></tr><tr><td>&nbsp;</td><td>
                    <code>sc=</code>
                  </td><td>spacing class</td></tr><tr><td>
                    <code>/></code>
                  </td><td>&nbsp;</td><td>end of fo tag</td></tr><tr><td>
                    <code>&lt;embeddedRun</code>
                  </td><td>&nbsp;</td><td>embedded run</td></tr><tr><td>&nbsp;</td><td>
                    <code>xa=</code>
                  </td><td>xAdvance</td></tr><tr><td>&nbsp;</td><td>
                    <code>ya=</code>
                  </td><td>yAdvance</td></tr><tr><td>&nbsp;</td><td>
                    <code>xp=</code>
                  </td><td>xPlacement</td></tr><tr><td>&nbsp;</td><td>
                    <code>yp=</code>
                  </td><td>yPlacement</td></tr><tr><td>&nbsp;</td><td>
                    <code>r=</code>
                  </td><td>rotation</td></tr><tr><td>&nbsp;</td><td>
                    <code>xP=</code>
                  </td><td>xPosition</td></tr><tr><td>&nbsp;</td><td>
                    <code>yP=</code>
                  </td><td>yPosition</td></tr><tr><td>
                    <code>></code>
                  </td><td>&nbsp;</td><td>close of embeddedRun tag</td></tr><tr><td>
                    <code>&lt;run&gt;</code>
                  </td><td>&nbsp;</td><td>run</td></tr><tr><td>
                    <code>&lt;/run&gt;</code>
                  </td><td>&nbsp;</td><td>ending run tag</td></tr><tr><td>
                    <code>&lt;/embeddedRun&gt;</code>
                  </td><td>&nbsp;</td><td>ending embeddedRun tag</td></tr><tr><td>
                    <code>&lt;carets</code>
                  </td><td>&nbsp;</td><td>the carets of a line</td></tr><tr><td>&nbsp;</td><td>
                    <code>s=</code>
                  </td><td>start inline run element</td></tr><tr><td>&nbsp;</td><td>
                    <code>l=</code>
                  </td><td>limit inline run element</td></tr><tr><td>
                    <code>></code>
                  </td><td>&nbsp;</td><td>close of carets tag</td></tr><tr><td>
                    <code>&lt;cursor&gt;</code>
                  </td><td>&nbsp;</td><td>cursor</td></tr><tr><td>&nbsp;</td><td>
                    <code>x=</code>
                  </td><td>left side x position</td></tr><tr><td>
                    <code>/></code>
                  </td><td>&nbsp;</td><td>end of cursor tag</td></tr><tr><td>
                    <code>&lt;cluster</code>
                  </td><td>&nbsp;</td><td>cluster</td></tr><tr><td>&nbsp;</td><td>
                    <code>c=</code>
                  </td><td>center position</td></tr><tr><td>&nbsp;</td><td>
                    <code>s=</code>
                  </td><td>start tc offset</td></tr><tr><td>&nbsp;</td><td>
                    <code>l=</code>
                  </td><td>limit tc offset</td></tr><tr><td>&nbsp;</td><td>
                    <code>bidi</code>
                  </td><td>bidirectional level</td></tr><tr><td>
                    <code>/></code>
                  </td><td>&nbsp;</td><td>end of cluster tag</td></tr><tr><td>
                    <code>&lt;/carets&gt;</code>
                  </td><td>&nbsp;</td><td>ending carets tag</td></tr><tr><td>
                    <code>&lt;/line&gt;</code>
                  </td><td>&nbsp;</td><td>ending line tag</td></tr><tr><td>
                    <code>&lt;/block&gt;</code>
                  </td><td>&nbsp;</td><td>ending block tag</td></tr></table>
          
        </p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../String.html">String</a></code></td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="TextLine.html#dump()" target="">TextLine.dump()</a></div></div><a name="findNextAtomBoundary()"></a><a name="findNextAtomBoundary(int)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">findNextAtomBoundary</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function findNextAtomBoundary(afterCharIndex:<a href="../../../int.html">int</a>):<a href="../../../int.html">int</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Finds the index of the next Atom boundary from the specified character index, not including the character at the specified index.
  The characters between atom boundaries combine to form one atom in a
          <code>TextLine</code>
          , such as an 'e' and a combining acute accent.
        </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">afterCharIndex</span>:<a href="../../../int.html">int</a></code> &mdash; Specifies the index of the character from which to search for the next atom boundary.</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../int.html">int</a></code> &mdash; The index of the next atom boundary from the specified character index.</td></tr></table><br/><span class="label">Throws</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../RangeError.html">RangeError</a> </code> &mdash; 
              The
              <code>index</code>
              specified is out of range.
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../flash/errors/IllegalOperationError.html">IllegalOperationError</a> </code> &mdash; The TextLine to which the indexed character belongs is not valid.</td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="TextLine.html#atomCount" target="">TextLine.atomCount</a></div></div><a name="findNextWordBoundary()"></a><a name="findNextWordBoundary(int)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">findNextWordBoundary</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function findNextWordBoundary(afterCharIndex:<a href="../../../int.html">int</a>):<a href="../../../int.html">int</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>Finds the index of the next word boundary from the specified character index, not including the character at the specified index.
  Word boundaries are determined based on the Unicode properties of the characters.</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">afterCharIndex</span>:<a href="../../../int.html">int</a></code> &mdash; Specifies the index of the character from which to search for the next word boundary.</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../int.html">int</a></code> &mdash; The index of the next word boundary from the specified character index.</td></tr></table><br/><span class="label">Throws</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../RangeError.html">RangeError</a> </code> &mdash; 
              The
              <code>index</code>
              specified is out of range.
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../flash/errors/IllegalOperationError.html">IllegalOperationError</a> </code> &mdash; The TextLine to which the indexed character belongs is not valid.</td></tr></table></div><a name="findPreviousAtomBoundary()"></a><a name="findPreviousAtomBoundary(int)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">findPreviousAtomBoundary</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function findPreviousAtomBoundary(beforeCharIndex:<a href="../../../int.html">int</a>):<a href="../../../int.html">int</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Finds the index of the previous atom boundary to the specified character index, not including the character at the specified index.
  The characters between atom boundaries combine to form one atom in a
          <code>TextLine</code>
          , such as an 'e' and a combining acute accent.
        </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">beforeCharIndex</span>:<a href="../../../int.html">int</a></code> &mdash; Specifies the index of the character from which to search for the previous atom boundary.</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../int.html">int</a></code> &mdash; The index of the previous atom boundary to the specified character index.</td></tr></table><br/><span class="label">Throws</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../RangeError.html">RangeError</a> </code> &mdash; 
              The
              <code>index</code>
              specified is out of range.
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../flash/errors/IllegalOperationError.html">IllegalOperationError</a> </code> &mdash; The TextLine to which the indexed character belongs is not valid.</td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="TextLine.html#atomCount" target="">TextLine.atomCount</a></div></div><a name="findPreviousWordBoundary()"></a><a name="findPreviousWordBoundary(int)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">findPreviousWordBoundary</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function findPreviousWordBoundary(beforeCharIndex:<a href="../../../int.html">int</a>):<a href="../../../int.html">int</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>Finds the index of the previous word boundary to the specified character index, not including the character at the specified index.
  Word boundaries are determined based on the Unicode properties of the characters.</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">beforeCharIndex</span>:<a href="../../../int.html">int</a></code> &mdash; Specifies the index of the character from which to search for the previous word boundary.</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../int.html">int</a></code> &mdash; The index of the previous word boundary to the specified character index.</td></tr></table><br/><span class="label">Throws</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../RangeError.html">RangeError</a> </code> &mdash; 
              The
              <code>index</code>
              specified is out of range.
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20"></td><td><code><a href="../../../flash/errors/IllegalOperationError.html">IllegalOperationError</a> </code> &mdash; The TextLine to which the indexed character belongs is not valid.</td></tr></table></div><a name="getTextLineAtCharIndex()"></a><a name="getTextLineAtCharIndex(int)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">getTextLineAtCharIndex</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function getTextLineAtCharIndex(charIndex:<a href="../../../int.html">int</a>):<a href="../../../flash/text/engine/TextLine.html">TextLine</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Returns the TextLine containing the character specified by the
          <code>charIndex</code>
          parameter.
        </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">charIndex</span>:<a href="../../../int.html">int</a></code> &mdash; The zero-based index value of the character (for example, the first character is 0,
  the second character is 1, and so on).</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../flash/text/engine/TextLine.html">TextLine</a></code> &mdash; 
              The TextLine containing the character at
              <code>charIndex</code>
              .
            </td></tr></table><br/><span class="label">Throws</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../RangeError.html">RangeError</a> </code> &mdash; The character index specified is out of range.</td></tr></table></div><a name="releaseLines()"></a><a name="releaseLines(flash.text.engine.TextLine,flash.text.engine.TextLine)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">releaseLines</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function releaseLines(firstLine:<a href="../../../flash/text/engine/TextLine.html">TextLine</a>, lastLine:<a href="../../../flash/text/engine/TextLine.html">TextLine</a>):<a href="../../../specialTypes.html#void">void</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
          Removes a range of text lines from the list of lines maintained by the TextBlock.
  This allows the lines to be garbage-collected if no other references exist.
          <p>
            Sets the
            <code>textBlock</code>
            ,
            <code>nextLine</code>
            , and
            <code>previousLine</code>
            members of the removed lines to
            <code>null</code>
            .
  Sets the
            <code>validity</code>
            of the removed lines and of all lines which follow
  the removed lines in the TextBlock to
            <code>TextLineValidity.INVALID</code>
            .
          </p>
          
        </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">firstLine</span>:<a href="../../../flash/text/engine/TextLine.html">TextLine</a></code> &mdash; Specifies the first line to release.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">lastLine</span>:<a href="../../../flash/text/engine/TextLine.html">TextLine</a></code> &mdash; Specifies the last line to release.</td></tr></table></p><br/><span class="label">Throws</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../ArgumentError.html">ArgumentError</a> </code> &mdash; 
              If the TextLine specified by
              <code>firstLine</code>
              or
              <code>lastLine</code>
              is not 
     in the list of text lines maintained by the text block.
            </td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="TextLine.html" target="">TextLine</a></div></div><a name="includeExamplesSummary"></a><div class="detailSectionHeader">Examples<span class="usage"><a href="../../../ExampleInstruct.html"> How to use examples </a></span></div><div class="exampleHeader">TextBlockExample.as</div><br/><div class="detailBody">
        This example displays three TextBlock paragraphs of Japanese and English
 text. The Japanese text is converted to Strings from Unicode character codes. 
 When you click on the button, the example rotates the text from horizontal to
 vertical or from veritcal to horizontal.
        <ol><li>Add Button to the library.</li><li>Save this code as TextBlockExample.as in the same directory as your FLA.</li><li>Set the Class in the Properties panel in your FLA to TextBlockExample.</li></ol>
        
        <div class="listing"><pre>package { 
    import fl.controls.Button;
     import flash.text.engine.TextBlock;
    import flash.text.engine.TextLine;
    import flash.text.engine.TextElement;
    import flash.text.engine.ElementFormat;
    import flash.text.engine.TextRotation;
    import flash.text.engine.TextBaseline;
    import flash.text.engine.LineJustification;
    import flash.text.engine.FontDescription;
    import flash.text.engine.EastAsianJustifier; 
    import flash.display.Loader;
    import flash.display.Sprite;
    import flash.display.Stage;
    import flash.events.MouseEvent;
    import flash.system.Capabilities;
    
    public class TextBlockExample extends Sprite {
        
        var vertical:Boolean;    
        var container:Sprite;
        var textBlocks:Vector.&lt;TextBlock&gt;;
        var loader:Loader = new Loader();
        var directionButton:Button = new Button();
        
        public function TextBlockExample():void {
            addChild(directionButton);
            directionButton.width = 30;
            directionButton.move(50, 350);
            directionButton.addEventListener(MouseEvent.CLICK, clickHandler);
            createContent();
            createLines();
        }

        private function createEmptyBlock():TextBlock {
        
            var textBlock:TextBlock = new TextBlock();
            textBlock.baselineZero = TextBaseline.IDEOGRAPHIC_CENTER;
            textBlock.textJustifier = new EastAsianJustifier("ja", LineJustification.ALL_BUT_LAST);
            textBlock.lineRotation = vertical? TextRotation.ROTATE_90: TextRotation.ROTATE_0;
            return textBlock;    
        }
        
        private function paragraph1(format:ElementFormat):TextBlock {
        
            var textBlock:TextBlock = createEmptyBlock();
            textBlock.content = new TextElement(
            String.fromCharCode(
                0x5185, 0x95A3, 0x5E9C, 0x304C, 0x300C, 0x653F, 0x5E9C, 0x30A4,
                0x30F3, 0x30BF, 0x30FC, 0x30CD, 0x30C3, 0x30C8, 0x30C6, 0x30EC, 
                0x30D3, 0x300D, 0x306E, 0x52D5, 0x753B, 0x914D, 0x4FE1, 0x5411, 
                0x3051, 0x306B, 0x30A2, 0x30C9, 0x30D3, 0x30B7, 0x30B9, 0x30C6, 
                0x30E0, 0x30BA, 0x793E, 0x306E
            ) +
            "FMS 2" +
            String.fromCharCode(0x3092, 0x63A1, 0x7528, 0x3059, 0x308B, 0x3068, 
                0x767a, 0x8868, 0x3057, 0x307e, 0x3057, 0x305F, 0x3002), format);
            return textBlock;
        }

        private function paragraph2(format:ElementFormat):TextBlock {
            
            var textBlock:TextBlock = createEmptyBlock();
            textBlock.content = new TextElement(
            String.fromCharCode(
                0x30AF, 0x30ED, 0x30B9, 0x30D7, 0x30E9, 0x30C3, 0x30C8, 0x30D5, 
                0x30A9, 0x30FC, 0x30E0, 0x4E0A, 0x3067, 0x518D, 0x751F, 0x53EF, 
                0x80FD, 0x306A
            ) + 
            "Flash Video" +
            String.fromCharCode(
                0x3092, 0x914D, 0x4FE1, 0x3001, 0x653F, 0x5E9C, 0x6700, 0x65B0, 
                0x60C5, 0x5831, 0x3092, 0x3088, 0x308A, 0x591A, 0x304F, 0x306E, 
                0x56FD, 0x6C11, 0x306B, 0x9AD8, 0x54C1, 0x8CEA, 0x306A, 0x753B, 
                0x50CF, 0x3067, 0x7C21, 0x5358, 0x304B, 0x3064, 0x30EA, 0x30A2, 
                0x30EB, 0x30BF, 0x30A4, 0x30E0, 0x306B, 0x63D0, 0x4F9B, 0x3059, 
                0x308B, 0x3053, 0x3068, 0x304C, 0x53EF, 0x80FD, 0x306B, 0x306A, 
                0x308A, 0x307e, 0x3057, 0x305F, 0x3002), format);
            return textBlock;    
        }

        private function paragraph3(format:ElementFormat):TextBlock {
            
            var textBlock:TextBlock = createEmptyBlock();
            textBlock.content = new TextElement(
            String.fromCharCode(0x3010) +
            "2007" +
            String.fromCharCode(0x5E74) + "2" + String.fromCharCode(0x6708) +
            "21" +
            String.fromCharCode(0x65E5, 0x3011),
            format);
            return textBlock;    
        }

        private function createContent():void {
            
            var font:FontDescription = new FontDescription();
            if (Capabilities.os.search("Mac OS") &gt; -1) 
                font.fontName = String.fromCharCode(0x5C0F, 0x585A, 0x660E, 0x671D) + " Pro R"; // "Kozuka Mincho Pro R"                    koFont.fontName = "Adobe " + String.fromCharCode(0xBA85, 0xC870) + " Std M"; // "Adobe Myungjo Std M"
            else 
                font.fontName = "Kozuka Mincho Pro R";        
            var format:ElementFormat = new ElementFormat();
            format.fontDescription = font;
            format.fontSize = 12;
            format.locale = "ja";
            format.color = 0x000000;
            if (!vertical) 
                format.textRotation = TextRotation.ROTATE_0; 
            textBlocks = new Vector.&lt;TextBlock&gt;();
            textBlocks.push(
                paragraph1(format),
                paragraph2(format),
                paragraph3(format)//,
            );
        }

        private function createLines():void {    
        
            if (container != null) {
                removeChild(container);
            }            
            container = new Sprite();
            container.y = 45;
            container.x = 40;
            addChild(container);
            var linePosition:Number = vertical? this.stage.stageWidth - 120: 12;
        
            for (var i:uint = 0; i &lt; textBlocks.length; i++) {
                var textBlock:TextBlock = textBlocks[i];
                var previousLine:TextLine = null;
        
                while (true) {
                    var textLine:TextLine = textBlock.createTextLine(
                        previousLine, 
                        300);
                    if (textLine == null) 
                        break;
                    if (vertical) 
                    {
                        textLine.x = linePosition;
                        linePosition -= 24;
                        directionButton.label = " -- ";
                    }
                    else 
                    {
                        textLine.y = linePosition+50;
                        linePosition += 24;
                        directionButton.label = " | ";
                    }
                    container.addChild(textLine);                
                    previousLine = textLine;
                }
                if (vertical) 
                    linePosition -= 16;
                else 
                    linePosition += 16; 
            }
        }

        private function clickHandler(event:MouseEvent):void {
            
            vertical = !vertical;
            createContent();
            createLines();
        }
    }
}</pre></div>
      </div><br/><br/><hr><br/><p></p><center class="copyright"> &copy; 2004-2008 Adobe Systems Incorporated. All rights reserved. <br/>Thu Oct 30 2008, 07:08 PM -07:00  </center><div style="display:none">TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock TextBlock </div><div style="display:none">flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock flash.text.engine.TextBlock </div></div></body></html><!-- &copy; 2004-2008 Adobe Systems Incorporated. All rights reserved. <br/>Thu Oct 30 2008, 07:08 PM -07:00  -->
