<?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; Flash</title>
	<atom:link href="http://franto.com/category/development/flash/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>Goodbye FlashDen, hello ActiveDen</title>
		<link>http://franto.com/goodbye-flashden-hello-activeden/</link>
		<comments>http://franto.com/goodbye-flashden-hello-activeden/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 20:04:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://franto.com/?p=1095</guid>
		<description><![CDATA[I've found out today, that there is no longer <strong>FlashDen.net</strong>, but instead there is new site in <strong>Envato network</strong> called <a href="http://franto.com/go/activeden.net"><strong>ActiveDen</strong></a>. It's same site, but Adobe has asked Envato to change the name because "Flash" is registered trademark of Adobe. And there are also Flex files on ActiveDen, so there are no more just pure Flash files, so it's maybe better name now.]]></description>
			<content:encoded><![CDATA[<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%2Fgoodbye-flashden-hello-activeden%2F&amp;text=Goodbye FlashDen, hello ActiveDen&amp;count=vertical&amp;lang=en&amp;related=Flash,Flex"><img src="http://franto.com/blog2/wp-content/plugins/tweetbutton-for-wordpress/images/tweet.png" style="border:none" /></a></div>
<p>I&#8217;ve found out today, that there is no longer <strong>FlashDen.net</strong>, but instead there is new site in <strong>Envato network</strong> called <a href="http://franto.com/go/activeden.net"><strong>ActiveDen</strong></a>. It&#8217;s same site, but Adobe has asked Envato to change the name because &#8220;Flash&#8221; is registered trademark of Adobe. And there are also Flex files on ActiveDen, so there are no more just pure Flash files, so it&#8217;s maybe better name now.</p>
<h3><a href="http://franto.com/go/activeden.net">Goodbye FlashDen, hello ActiveDen</a></h3>
]]></content:encoded>
			<wfw:commentRss>http://franto.com/goodbye-flashden-hello-activeden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inverse masking disclosed</title>
		<link>http://franto.com/inverse-masking-disclosed/</link>
		<comments>http://franto.com/inverse-masking-disclosed/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 11:50:29 +0000</pubDate>
		<dc:creator>Daniel Sedlacek</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[blending]]></category>
		<category><![CDATA[blendmode]]></category>
		<category><![CDATA[erase]]></category>
		<category><![CDATA[inverse]]></category>
		<category><![CDATA[layer]]></category>
		<category><![CDATA[mask]]></category>
		<category><![CDATA[masking]]></category>
		<category><![CDATA[reverse]]></category>

		<guid isPermaLink="false">http://www.franto.com/?p=948</guid>
		<description><![CDATA[Recently I have used inverse mask in my project &#8211; a mask that hides everything beneath it, keeping everything outside visible. I knew there is no direct support for inverse masking in Flash, but such effect can be achieved by using blend modes. To my surprise when you google the term &#8220;flash inverse mask&#8221; all [...]]]></description>
			<content:encoded><![CDATA[<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%2Finverse-masking-disclosed%2F&amp;text=Inverse masking disclosed&amp;count=vertical&amp;lang=en&amp;related=alpha,blending,blendmode,erase,inverse,layer,mask,masking,reverse"><img src="http://franto.com/blog2/wp-content/plugins/tweetbutton-for-wordpress/images/tweet.png" style="border:none" /></a></div>
<p>Recently I have used inverse mask in my project &#8211; <strong>a mask that hides everything beneath it, keeping everything outside visible</strong>. I knew there is no direct support for inverse masking in Flash, but such effect can be achieved by using blend modes.</p>
<p>To my surprise when you google the term &#8220;flash inverse mask&#8221; all top ten or so results claim that this is not possible in Flash(!). People either suggest to <em>&#8220;invert the mask&#8221;</em> or <em>&#8220;duplicate the background layer and put it on the top of the layer stack, mask that&#8221;</em>. Some more advanced coders even do some magic with BitmapData.treshold and ColorTransforms. This may work but the solution is way much easier.</p>
<p><span id="more-948"></span><br />
Simply set the blend mode of masking object to BlendMode.ERASE place it above the object you want to mask and set the blend mode of their parent to BlendMode.LAYER (this is essential). And that&#8217;s it! You can get similar effect when your mask is transparent and you project it&#8217;s transparency to underlying object by setting BlendMode.ALPHA.</p>
<p><object id="bt04" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="420" height="315" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="center" /><param name="allowScriptAccess" value="sameDomain" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="bgcolor" value="#ffffff" /><param name="src" value="http://www.franto.com/uploads/inverseMask.swf" /><param name="name" value="bt" /><embed id="bt04" type="application/x-shockwave-flash" width="420" height="315" src="http://www.franto.com/uploads/inverseMask.swf" name="bt" bgcolor="#ffffff" scale="noscale" quality="high" menu="false" allowscriptaccess="sameDomain" align="center"></embed></object></p>
<p>It is a pity that such valuable functionality remains almost unknown and unused and I think <strong>Adobe is the one to blame here</strong>. The documentation on blending modes is really poor, if not confusing. Especially the LAYER mode is confusing, stating <em>&#8220;This is done automatically if &#8230;is display object container with at least one child object with a blendMode setting other than BlendMode.NORMAL.&#8221;</em> while the ERASE mode reads <em>&#8220;This requires the blendMode of the parent display object to be set to BlendMode.LAYER&#8221;</em> (manually). I have also noticed that adding shadow to the parent object has the same effect here as setting the blend mode to LAYER. In addition, there are some nice pictures on how different blend modes work, but you won&#8217;t find them (nor a reference) in a <a href="http://livedocs.adobe.com/flash/9.0/main/00000162.html">Applying blending modes</a> chapter, nor in <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BlendMode.html">BlendMode class documentation</a> but only in <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObject.html#blendMode">DisplayObject class documentation</a>. To shame Adobe even more, blend modes are available since <em>&#8220;ActionScript 1.0; Flash Player 8&#8243;</em></p>
<p>If this article was of any help to you please lave me a comment <img src='http://franto.com/blog2/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Download source FLA <a title="inverseMask.fla" href="http://www.franto.com/uploads/inverseMask.fla">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://franto.com/inverse-masking-disclosed/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>AS3 Conditional Breakpoint &#8211; enterDebugger()</title>
		<link>http://franto.com/as3-conditional-breakpoint-enterdebugger/</link>
		<comments>http://franto.com/as3-conditional-breakpoint-enterdebugger/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 10:41:47 +0000</pubDate>
		<dc:creator>Franto</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex Tips]]></category>
		<category><![CDATA[AS3 Tip]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Tip]]></category>

		<guid isPermaLink="false">http://www.franto.com/?p=922</guid>
		<description><![CDATA[I have to confess I didn't know about great function enterDebugger() in flash.debugger package. If you ever want to have conditional breakpoint you can do it programatically. Just add this statement to you code and debuger will stop as it there would be normal breakpoint. So you can use it in IF statement and call it just when some conditions are met. I think I will use this function a lot from now on :)]]></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><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>AS3 Conditional Breakpoint &#8211; enterDebugger()</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%2Fas3-conditional-breakpoint-enterdebugger%2F&amp;text=AS3 Conditional Breakpoint &#8211; enterDebugger()&amp;count=vertical&amp;lang=en&amp;related=AS3+Tip,Flex,Flex+Tip"><img src="http://franto.com/blog2/wp-content/plugins/tweetbutton-for-wordpress/images/tweet.png" style="border:none" /></a></div>
<p>I have to confess I didn&#8217;t know about great function enterDebugger() in flash.debugger package. If you ever want to have conditional breakpoint you can do it programatically. Just add this statement to your code and debuger will stop as it there would be normal breakpoint. So you can use it in IF statement and call it just when some conditions are met. I think I will use this function a lot from now on <img src='http://franto.com/blog2/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Enjoy</p>
 <div class='series_links'><a href='http://franto.com/add-thumbs-to-mxslider-programatically/' title='FlexTip: Add Thumbs to Mx:Slider programatically'>Previous in series</a> </div>]]></content:encoded>
			<wfw:commentRss>http://franto.com/as3-conditional-breakpoint-enterdebugger/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Crop whitespace from PNG image</title>
		<link>http://franto.com/crop-whitespace-from-png-image/</link>
		<comments>http://franto.com/crop-whitespace-from-png-image/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 11:04:55 +0000</pubDate>
		<dc:creator>Franto</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3 Tip]]></category>

		<guid isPermaLink="false">http://www.franto.com/?p=912</guid>
		<description><![CDATA[Yesterday, I've posted about interesting AS3 Class <a href="http://www.franto.com/interactivepng-useful-as3-class">InteractivePNG</a>, and now I'm adding new addition for solving other problem with transparent Bitmaps. If you have transparent bitmap with whitespace around image and you want to crop whitespace around "real" image, you can use this function...]]></description>
			<content:encoded><![CDATA[<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%2Fcrop-whitespace-from-png-image%2F&amp;text=Crop whitespace from PNG image&amp;count=vertical&amp;lang=en&amp;related=ActionScript,AS3+Tip,Flash"><img src="http://franto.com/blog2/wp-content/plugins/tweetbutton-for-wordpress/images/tweet.png" style="border:none" /></a></div>
<p>Yesterday, I&#8217;ve posted about interesting AS3 Class <a href="http://www.franto.com/interactivepng-useful-as3-class">InteractivePNG</a>, and now I&#8217;m adding new addition for solving other problem with transparent Bitmaps. If you have transparent bitmap with whitespace around image and you want to crop whitespace around &#8220;real&#8221; image, you can use this function&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">public</span> static <span style="color: #339966; font-weight: bold;">function</span> getBitmapCroppedOutWhitespace<span style="color: #000000;">&#40;</span>bd<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">BitmapData</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Bitmap</span>
<span style="color: #000000;">&#123;</span>
	<span style="color: #6699cc; font-weight: bold;">var</span> bmd<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">BitmapData</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">BitmapData</span><span style="color: #000000;">&#40;</span>bd.<span style="color: #004993;">width</span>, bd.<span style="color: #004993;">height</span>, <span style="color: #0033ff; font-weight: bold;">true</span>, 0x00000000<span style="color: #000000;">&#41;</span>;
	bmd.<span style="color: #004993;">draw</span><span style="color: #000000;">&#40;</span>bd<span style="color: #000000;">&#41;</span>;
&nbsp;
	<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">rect</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Rectangle</span> = bmd.<span style="color: #004993;">getColorBoundsRect</span><span style="color: #000000;">&#40;</span>0xFFFFFF, 0x00000000, <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000;">&#41;</span>;
	<span style="color: #6699cc; font-weight: bold;">var</span> bmd2<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">BitmapData</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">BitmapData</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">rect</span>.<span style="color: #004993;">width</span>, <span style="color: #004993;">rect</span>.<span style="color: #004993;">height</span>, <span style="color: #0033ff; font-weight: bold;">true</span>, 0x00000000<span style="color: #000000;">&#41;</span>;
	bmd2.<span style="color: #004993;">draw</span><span style="color: #000000;">&#40;</span>bmd, <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Matrix</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">1</span>,<span style="color: #000000; font-weight:bold;">0</span>,<span style="color: #000000; font-weight:bold;">0</span>,<span style="color: #000000; font-weight:bold;">1</span>, <span style="color: #000000; font-weight: bold;">-</span><span style="color: #004993;">rect</span>.<span style="color: #004993;">x</span>, <span style="color: #000000; font-weight: bold;">-</span><span style="color: #004993;">rect</span>.<span style="color: #004993;">y</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
	<span style="color: #6699cc; font-weight: bold;">var</span> bmp<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Bitmap</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Bitmap</span><span style="color: #000000;">&#40;</span>bmd2<span style="color: #000000;">&#41;</span>;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">return</span> bmp;
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>From BitmapData it creates Bitmap without whitespace. It will find whitespace automaticaly and removes it. If you want to insert Bitmap data instead of BitmapData, just edit this function slightly. This is just idea how to do such cropping. Enjoy, I hope it will be useful for someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://franto.com/crop-whitespace-from-png-image/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>InteractivePNG &#8211; useful AS3 class</title>
		<link>http://franto.com/interactivepng-useful-as3-class/</link>
		<comments>http://franto.com/interactivepng-useful-as3-class/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 21:47:09 +0000</pubDate>
		<dc:creator>Franto</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.franto.com/?p=905</guid>
		<description><![CDATA[I working on some game editors for my old game engine (not finished) to show people something what I have and let people convince me maybe to continue (<a href="http://www.fallenswordsgame.com">fallenswordsgame.com</a>) and there are lot of PNG assets. If I got on stage many PNG images there is problem with selection of correct one, because in AS3 there are MouseEvent events even on transparent pixels and that's problem. I have tried search if someone did great job on some workaround and I have found really great AS3 class called <strong><a href="http://blog.mosessupposes.com/?p=40">InteractivePNG</a></strong>.]]></description>
			<content:encoded><![CDATA[<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%2Finteractivepng-useful-as3-class%2F&amp;text=InteractivePNG &#8211; useful AS3 class&amp;count=vertical&amp;lang=en"><img src="http://franto.com/blog2/wp-content/plugins/tweetbutton-for-wordpress/images/tweet.png" style="border:none" /></a></div>
<p>I&#8217;m working on some game editors for my old game engine (not finished) to show people something what I have done and let people convince me maybe to continue (<a href="http://www.fallenswordsgame.com">fallenswordsgame.com</a>). There are lot of PNG assets used. If there are many PNG images on stage, there is problem with selection of correct one, because in AS3 there are MouseEvent events even on transparent pixels and that&#8217;s problem. I have tried search if someone did great job on some workaround and I have found really great AS3 class called <strong><a href="http://blog.mosessupposes.com/?p=40">InteractivePNG</a></strong>. You can set even alphaTolerance to tell class if your MouseEvent event should be catched on semitransparent pixels or just opaque pixels. Check it out <a href="http://www.mosessupposes.com/utilities/InteractivePNG_demo.html">InteractivePNG demo</a>.  It really helps me, so I hope it can help you as well. Great job, Moses.</p>
]]></content:encoded>
			<wfw:commentRss>http://franto.com/interactivepng-useful-as3-class/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>AS3.0 KeyboardEvent WooDoo</title>
		<link>http://franto.com/as30-keyboardevent-woodoo/</link>
		<comments>http://franto.com/as30-keyboardevent-woodoo/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 13:43:47 +0000</pubDate>
		<dc:creator>Franto</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.franto.com/?p=660</guid>
		<description><![CDATA[WTF? I don&#8217;t know what&#8217;s wrong, and if this is a bug or anything, but I came across interesting issue. Let me first tell, that it seems it&#8217;s bug on Windows, or maybe just my Windows really do not know, I need you to help me. I need your test to let me find out [...]]]></description>
			<content:encoded><![CDATA[<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%2Fas30-keyboardevent-woodoo%2F&amp;text=AS3.0 KeyboardEvent WooDoo&amp;count=vertical&amp;lang=en"><img src="http://franto.com/blog2/wp-content/plugins/tweetbutton-for-wordpress/images/tweet.png" style="border:none" /></a></div>
<p>WTF?  I don&#8217;t know what&#8217;s wrong, and if this is a bug or anything, but I came across interesting issue. Let me first tell, that it seems it&#8217;s bug on Windows, or maybe just my Windows <img src='http://franto.com/blog2/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  really do not know, I need you to help me. I need your test to let me find out what is the problem, because it seems that it works on my friend&#8217; Mac. I&#8217;ve tried Flash Player 9.0.115 and 9.0.124.</p>
<p>Problems is in getting KeyboardEvent.KEY_DOWN for multiple keys. I&#8217;m working on some sport game in AS3 and I need to check for key kombination like Right Arrow + Down Arrow + Space, but it&#8217;s never fired up on my Windows. I thought it&#8217;s some logic what&#8217;s wrong in my game, so I&#8217;ve created simple pure AS3 example and there is problem as well. There is strange Woodoo, some combinations work, some do not <img src='http://franto.com/blog2/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I really do not see the logic. Here is example, just press and multiple Arrows and Space in same time. You can try simple key strokes, you will see red keys when key is pressed (KeyboardEvent.KEY_DOWN was received). When you release key, it just come back to its grey state. So please play and let me know your results. I need to know OS, Player version (included in example) and if you have same problems as me, or what does not work for you. (Click to movie, to gain focus)</p>
<p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="KeyTest" width="420" height="140" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="http://www.franto.com/blog2/wp-content/uploads/examples/keytest/KeyTest.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#869ca7" /><param name="allowScriptAccess" value="sameDomain" /><embed src="http://www.franto.com/blog2/wp-content/uploads/examples/keytest/KeyTest.swf" quality="high" bgcolor="#869ca7" width="420" height="140" name="KeyTest" align="middle" play="true" loop="false"	quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object></p>
<p>And here is my Woodoo, I simply can not do this combinations</p>
<ul>
<li>SPACE + LEFT ARROW + UP ARROW</li>
<li>SPACE + LEFT ARROW + DOWN ARROW</li>
<li>SPACE + RIGHT ARROW + DOWN ARROW</li>
<li>SPACE + RIGHT ARROW + UP ARROW &#8211; <span style="color:red"><strong>ATTENTION!!! I can do this combination</strong></span></li>
</ul>
<p>Next example, press and hold SPACE + LEFT ARROW, now press DOWN ARROW, KEY_DOWN event is not fired, just release SPACE while DONW ARROW is still pressed, and now KEY_DOWN event for DOWN ARROW is fired up. WTF ?</p>
<p>Please can you confirm my Woodoo. I need to find out, if this is Flash Player Bug, or maybe something else? Please post your result to comments. Thank you.</p>
<p>If you want stay updated with result or similar tips &#038; tricks, or any other stuff I think it&#8217;s interested and important, please consider subscribe to my <a href="http://www.franto.com/frantocom-tips-tricks" title="Usefull Tips &#038; Tricks from Flex / AIR / Flash / ActionScript World">Franto.com Tips &#038; Tricks</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://franto.com/as30-keyboardevent-woodoo/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>You can meet me in Brighton this year.</title>
		<link>http://franto.com/you-can-meet-me-in-brighton-this-year/</link>
		<comments>http://franto.com/you-can-meet-me-in-brighton-this-year/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 19:53:51 +0000</pubDate>
		<dc:creator>Franto</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flexets]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[fotb]]></category>

		<guid isPermaLink="false">http://www.franto.com/?p=589</guid>
		<description><![CDATA[If you are going on FlashOnTheBeach to Brighton this year, you can meet me there and say hello. Maybe beer will be good at the evening If you will look for Flexets guys (t-shirt with Flexets logo) I know you will find me. It&#8217;s always great to see my readers and subscribers. I&#8217;m looking forward [...]]]></description>
			<content:encoded><![CDATA[<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%2Fyou-can-meet-me-in-brighton-this-year%2F&amp;text=You can meet me in Brighton this year.&amp;count=vertical&amp;lang=en&amp;related=conference,Flash,Flexets,fotb"><img src="http://franto.com/blog2/wp-content/plugins/tweetbutton-for-wordpress/images/tweet.png" style="border:none" /></a></div>
<p>If you are going on <a href="http://flashonthebeach.com/">FlashOnTheBeach</a> to Brighton this year, you can meet me there and say hello. Maybe beer will be good at the evening <img src='http://franto.com/blog2/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  If you will look for <a href="http://www.flexets.com">Flexets</a> guys (t-shirt with <a href="http://www.flexets.com">Flexets</a>  logo) I know you will find me. It&#8217;s always great to see my readers and subscribers. I&#8217;m looking forward to meet my <a href="http://www.franto.com/frantocom-tips-tricks"><strong>Franto.com Tips &#038; Tricks</strong></a> subscribers, we can talk about stuff you want to see inside newsletter.</p>
<p>Say hello in Brighton in few days.</p>
]]></content:encoded>
			<wfw:commentRss>http://franto.com/you-can-meet-me-in-brighton-this-year/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WP Syntax: Finally WP plugin for ActionScript 3 and MXML syntax highlighting</title>
		<link>http://franto.com/wp-syntax-finally-wp-plugin-for-actionscript-3-and-mxml-syntax-highlighting/</link>
		<comments>http://franto.com/wp-syntax-finally-wp-plugin-for-actionscript-3-and-mxml-syntax-highlighting/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 08:45:04 +0000</pubDate>
		<dc:creator>Franto</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.franto.com/?p=531</guid>
		<description><![CDATA[Finally I&#8217;ve found good WordPress plugin for syntax highligting of ActionScript 3 and MXML. Syntax is very easy (who would tell that ) with only 2 settings: lang, line (from which line should code starts). So from today I can support both my favourite languages on my blog (i&#8217;ve changed already my last 3 posts) [...]]]></description>
			<content:encoded><![CDATA[<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%2Fwp-syntax-finally-wp-plugin-for-actionscript-3-and-mxml-syntax-highlighting%2F&amp;text=WP Syntax: Finally WP plugin for ActionScript 3 and MXML syntax highlighting&amp;count=vertical&amp;lang=en&amp;related=plugin,Wordpress"><img src="http://franto.com/blog2/wp-content/plugins/tweetbutton-for-wordpress/images/tweet.png" style="border:none" /></a></div>
<p>Finally I&#8217;ve found good <a href="http://wordpress.org/extend/plugins/wp-syntax">WordPress plugin for syntax highligting</a> of ActionScript 3 and MXML. Syntax is very easy (who would tell that <img src='http://franto.com/blog2/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) with only 2 settings: <strong>lang</strong>, <strong>line </strong>(from which line should code starts). So from today I can support both my favourite languages on my blog (i&#8217;ve changed already my last 3 posts)</p>
<p><a href="http://wordpress.org/extend/plugins/wp-syntax"><br />
<h1>WP Syntax</h1>
<p></a></p>
<p>It supports many other languages as well <img src='http://franto.com/blog2/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>abap, <strong>actionscript</strong>, <strong>actionscript3</strong>, ada, apache, applescript, aptsources, asm, asp, autoit, bash, blitzbasic, bnf, boo, c, cmac, caddcl, cadlisp, cil, cfdg, cfm, cobol, cpp-qt, cpp, csharp, css, d, delphi, diff, div, dos, dot, eiffel, fortran, freebasic, genero, gettext, glsl, gml, bnuplot, groovy, haskell, html4strict, idl, ini, inno, io, java, java5, javascript, kixtart, klonec, klonecpp, latex, lisp, lotusformulas, lotusscript, lua, m68k, matlab, mirc, mpasm, <strong>mxml</strong>, mysql, nsis, objc, ocaml-brief, ocaml, oobas, oracle8, pascal, per, pic16, perl, php-brief, php, plsql, povray, powershell, progress, python, qbasic, rails, reg, robots, ruby, sas, scala, scheme, sdlbasic, smalltalk, smarty, sql, tcl, text, thinbasic, tsql, typoscript, vb, vbnet, verilog, vhdl, visualfoxpro, winbatch, xml, xorg_conf, xpp, z80</p>
]]></content:encoded>
			<wfw:commentRss>http://franto.com/wp-syntax-finally-wp-plugin-for-actionscript-3-and-mxml-syntax-highlighting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WampServer &#8211; all you need for your localhost</title>
		<link>http://franto.com/wampserver-all-you-need-for-your-localhost/</link>
		<comments>http://franto.com/wampserver-all-you-need-for-your-localhost/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 16:40:12 +0000</pubDate>
		<dc:creator>Franto</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.franto.com/?p=516</guid>
		<description><![CDATA[I&#8217;m not PHP or MySQL guru, but from time to time I need test some product which I will use on live server and till now on the best 1-click installation of Apache, PHP and MySQL for me is WampServer. Installation takes few moments and that&#8217;s all. You can just start all services with one [...]]]></description>
			<content:encoded><![CDATA[<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%2Fwampserver-all-you-need-for-your-localhost%2F&amp;text=WampServer &#8211; all you need for your localhost&amp;count=vertical&amp;lang=en&amp;related=apache,mysql,php"><img src="http://franto.com/blog2/wp-content/plugins/tweetbutton-for-wordpress/images/tweet.png" style="border:none" /></a></div>
<p>I&#8217;m not PHP or MySQL guru, but from time to time I need test some product which I will use on live server and till now on the best 1-click installation of Apache, PHP and MySQL for me is <a title="WampServer = Apache + PHP + MySQL" href="http://www.wampserver.com/en/index.php">WampServer</a>. Installation takes few moments and that&#8217;s all. You can just start all services with one click and your localhost is ready. (only 1 little problem is, that you have to stop Skype when you are about to start <a title="WampServer = Apache + PHP + MySQL" href="http://www.wampserver.com/en/index.php">WampServer</a> services. After starting services, you can start Skype again). From system tray you can start many Apache modules or PHP extensions and configure your localhost as you need. This is fast and easy solution for <a href="http://www.apache.org/">Apache</a> + <a href="http://www.php.net/">PHP</a> + <a href="http://www.mysql.com">MySQL</a> installation on y our localhost.</p>
<p>If you are prefer any other solution, which is probable better, let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://franto.com/wampserver-all-you-need-for-your-localhost/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Generating .xls Excel file &#8211; part I.</title>
		<link>http://franto.com/generating-xls-excel-file-part-i/</link>
		<comments>http://franto.com/generating-xls-excel-file-part-i/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 10:20:58 +0000</pubDate>
		<dc:creator>Franto</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.franto.com/?p=493</guid>
		<description><![CDATA[In my latest project I need generate Excel .xls file from Flex. Because in Flex or Flash there is no support for such generation, I&#8217;ve to do it manually and I want to share this knowledge with all of you in this new tutorial serie. Because content of Excel file can vary this will be [...]]]></description>
			<content:encoded><![CDATA[<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%2Fgenerating-xls-excel-file-part-i%2F&amp;text=Generating .xls Excel file &#8211; part I.&amp;count=vertical&amp;lang=en&amp;related=ActionScript,Excel,Flex"><img src="http://franto.com/blog2/wp-content/plugins/tweetbutton-for-wordpress/images/tweet.png" style="border:none" /></a></div>
<p>In my latest project I need generate Excel .xls file from <strong>Flex</strong>. Because in <strong>Flex</strong> or <strong>Flash</strong> there is no support for such generation, I&#8217;ve to do it manually and I want to share this knowledge with all of you in this <strong>new tutorial serie</strong>. Because content of Excel file can vary this will be serie of posts. And this information is for all developers not only for Flash or Flex coders, because this is general information about generating .xls Excel file, only some parts can contain some ActionScript code.</p>
<h3>Different ways of generating .xls file</h3>
<p>There is many ways for generating .xls file, I will not write about all ways, just about ways, which were suitable for my <strong>Flex project</strong>. As probably all of you know .xls is binary file, but it&#8217;s not always true. I will write about this later.</p>
<h3>How to start with generating .xls Excel file</h3>
<p>Maybe best thing at the start is make test .xls file and save it and look at source code. As I told .xls has binary data format, but you have possibilities to save file as Webpage or XML file, and that&#8217;s what we want. So we got 2 text formats available:</p>
<ul>
<li><strong>HTML</strong></li>
<li><strong>XML</strong></li>
</ul>
<p>So <strong>SUPER SECRET</strong> is simple:</p>
<h2 class="redColor ">Save your html or xml file as .xls file &#8211; Excel will do the rest.</h2>
<p></p>
<p>In next part I will show you some simple generation of .xls Ecel file with some styling. Stay tuned and subcribe to my <a href="http://feeds.feedburner.com/franto">RSS Feed</a> or <a href="http://twitter.com/franto">Follow me at Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://franto.com/generating-xls-excel-file-part-i/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

