<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - flash - 9.0 - ActionScriptLangRefV3 - flash/text/TextField.html</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T10:24:19</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#87805" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#87614" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#87173" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#85381" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#81086" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#80757" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#79442" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#76563" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#76435" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#76328" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#75191" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#73138" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#70745" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#67173" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#87805">
		<title>flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#87805</link>
		<description>On Mac OS X.  Set a TextField to be Input or Dynamic.  Set it to multiline.  &lt;br /&gt;There will be a carriage return in the TextField without any user input.  (Get &lt;br /&gt;the length of the text or trace out the text surrounded by '*'.)&lt;br /&gt;&lt;br /&gt;On Windows, the same TextField is empty when created.&lt;br /&gt;&lt;br /&gt;Reported as bug, also.</description>
		<dc:creator>Alex Gregot</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-09-18T14:54:58</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#87614">
		<title>flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#87614</link>
		<description>The text's &quot;leading&quot; is not set up the way that you would traditionally expect.&lt;br /&gt;Currently it adds additional pixels between the lines of text, defaulting at 0 (no space added). Usually leading takes into account the size of the text, so a line of text at 16pt and a leading of 16pt would have the same effect as this 0 setting.&lt;br /&gt;So if you have a 16pt text and want a little space between lines you would set the leading to 2, not 18 as normal.&lt;br /&gt;Of course it still doesn't look the way it should, so play around and don't be afraid to use negative values!</description>
		<dc:creator>whatthemess</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-09-11T11:26:23</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#87173">
		<title>flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#87173</link>
		<description>Line breaks ignored when using HTML text CSS and embedded fonts&lt;br /&gt;&lt;br /&gt;I posted this on the AS3 forum http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=665&amp;threadid=1386999&lt;br /&gt;&lt;br /&gt;I'm not sure what is going on, no replies so far, am i doing something wrong?</description>
		<dc:creator>moonface</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-08-27T05:16:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#85381">
		<title>flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#85381</link>
		<description>It seems to be undocumented above, but apparently the moment you set embedFonts to true, getCharBoundaries(int) starts returning null instead of valid rectangles.  Hopefully, this note will save someone else some time.</description>
		<dc:creator>JustStartingOut</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-07-01T12:49:43</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#81086">
		<title>flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#81086</link>
		<description>i have a problem with this tag &lt;img scr=movie clip symbol in the library&gt;&lt;br /&gt;&lt;br /&gt;if i use this tag to put a moveClip on a textField it will not be active&lt;br /&gt;just the buttons work but the input text and the dragable elements will not &lt;br /&gt;be active&lt;br /&gt;&lt;br /&gt;this tag worked ok on flash player 9,0,45,0&lt;br /&gt;but with the last flash player 9,0,115,0 it doesn't work&lt;br /&gt;&lt;br /&gt;i did a  flash blog ( www.isa.mohammmed.com ) depends completely on that tag now it useless</description>
		<dc:creator>isa...</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-02-24T22:48:19</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#80757">
		<title>flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#80757</link>
		<description>Thanks, Haiducii7! That works for me, too, and saves about 40K in SWF filesize! Only one line of code!&lt;br /&gt;Dave</description>
		<dc:creator>DaveCon</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-02-15T10:24:41</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#79442">
		<title>flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#79442</link>
		<description>Haiducii7 is a genius, that blendmode trick works like a charm without having to mess around with embeding fonts.</description>
		<dc:creator>durbineil</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-01-12T14:15:42</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#76563">
		<title>flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#76563</link>
		<description>I have had some problems with the alpha property on fonts and I came to the following conclusion: In order to use embedFonts you also need to create and reference (export for ActionScript) a font symbol. Anyway, I found a trick by mistake (or maybe it's not really a trick). If you change the blendMode to something else that NORMAL, the alpha will work&lt;br /&gt;For example I got what I needed without using embedFonts by just setting myText.blendMode = BlendMode.LAYER;&lt;br /&gt;Hope this helps some of you and I also hope sometime in the future AS will be better documented.</description>
		<dc:creator>Haiducii7</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-11-12T11:01:05</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#76435">
		<title>flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#76435</link>
		<description>No screen name,&lt;br&gt;&lt;br&gt;This page may help:&lt;br&gt;http://www.adobe.com/devnet/flash/quickstart/embedding_fonts/</description>
		<dc:creator>djtechwriter</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2007-11-09T16:45:41</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#76328">
		<title>flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#76328</link>
		<description>The documentation for TextField does not mention that you have to embed the font on the text field to have setting the alpha property have an effect.&lt;br /&gt;&lt;br /&gt;After setting the TextFormat on the TextField, setting the embedFonts property on the TextField is necessary but not sufficient.&lt;br /&gt;&lt;br /&gt;Example - specify that the Verdana font is to be used on the TextField&lt;br /&gt;&lt;br /&gt;import fl.transitions.Tween;&lt;br /&gt;import fl.transitions.easing.*;&lt;br /&gt;&lt;br /&gt;var format:TextFormat = new TextFormat();&lt;br /&gt;var tf:TextField;&lt;br /&gt;&lt;br /&gt;format.font = &quot;Verdana&quot;;&lt;br /&gt;format.color = 0x000000;&lt;br /&gt;format.size = 10;&lt;br /&gt;&lt;br /&gt;tf = new TextField();&lt;br /&gt;tf.setTextFormat(format);&lt;br /&gt;tf.embedFonts = true;  // this is necessary but one more step is required&lt;br /&gt;&lt;br /&gt;addChild(tf);&lt;br /&gt;&lt;br /&gt;tf.x = 10;&lt;br /&gt;tf.y = 10;&lt;br /&gt;&lt;br /&gt;new Tween(tf, &quot;alpha&quot;, Elastic.easeOut, 0, 0.5, 10, true);&lt;br /&gt;&lt;br /&gt;You also have to create a text field on the stage using the Flash authoring environment using the same font and click on &quot;Embed ...&quot;.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-11-08T02:38:04</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#75191">
		<title>flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#75191</link>
		<description>Setting the alpha value of a textfield even when the font  is embedded seems to have to no result in as3. Is there a workaround?</description>
		<dc:creator>Tim Brooke</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-10-18T10:04:26</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#73138">
		<title>flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#73138</link>
		<description>If your wondering how to get a TextField reference by name you might need a function/method like this:&lt;br /&gt;&lt;br /&gt;function getTextField(scope:Sprite, name:String):TextField&lt;br /&gt;{&lt;br /&gt;	var target:DisplayObject	= scope.getChildByName(name);&lt;br /&gt;	var returnTarget:TextField	= TextField(target);&lt;br /&gt;	return returnTarget;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Adjust as needed (MovieClip instead of Sprite, etc.). Don't bother trying to shorten up that process. You'll only end up pulling your hair out.</description>
		<dc:creator>RuneImp</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-09-01T21:13:03</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#70745">
		<title>flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#70745</link>
		<description>Hi, hello, i am just wondering a few things:&lt;br /&gt;&lt;br /&gt;1) when i add a img tag to my TextField and then assign an EventListener to this new object in IE 6 the EventListener doesn´t work but in Opera it work just fine.&lt;br /&gt;&lt;br /&gt;2)When adding new img tags the previous img tag loses its listeners why?&lt;br /&gt;&lt;br /&gt;3)Not sure if it is my code, but the third img tag causes flash to create an error why?</description>
		<dc:creator>Jackie_2004</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-07-25T17:30:58</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#67173">
		<title>flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#67173</link>
		<description>getLineLength() and other text masurement functions not always get proper results. If you put some text in a textfield, and after that you set the textfield's wordWrap property to true, you still get the line length as if the text wasn't wrapped. To get the proper getLineLength() of such a wrapped text, you have to set the wordWrap=true property, and after that put the text in the textfield.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example 1: bad behavior:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;var myText:String=&quot;A string somewhat too long to fit in the textfield&quot;;&lt;br /&gt;var tf:TextField=new TextField();&lt;br /&gt;tf.width=80;&lt;br /&gt;tf.height=16;&lt;br /&gt;tf.text=myText;&lt;br /&gt;tf.wordWrap=true; //wordWrap set after the text is put in the textField&lt;br /&gt;&lt;br /&gt;trace(tf.getLineLength(0)); &lt;br /&gt;// according to getLineLength() there is only 1 whole line of string, &lt;br /&gt;// which is 50 characters long in spite of the wordWrap=true &lt;br /&gt;// (still, the text in the textfield got wrapped correctly, &lt;br /&gt;// only the getLineLength() got wrong)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example 2 (slightly changed): good behavior:&lt;br /&gt;&lt;br /&gt;var myText:String=&quot;A string somewhat too long to fit in the textfield&quot;;&lt;br /&gt;var tf:TextField=new TextField();&lt;br /&gt;tf.width=80;&lt;br /&gt;tf.height=16;&lt;br /&gt;tf.wordWrap=true; //wordWrap set before the text is put in the textField&lt;br /&gt;tf.text=myText;&lt;br /&gt;&lt;br /&gt;trace(tf.getLineLength(0));&lt;br /&gt;// this time getLineLength() got the correct result&lt;br /&gt;// the first line ot the wrapped string is 9 characters long,&lt;br /&gt;// and the rest of the string got to the following lines of the textfield</description>
		<dc:creator>AMPO webdesign&amp;multimedia</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-05-22T00:34:52</dc:date>
	</item>
	</rdf:RDF>

