﻿<!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="TabStop,flash.text.engine.TabStop,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"><title>flash.text.engine.TabStop (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 = 'TabStop - 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/TabStop.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">TabStop</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("TabStop"); 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  TabStop</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">TabStop  <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 TabStop class represents the properties of a tab stop in a text block. You assign tab stops as a Vector of TabStop objects
 to the
        <code>TextBlock.tabStops</code>
        property.
        <p>Setting the properties of a TabStop object after you apply it to a TextBlock does not invalidate the TextBlock.</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="TextBlock.html#tabStops" target="">TextBlock.tabStops</a><br/><a href="TabAlignment.html" target="">TabAlignment</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="#alignment" class="signatureLink">alignment</a> : <a href="../../../String.html">String</a><div class="summaryTableDescription">Specifies the tab alignment for this tab stop.</div></td><td class="summaryTableOwnerCol">TabStop</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="#decimalAlignmentToken" class="signatureLink">decimalAlignmentToken</a> : <a href="../../../String.html">String</a><div class="summaryTableDescription">Specifies the alignment token to use when you set the alignment property to TabAlignment.DECIMAL.</div></td><td class="summaryTableOwnerCol">TabStop</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#position" class="signatureLink">position</a> : <a href="../../../Number.html">Number</a><div class="summaryTableDescription">The position of the tab stop, in pixels, relative to the start of the text line.</div></td><td class="summaryTableOwnerCol">TabStop</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></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="#TabStop()" class="signatureLink">TabStop</a>(alignment:<a href="../../../String.html">String</a> = "start", position:<a href="../../../Number.html">Number</a> = 0.0, decimalAlignmentToken:<a href="../../../String.html">String</a> = "")</div><div class="summaryTableDescription">Creates a new TabStop.</div></td><td class="summaryTableOwnerCol">TabStop</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="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="alignment"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">alignment</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>alignment:<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 the tab alignment for this tab stop. Use the constants in the TabAlignment class to 
  set this property.
          <p>
            The default value is
            <code>TabAlignment.START</code>
            .
          </p>
          
          <p>
            Use the
            <code>lineOffset</code>
            argument to
            <code>TextBlock.createTextLine()</code>
            to adjust the tabs if the origin of the line does not align with other lines that
  share the same tab stops.
          </p>
          
          <p>Use the following constants from the TabAlignment class to set the value for this property:</p>
          
          <table class="innertable" ><tr><th>String value</th><th>Description</th></tr><tr><td>
                    <code>TabAlignment.START</code>
                  </td><td>
                    The
                    <code>position</code>
                    property specifies the number of pixels that the
                    <i>start</i>
                    of the tabbed text is from the start of the text line.
                  </td></tr><tr><td>
                    <code>TabAlignment.CENTER</code>
                  </td><td>
                    The
                    <code>position</code>
                    property specifies the number of pixels that the
                    <i>center</i>
                    of the tabbed text is from the start of the text line.
                  </td></tr><tr><td>
                    <code>TabAlignment.END</code>
                  </td><td>
                    The
                    <code>position</code>
                    property specifies the number of pixels that the
                    <i>end</i>
                    of the tabbed text is from the start of the text line.
                  </td></tr><tr><td>
                    <code>TabAlignment.DECIMAL</code>
                  </td><td>
                    The
                    <code>position</code>
                    property specifies the number of pixels that the alignment token is from the start of the text line.
                  </td></tr></table>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get alignment():<a href="../../../String.html">String</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set alignment(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 that is not a member of
              <code>TabAlignment</code>
              .
            </td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="TabAlignment.html" target="">TabAlignment</a><br/><a href="TextBlock.html#createTextLine()" target="">TextBlock.createTextLine()</a></div></div><a name="propertyDetail"></a><a name="decimalAlignmentToken"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">decimalAlignmentToken</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>decimalAlignmentToken:<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 the alignment token to use when you set the
          <code>alignment</code>
          property to
          <code>TabAlignment.DECIMAL</code>
          . The value
  is a String that occurs in the text line.
          <p>
            The default value is
            <code>""</code>
            .
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get decimalAlignmentToken():<a href="../../../String.html">String</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set decimalAlignmentToken(value:<a href="../../../String.html">String</a>):<a href="../../../specialTypes.html#void">void</a></code><br/><p><span class="label">See also</span></p><div class="seeAlso"><a href="TabAlignment.html#DECIMAL" target="">TabAlignment.DECIMAL</a></div></div><a name="propertyDetail"></a><a name="position"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">position</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>position:<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 position of the tab stop, in pixels, relative to the start of the text line.
          <p>The default value is 0.0.</p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get position():<a href="../../../Number.html">Number</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set position(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; If set to a value less than 0.0.</td></tr></table></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="TabStop()"></a><a name="TabStop(String,Number,String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">TabStop</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function TabStop(alignment:<a href="../../../String.html">String</a> = "start", position:<a href="../../../Number.html">Number</a> = 0.0, decimalAlignmentToken:<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>Creates a new TabStop.</p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">alignment</span>:<a href="../../../String.html">String</a></code> (default = "<code>start</code>")<code></code> &mdash; 
              The tab alignment type of this tab stop.
     Valid values for this property are found in the members of the
              <code>TabAlignment</code>
              class.
     The default value is
              <code>TabAlignment.START</code>
              .
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">position</span>:<a href="../../../Number.html">Number</a></code> (default = <code>0.0</code>)<code></code> &mdash; 
              The position of the tab stop, in pixels.
     The default value is
              <code>0.0</code>
              .
            </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">decimalAlignmentToken</span>:<a href="../../../String.html">String</a></code> (default = "<code></code>")<code></code> &mdash; 
              The alignment token to be used if the
              <code>alignment</code>
              is
              <code>TabAlignment.DECIMAL</code>
              ,
     The default value is
              <code>""</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>alignment</code>
              specified is not a member of
              <code>TabAlignment</code>
              .
            </td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="TabAlignment.html" target="">TabAlignment</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">TabStopExample.as</div><br/><div class="detailBody">
        This example illustrates the effects of the four tab stop alignment settings - START, 
 CENTER, DECIMAL, and END.
        <div class="listing"><pre>package {
    
    import flash.text.engine.*;
    import flash.display.Sprite;
    
    public class TabStopExample extends Sprite {
        
        public function TabStopExample():void {
            var container:Sprite = new Sprite(); 
            
            var english:ElementFormat = new ElementFormat(); 
            english.fontDescription = new FontDescription("Arial"); 
            english.fontSize = 16;
            english.locale = "en"; 
            
            var tabStops:Vector.&lt;TabStop&gt; = new Vector.&lt;TabStop&gt;();    
            tabStops.push(
                new TabStop(TabAlignment.START, 20),
                new TabStop(TabAlignment.CENTER, 120),
                new TabStop(TabAlignment.DECIMAL, 220, "."),
                new TabStop(TabAlignment.END, 320)
            ); 
    
            var textBlock:TextBlock = new TextBlock();
            textBlock.content = new TextElement(
                "\tstart\tcenter\tdeci.mal\tend\n" +        
                "\tl\tl\t3.4\tl\n" +
                "\tlm\tlm\t234.56\tlm\n" +
                "\tlmn\tlmn\t12345678.34567\tlmn\n"
                , english); 
            textBlock.tabStops = tabStops;
            var y:Number = 60;
            var previousTextLine:TextLine = null; 
            var textLine:TextLine;
            var i:int;
            var tabOrigin:Number = 100;
            for (i = 0; i &lt; 4; i++) {
                textLine = textBlock.createTextLine(previousTextLine, 1000, 0); 
                textLine.x = 20;
                textLine.y = y; 
                
                container.addChild(textLine);     
                
                y += 25; 
                previousTextLine = textLine; 
            }
            addChild(container);        
        }
    }
}</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">TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop TabStop </div><div style="display:none">flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop flash.text.engine.TabStop </div></div></body></html><!-- &copy; 2004-2008 Adobe Systems Incorporated. All rights reserved. <br/>Thu Oct 30 2008, 07:08 PM -07:00  -->
