<?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>FlexMan &#187; class</title>
	<atom:link href="http://flexman.info/tag/class/feed/" rel="self" type="application/rss+xml" />
	<link>http://flexman.info</link>
	<description>Everything is Flex</description>
	<lastBuildDate>Sun, 30 Oct 2011 12:46:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>A Small Class For Flash TextFields &#8211; AS3 TextHighlighter</title>
		<link>http://flexman.info/2010/01/20/a-small-class-for-flash-textfields-as3-texthighlighter/</link>
		<comments>http://flexman.info/2010/01/20/a-small-class-for-flash-textfields-as3-texthighlighter/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 14:49:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe-Flash]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Highlight]]></category>
		<category><![CDATA[TextField]]></category>

		<guid isPermaLink="false">http://flexman.info/2010/01/20/a-small-class-for-flash-textfields-as3-texthighlighter/</guid>
		<description><![CDATA[It is a small but very useful class for flash textfields since there is no text highlighting capabilities for it. The class AS3 TextHighlighter supplied a simple API to highlight text with your custom style. What you need do is just have to implement an interface. You can download the code and see the example [...]]]></description>
			<content:encoded><![CDATA[<p>It is a small but very useful class for flash textfields since there is no text highlighting capabilities for it. The class AS3 TextHighlighter supplied a simple API to highlight text with your custom style. What you need do is just have to implement an interface. You can download the code and see the example in following URL:</p>
<div style="margin: 0px 0px 0px 15px;">
<script type="text/javascript"><!--
google_ad_client = "pub-2748932162110627";
/* 1st-FlexMan-Article-336-280-01 */
google_ad_slot = "5782465088";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p><span id="more-342"></span>
<p><a title="http://blog.formatlos.de/2009/06/22/as3-texthighlighter/" href="http://blog.formatlos.de/2009/06/22/as3-texthighlighter/">http://blog.formatlos.de/2009/06/22/as3-texthighlighter/</a></p>
<h3>Related Posts</h3><ul class="related_post"><li><a href="http://flexman.info/2010/07/20/how-to-uninstall-flash-player-completely-in-windows-and-mac/" title="How To Uninstall Flash Player Completely In Windows and Mac">How To Uninstall Flash Player Completely In Windows and Mac</a></li><li><a href="http://flexman.info/2010/02/27/an-open-source-xml-layout-engine-for-flash-xleff/" title="An Open Source XML Layout Engine For Flash &#8211; XLEFF">An Open Source XML Layout Engine For Flash &#8211; XLEFF</a></li><li><a href="http://flexman.info/2010/02/22/a-small-powerful-flash-preloading-library-ultraloader/" title="A Small &amp; Powerful Flash Preloading Library &ndash; Ultraloader">A Small &amp; Powerful Flash Preloading Library &ndash; Ultraloader</a></li><li><a href="http://flexman.info/2010/01/16/a-framework-help-you-to-create-flashflex-website-with-all-of-the-benefits-of-html-website-swfseo/" title="A Framework Help You to Create Flash/Flex Website With All of the Benefits of HTML Website &#8211; SWFSEO">A Framework Help You to Create Flash/Flex Website With All of the Benefits of HTML Website &#8211; SWFSEO</a></li><li><a href="http://flexman.info/2010/01/08/a-very-useful-air-java-tool-somaui/" title="A Very Useful AIR-Java Tool &#8211; SomaUI">A Very Useful AIR-Java Tool &#8211; SomaUI</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://flexman.info/2010/01/20/a-small-class-for-flash-textfields-as3-texthighlighter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Simple But Very Useful AIR log Class</title>
		<link>http://flexman.info/2008/09/13/a-simple-but-very-useful-air-log-class/</link>
		<comments>http://flexman.info/2008/09/13/a-simple-but-very-useful-air-log-class/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 13:46:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe-Flash]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[logger]]></category>

		<guid isPermaLink="false">http://flexman.info/2008/09/13/a-simple-but-very-useful-air-log-class/</guid>
		<description><![CDATA[In the article the list of helpful Flex or Flash debug tools, we could find many flex or flash debug tools. But for some applications, maybe we don&#8217;t need to input the whole package debugging. Following is a class which very simple but could meet basic debugging function requirement and could be used easily. Following [...]]]></description>
			<content:encoded><![CDATA[<p>In the article <a href="http://ntt.cc/2008/03/29/the-list-of-helpful-flex-or-flash-debug-tools.html">the list of helpful Flex or Flash debug tools</a>, we could find many flex or flash debug tools. But for some applications, maybe we don&#8217;t need to input the whole package debugging. Following is a class which very simple but could meet basic debugging function requirement and could be used easily. Following is the code:</p>
<div style="margin: 0px 0px 0px 15px;">
<script type="text/javascript"><!--
google_ad_client = "pub-2748932162110627";
/* 1st-FlexMan-Article-336-280-01 */
google_ad_slot = "5782465088";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p><span id="more-65"></span></p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Blue;">package</span><span style="color: Gray;"> </span><span style="color: Blue;">com</span><span style="color: Gray;">.</span><span style="color: Blue;">engroup</span><span style="color: Gray;">.</span><span style="color: Teal;">log</span></li>
<li><span style="color: Gray;">...</span></li>
<li><span style="color: #ffa500;">/**</span></li>
<li><span style="color: #ffa500;">* The custom logger factory of eSoftHead company</span></li>
<li><span style="color: #ffa500;">*/</span></li>
<li><span style="color: Green;">public</span><span style="color: Gray;">&nbsp;</span><span style="color: Green;">class</span><span style="color: Gray;"> </span><span style="color: Blue;">LoggerFactory</span></li>
<li><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">private</span><span style="color: Gray;">&nbsp;</span><span style="color: Green;">static</span><span style="color: Gray;"> </span><span style="color: Green;">var</span><span style="color: Gray;"> </span><span style="color: Blue;">instance</span><span style="color: Gray;">:</span><span style="color: Blue;">LoggerFactory</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;"> </span><span style="color: Blue;">LoggerFactory</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">function</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">LoggerFactory</span><span style="color: Olive;">()</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">if</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">(</span><span style="color: Blue;">instance</span><span style="color: Gray;"> != </span><span style="color: Green;">null</span><span style="color: Olive;">)</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">throw</span><span style="color: Gray;">&nbsp;</span><span style="color: Green;">new</span><span style="color: Gray;"> </span><span style="color: Teal;">Error</span><span style="color: Olive;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">The instance Logger already be exist</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">}</span><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// hard-code or can read the configuration file in application path&nbsp; &nbsp; &nbsp; &nbsp; var logTarget:TraceTarget = new TraceTarget();</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">logTarget</span><span style="color: Gray;">.</span><span style="color: Teal;">filters</span><span style="color: Gray;"> = </span><span style="color: Olive;">[</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">com.engroup.*</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">]</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">logTarget</span><span style="color: Gray;">.</span><span style="color: Blue;">level</span><span style="color: Gray;"> = </span><span style="color: Blue;">LogEventLevel</span><span style="color: Gray;">.</span><span style="color: Blue;">ALL</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">logTarget</span><span style="color: Gray;">.</span><span style="color: Blue;">includeCategory</span><span style="color: Gray;"> = </span><span style="color: Green;">true</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">logTarget</span><span style="color: Gray;">.</span><span style="color: Blue;">includeDate</span><span style="color: Gray;"> = </span><span style="color: Green;">true</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">logTarget</span><span style="color: Gray;">.</span><span style="color: Blue;">includeLevel</span><span style="color: Gray;"> = </span><span style="color: Green;">true</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">logTarget</span><span style="color: Gray;">.</span><span style="color: Blue;">includeTime</span><span style="color: Gray;"> = </span><span style="color: Green;">true</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">Log</span><span style="color: Gray;">.</span><span style="color: Blue;">addTarget</span><span style="color: Olive;">(</span><span style="color: Blue;">logTarget</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">}</span><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">private</span><span style="color: Gray;">&nbsp;</span><span style="color: Green;">function</span><span style="color: Gray;"> </span><span style="color: Blue;">getInternalLog</span><span style="color: Olive;">(</span><span style="color: Blue;">classReference</span><span style="color: Gray;">:</span><span style="color: Blue;">Class</span><span style="color: Olive;">)</span><span style="color: Gray;">: </span><span style="color: Blue;">ILogger</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Teal;">type</span><span style="color: Gray;">:</span><span style="color: Teal;">XML</span><span style="color: Gray;"> = </span><span style="color: Blue;">describeType</span><span style="color: Olive;">(</span><span style="color: Blue;">classReference</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">className</span><span style="color: Gray;">:</span><span style="color: Teal;">String</span><span style="color: Gray;"> = </span><span style="color: Teal;">type</span><span style="color: Gray;">.@</span><span style="color: Teal;">name</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Teal;">category</span><span style="color: Gray;">:</span><span style="color: Teal;">String</span><span style="color: Gray;"> = </span><span style="color: Blue;">className</span><span style="color: Gray;">.</span><span style="color: Teal;">replace</span><span style="color: Olive;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">::</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">, </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">.</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">return</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">Log</span><span style="color: Gray;">.</span><span style="color: Blue;">getLogger</span><span style="color: Olive;">(</span><span style="color: Teal;">category</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">public</span><span style="color: Gray;">&nbsp;</span><span style="color: Green;">static</span><span style="color: Gray;"> </span><span style="color: Green;">function</span><span style="color: Gray;"> </span><span style="color: Blue;">getLogger</span><span style="color: Olive;">(</span><span style="color: Blue;">classReference</span><span style="color: Gray;">:</span><span style="color: Blue;">Class</span><span style="color: Olive;">)</span><span style="color: Gray;">: </span><span style="color: Blue;">ILogger</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; </span><span style="color: Green;">return</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">instance</span><span style="color: Gray;">.</span><span style="color: Blue;">getInternalLog</span><span style="color: Olive;">(</span><span style="color: Blue;">classReference</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">}</span></li>
<li><span style="color: Olive;">}</span></li></ol></div>
<p>Following is an example:</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Green;">private</span><span style="color: Gray;"> </span><span style="color: Green;">static</span><span style="color: Gray;"> </span><span style="color: Green;">var</span><span style="color: Gray;"> </span><span style="color: Teal;">log</span><span style="color: Gray;">:</span><span style="color: Blue;">ILogger</span><span style="color: Gray;"> = </span><span style="color: Blue;">LoggerFactory</span><span style="color: Gray;">.</span><span style="color: Blue;">getLogger</span><span style="color: Olive;">(</span><span style="color: Blue;">ABC</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Teal;">log</span><span style="color: Gray;">.</span><span style="color: Blue;">debug</span><span style="color: Olive;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">The example log message</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li></ol></div>
<p>Chinese:<a href="http://blog.minidx.com/2008/09/13/1391.html">here</a></p>
<h3>Related Posts</h3><ul class="related_post"><li><a href="http://flexman.info/2010/01/20/a-small-class-for-flash-textfields-as3-texthighlighter/" title="A Small Class For Flash TextFields &#8211; AS3 TextHighlighter">A Small Class For Flash TextFields &#8211; AS3 TextHighlighter</a></li><li><a href="http://flexman.info/2010/01/08/a-very-useful-air-java-tool-somaui/" title="A Very Useful AIR-Java Tool &#8211; SomaUI">A Very Useful AIR-Java Tool &#8211; SomaUI</a></li><li><a href="http://flexman.info/2009/11/21/a-mx-framework-for-flash-flex-air-razor-component-framework/" title="A MX Framework for Flash/Flex &amp; AIR &#8211; Razor Component Framework">A MX Framework for Flash/Flex &amp; AIR &#8211; Razor Component Framework</a></li><li><a href="http://flexman.info/2009/10/30/application-framework-for-flex-and-flash-in-as3-parsley/" title="Application Framework For Flex and Flash in AS3 &#8211; Parsley">Application Framework For Flex and Flash in AS3 &#8211; Parsley</a></li><li><a href="http://flexman.info/2009/07/26/a-potential-vulnerability-in-adobe-reader-and-acrobat-and-adobe-flash-player-9-and-10/" title="A Potential Vulnerability in Adobe Reader and Acrobat 9.1.2 and Adobe Flash Player 9 and 10">A Potential Vulnerability in Adobe Reader and Acrobat 9.1.2 and Adobe Flash Player 9 and 10</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://flexman.info/2008/09/13/a-simple-but-very-useful-air-log-class/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 5/24 queries in 0.186 seconds using disk
Object Caching 249/467 objects using disk

Served from: flexman.info @ 2012-02-11 22:24:31 -->
