<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>franto.com &#187; Tip</title>
	<atom:link href="http://franto.com/tag/tip/feed/" rel="self" type="application/rss+xml" />
	<link>http://franto.com</link>
	<description></description>
	<lastBuildDate>Tue, 23 Aug 2011 10:29:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>FlexTip: WordWrap for mx:Text</title>
		<link>http://franto.com/flextip-wordwrap-for-mxtext/</link>
		<comments>http://franto.com/flextip-wordwrap-for-mxtext/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 09:57:09 +0000</pubDate>
		<dc:creator>Franto</dc:creator>
				<category><![CDATA[Flex Tips]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.franto.com/?p=534</guid>
		<description><![CDATA[Maybe it is easy, maybe not, but I do not think it&#8217;s straitforward and logical. If you want to set word wrapping for mx:Text you have to set width. If you did not do this, whole text will be in 1 row and not whole text can be visible. So just set width to fix [...]]]></description>
			<content:encoded><![CDATA[<div class='series_toc'><h3>Table of contents for flex-tips</h3><ol><li><a href='http://franto.com/flextips/' title='FlexTips'>FlexTips</a></li><li><a href='http://franto.com/flextips-mxtext-vs-mxtextarea/' title='FlexTip: mx:Text vs. mx:TextArea'>FlexTip: mx:Text vs. mx:TextArea</a></li><li><a href='http://franto.com/flextips-xmlsocket-connect-after-disconnect-from-server/' title='FlexTip: XMLSocket connect() after disconnect from server'>FlexTip: XMLSocket connect() after disconnect from server</a></li><li><a href='http://franto.com/flextips-problem-with-masks-and-scalable-flash/' title='FlexTip: Problem with masks and scalable Flash'>FlexTip: Problem with masks and scalable Flash</a></li><li><a href='http://franto.com/flextips-how-to-add-bitmap-to-uicomponent/' title='FlexTips: How to add Bitmap to UIComponent'>FlexTips: How to add Bitmap to UIComponent</a></li><li><a href='http://franto.com/flextips-stop-displaying-focus/' title='FlexTip &#8211; Stop displaying Focus'>FlexTip &#8211; Stop displaying Focus</a></li><li><a href='http://franto.com/preventing-checkbox-selection-with-keyspace/' title='FlexTip: Preventing CheckBox selection with Key.SPACE'>FlexTip: Preventing CheckBox selection with Key.SPACE</a></li><li>FlexTip: WordWrap for mx:Text</li><li><a href='http://franto.com/add-thumbs-to-mxslider-programatically/' title='FlexTip: Add Thumbs to Mx:Slider programatically'>FlexTip: Add Thumbs to Mx:Slider programatically</a></li><li><a href='http://franto.com/as3-conditional-breakpoint-enterdebugger/' title='AS3 Conditional Breakpoint &#8211; enterDebugger()'>AS3 Conditional Breakpoint &#8211; enterDebugger()</a></li></ol></div> <div class="TweetButton_button" style="float: right; margin-left: 10px;;height:20px;margin-bottom:5px;"><a href="http://twitter.com/share?url=http%3A%2F%2Ffranto.com%2Fflextip-wordwrap-for-mxtext%2F&amp;text=FlexTip: WordWrap for mx:Text&amp;count=vertical&amp;lang=en&amp;related=Flex,Tip"><img src="http://franto.com/blog2/wp-content/plugins/tweetbutton-for-wordpress/images/tweet.png" style="border:none" /></a></div>
<p>Maybe it is easy, maybe not, but I do not think it&#8217;s straitforward and logical. If you want to set word wrapping for mx:Text you have to set width. If you did not do this, whole text will be in 1 row and not whole text can be visible. So  just set width to fix value or percentage value to use word wrapping feature.</p>
<p>Why I don&#8217;t think that it&#8217;s not logical? Because when you did not set width to mx:Text it&#8217;s in 1 row, but just resize app, and now it&#8217;s wordwrapped. So it seems it&#8217;s problem only in initialization phase. I think it should work same in all ocassions. That&#8217;s just my 2 cents</p>
 <div class='series_links'><a href='http://franto.com/preventing-checkbox-selection-with-keyspace/' title='FlexTip: Preventing CheckBox selection with Key.SPACE'>Previous in series</a> <a href='http://franto.com/add-thumbs-to-mxslider-programatically/' title='FlexTip: Add Thumbs to Mx:Slider programatically'>Next in series</a></div>]]></content:encoded>
			<wfw:commentRss>http://franto.com/flextip-wordwrap-for-mxtext/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AirTip: List all of your drives in AIR application</title>
		<link>http://franto.com/airtip-list-all-of-your-drives-in-air-application/</link>
		<comments>http://franto.com/airtip-list-all-of-your-drives-in-air-application/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 08:00:44 +0000</pubDate>
		<dc:creator>Franto</dc:creator>
				<category><![CDATA[AIR Tips]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.franto.com/?p=522</guid>
		<description><![CDATA[This is quick Air Tip: If you need get list of all of your drives in code, just use var list:Array = File.getRootDirectories&#40;&#41;; It list all of y our hard drives with CD ROM drives. But if CD is inserted in CD ROM drive, it will be listed as well. I don&#8217;t find way how [...]]]></description>
			<content:encoded><![CDATA[<div class='series_toc'><h3>Table of contents for air-tip</h3><ol><li><a href='http://franto.com/airtips-problem-with-appxml-in-flex-3/' title='AirTip: Problem with app.xml in Flex 3'>AirTip: Problem with app.xml in Flex 3</a></li><li><a href='http://franto.com/airtip-air-application-gained-focus/' title='AirTip: AIR application gained focus'>AirTip: AIR application gained focus</a></li><li>AirTip: List all of your drives in AIR application</li><li><a href='http://franto.com/adobe-air-15-available-in-flex-sdk-nightly-builds/' title='Adobe AIR 1.5 available in Flex SDK Nightly builds'>Adobe AIR 1.5 available in Flex SDK Nightly builds</a></li><li><a href='http://franto.com/air-tip-contextmenuitem-can-crash-air-app-on-windows/' title='AIR Tip: ContextMenuItem can crash AIR app on Windows'>AIR Tip: ContextMenuItem can crash AIR app on Windows</a></li><li><a href='http://franto.com/air-tip-flash-movie-is-not-rendered-in-air-15-html-in-fullscreen/' title='AIR Tip: Flash movie is not rendered in AIR 1.5 HTML  in Fullscreen'>AIR Tip: Flash movie is not rendered in AIR 1.5 HTML  in Fullscreen</a></li></ol></div> <div class="TweetButton_button" style="float: right; margin-left: 10px;;height:20px;margin-bottom:5px;"><a href="http://twitter.com/share?url=http%3A%2F%2Ffranto.com%2Fairtip-list-all-of-your-drives-in-air-application%2F&amp;text=AirTip: List all of your drives in AIR application&amp;count=vertical&amp;lang=en&amp;related=AIR,Tip"><img src="http://franto.com/blog2/wp-content/plugins/tweetbutton-for-wordpress/images/tweet.png" style="border:none" /></a></div>
<p>This is quick Air Tip: If you need get list of all of your drives in code, just use</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #6699cc; font-weight: bold;">var</span> list<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Array</span> = File.getRootDirectories<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</pre></div></div>

<p>It list all of y our hard drives with CD ROM drives. But if CD is inserted in CD ROM drive, it will be listed as well. I don&#8217;t find way how to find out if drive is CD ROM drive, you can just search for files on that inserted CD.</p>
<p>If there is a way how to find out, if drive is CD ROM drive, let us know</p>
 <div class='series_links'><a href='http://franto.com/airtip-air-application-gained-focus/' title='AirTip: AIR application gained focus'>Previous in series</a> <a href='http://franto.com/adobe-air-15-available-in-flex-sdk-nightly-builds/' title='Adobe AIR 1.5 available in Flex SDK Nightly builds'>Next in series</a></div>]]></content:encoded>
			<wfw:commentRss>http://franto.com/airtip-list-all-of-your-drives-in-air-application/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AirTip: AIR application gained focus</title>
		<link>http://franto.com/airtip-air-application-gained-focus/</link>
		<comments>http://franto.com/airtip-air-application-gained-focus/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 13:25:21 +0000</pubDate>
		<dc:creator>Franto</dc:creator>
				<category><![CDATA[AIR Tips]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.franto.com/?p=520</guid>
		<description><![CDATA[This is little AIR Tip: if you want to know when your AIR application gained focus, just listen to AIREvent.APPLICATION_ACTIVATE. addEventListener&#40;AIREvent.APPLICATION_ACTIVATE, handleApplicationActivate&#41;;]]></description>
			<content:encoded><![CDATA[<div class='series_toc'><h3>Table of contents for air-tip</h3><ol><li><a href='http://franto.com/airtips-problem-with-appxml-in-flex-3/' title='AirTip: Problem with app.xml in Flex 3'>AirTip: Problem with app.xml in Flex 3</a></li><li>AirTip: AIR application gained focus</li><li><a href='http://franto.com/airtip-list-all-of-your-drives-in-air-application/' title='AirTip: List all of your drives in AIR application'>AirTip: List all of your drives in AIR application</a></li><li><a href='http://franto.com/adobe-air-15-available-in-flex-sdk-nightly-builds/' title='Adobe AIR 1.5 available in Flex SDK Nightly builds'>Adobe AIR 1.5 available in Flex SDK Nightly builds</a></li><li><a href='http://franto.com/air-tip-contextmenuitem-can-crash-air-app-on-windows/' title='AIR Tip: ContextMenuItem can crash AIR app on Windows'>AIR Tip: ContextMenuItem can crash AIR app on Windows</a></li><li><a href='http://franto.com/air-tip-flash-movie-is-not-rendered-in-air-15-html-in-fullscreen/' title='AIR Tip: Flash movie is not rendered in AIR 1.5 HTML  in Fullscreen'>AIR Tip: Flash movie is not rendered in AIR 1.5 HTML  in Fullscreen</a></li></ol></div> <div class="TweetButton_button" style="float: right; margin-left: 10px;;height:20px;margin-bottom:5px;"><a href="http://twitter.com/share?url=http%3A%2F%2Ffranto.com%2Fairtip-air-application-gained-focus%2F&amp;text=AirTip: AIR application gained focus&amp;count=vertical&amp;lang=en&amp;related=AIR,Tip"><img src="http://franto.com/blog2/wp-content/plugins/tweetbutton-for-wordpress/images/tweet.png" style="border:none" /></a></div>
<p>This is little AIR Tip: if you want to know when your AIR application gained focus, just listen to AIREvent.APPLICATION_ACTIVATE.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>AIREvent.APPLICATION_ACTIVATE, handleApplicationActivate<span style="color: #000000;">&#41;</span>;</pre></div></div>

 <div class='series_links'><a href='http://franto.com/airtips-problem-with-appxml-in-flex-3/' title='AirTip: Problem with app.xml in Flex 3'>Previous in series</a> <a href='http://franto.com/airtip-list-all-of-your-drives-in-air-application/' title='AirTip: List all of your drives in AIR application'>Next in series</a></div>]]></content:encoded>
			<wfw:commentRss>http://franto.com/airtip-air-application-gained-focus/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FlexTip: Preventing CheckBox selection with Key.SPACE</title>
		<link>http://franto.com/preventing-checkbox-selection-with-keyspace/</link>
		<comments>http://franto.com/preventing-checkbox-selection-with-keyspace/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 08:51:31 +0000</pubDate>
		<dc:creator>Franto</dc:creator>
				<category><![CDATA[Flex Tips]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.franto.com/?p=518</guid>
		<description><![CDATA[This is quick Flex Tip. If you do not need or do not want change CheckBox selection with space key, you can set mouseFocusEnabled to false. &#160; If you know about any other solutions, let us know.]]></description>
			<content:encoded><![CDATA[<div class='series_toc'><h3>Table of contents for flex-tips</h3><ol><li><a href='http://franto.com/flextips/' title='FlexTips'>FlexTips</a></li><li><a href='http://franto.com/flextips-mxtext-vs-mxtextarea/' title='FlexTip: mx:Text vs. mx:TextArea'>FlexTip: mx:Text vs. mx:TextArea</a></li><li><a href='http://franto.com/flextips-xmlsocket-connect-after-disconnect-from-server/' title='FlexTip: XMLSocket connect() after disconnect from server'>FlexTip: XMLSocket connect() after disconnect from server</a></li><li><a href='http://franto.com/flextips-problem-with-masks-and-scalable-flash/' title='FlexTip: Problem with masks and scalable Flash'>FlexTip: Problem with masks and scalable Flash</a></li><li><a href='http://franto.com/flextips-how-to-add-bitmap-to-uicomponent/' title='FlexTips: How to add Bitmap to UIComponent'>FlexTips: How to add Bitmap to UIComponent</a></li><li><a href='http://franto.com/flextips-stop-displaying-focus/' title='FlexTip &#8211; Stop displaying Focus'>FlexTip &#8211; Stop displaying Focus</a></li><li>FlexTip: Preventing CheckBox selection with Key.SPACE</li><li><a href='http://franto.com/flextip-wordwrap-for-mxtext/' title='FlexTip: WordWrap for mx:Text'>FlexTip: WordWrap for mx:Text</a></li><li><a href='http://franto.com/add-thumbs-to-mxslider-programatically/' title='FlexTip: Add Thumbs to Mx:Slider programatically'>FlexTip: Add Thumbs to Mx:Slider programatically</a></li><li><a href='http://franto.com/as3-conditional-breakpoint-enterdebugger/' title='AS3 Conditional Breakpoint &#8211; enterDebugger()'>AS3 Conditional Breakpoint &#8211; enterDebugger()</a></li></ol></div> <div class="TweetButton_button" style="float: right; margin-left: 10px;;height:20px;margin-bottom:5px;"><a href="http://twitter.com/share?url=http%3A%2F%2Ffranto.com%2Fpreventing-checkbox-selection-with-keyspace%2F&amp;text=FlexTip: Preventing CheckBox selection with Key.SPACE&amp;count=vertical&amp;lang=en&amp;related=Flex,Flex+Tips,Tip"><img src="http://franto.com/blog2/wp-content/plugins/tweetbutton-for-wordpress/images/tweet.png" style="border:none" /></a></div>
<p>This is quick Flex Tip. If you do not need or do not want change CheckBox selection with space key, you can set mouseFocusEnabled to false.</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;">&nbsp;</pre></div></div>

<p>If you know about any other solutions, let us know.</p>
 <div class='series_links'><a href='http://franto.com/flextips-stop-displaying-focus/' title='FlexTip &#8211; Stop displaying Focus'>Previous in series</a> <a href='http://franto.com/flextip-wordwrap-for-mxtext/' title='FlexTip: WordWrap for mx:Text'>Next in series</a></div>]]></content:encoded>
			<wfw:commentRss>http://franto.com/preventing-checkbox-selection-with-keyspace/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

