<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>.swfgeek &#187; FLASH IDE</title>
	<atom:link href="http://www.swfgeek.net/category/flash-ide/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.swfgeek.net</link>
	<description>My Flash Wanderings</description>
	<lastBuildDate>Thu, 29 Jul 2010 17:47:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
		<item>
		<title>Adobe Flash CS5 Review pt 3: The Code Snippets Panel</title>
		<link>http://www.swfgeek.net/2010/04/30/adobe-flash-cs5-review-pt-3-the-code-snippets-panel/</link>
		<comments>http://www.swfgeek.net/2010/04/30/adobe-flash-cs5-review-pt-3-the-code-snippets-panel/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 14:59:33 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[ACTIONSCRIPT 3.0]]></category>
		<category><![CDATA[ADOBE]]></category>
		<category><![CDATA[ADOBE CS5]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[FLASH CS5]]></category>
		<category><![CDATA[FLASH IDE]]></category>
		<category><![CDATA[actionscript editor]]></category>
		<category><![CDATA[code editor]]></category>
		<category><![CDATA[custom code hinting]]></category>
		<category><![CDATA[features]]></category>
		<category><![CDATA[panel]]></category>
		<category><![CDATA[snippets]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=883</guid>
		<description><![CDATA[So for the third part of this series and I guess the last now that Adobe released the CS5 and You can explore the new Flash CS5 by Your own, in the above video I&#8217;m showing you the ActionScript 3.0 code snippets panel  this cool little panel will be loved by designers and new coders [...]]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="480" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=11354943&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="640" height="480" src="http://vimeo.com/moogaloop.swf?clip_id=11354943&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>So for the third part of this series and I guess the last now that<a title="Adobe CS5" href="http://www.adobe.com/products/creativesuite/?promoid=GWYLN" target="_blank"> Adobe released the CS5</a> and You can explore the new Flash CS5 by Your own, in the above video I&#8217;m showing you the ActionScript 3.0 code snippets panel  this cool little panel will be loved by designers and new coders alike. Lee Brimelow had  already made one <a title="Lee Brimelow snippets panel" href="http://theflashblog.com/?p=349" target="_blank">snippets panel </a>and this one is based on that, to use it you simply select your movie clip and drag one snippet from this panel, your timeline will automatically add an ActionScript layer with the code needed. You can also create your own snippets so if you&#8217;re new to coding or a designer this panel will help you out a lot.</p>
<p><a title="Adobe Flash CS5" href="http://www.adobe.com/products/flash/" target="_blank">Download the Flash CS5 trial here</a> and start playing.</p>
<p>Happy Coding !!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2010/04/30/adobe-flash-cs5-review-pt-3-the-code-snippets-panel/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>Adobe Flash CS5 Review pt 2: Custom class code hinting and completition</title>
		<link>http://www.swfgeek.net/2010/04/29/adobe-flash-cs5-review-pt-2-custom-class-code-hinting-and-completition/</link>
		<comments>http://www.swfgeek.net/2010/04/29/adobe-flash-cs5-review-pt-2-custom-class-code-hinting-and-completition/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 05:59:23 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[ACTIONSCRIPT 3.0]]></category>
		<category><![CDATA[ADOBE]]></category>
		<category><![CDATA[ADOBE CS5]]></category>
		<category><![CDATA[EXAMPLES]]></category>
		<category><![CDATA[FLASH CS5]]></category>
		<category><![CDATA[FLASH IDE]]></category>
		<category><![CDATA[actionscript editor]]></category>
		<category><![CDATA[code editor]]></category>
		<category><![CDATA[custom code hinting]]></category>
		<category><![CDATA[features]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=867</guid>
		<description><![CDATA[Flash CS5 Features 02 Custom class code hinting and completion. from David Gamez on Vimeo. Ok  so for the second part of this series I&#8217;m showing You a little video of  something you&#8217;ll love if you use to code in FlashIDE  ActionScript editor. The improved editor now let&#8217;s  you work with custom code hinting and [...]]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="480" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=11348058&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="640" height="480" src="http://vimeo.com/moogaloop.swf?clip_id=11348058&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://vimeo.com/11348058">Flash CS5 Features 02 Custom class code hinting and completion.</a> from <a href="http://vimeo.com/user1389514">David Gamez</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Ok  so for the second part of this series I&#8217;m showing You a little video of  something you&#8217;ll love if you use to code in FlashIDE  ActionScript editor.</p>
<p>The improved editor now let&#8217;s  you work with custom code hinting and completition and it works pretty fast it&#8217;s as easy as setting your classpaths and the editor will recognize all of your libraries and custom classes.</p>
<p>To be totally honest, I would not leave the ActionScript editor I&#8217;m using now for the one that comes with the Flash IDE but it definitely eases up the workflow if you&#8217;re using it.</p>
<p>See You around.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2010/04/29/adobe-flash-cs5-review-pt-2-custom-class-code-hinting-and-completition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>Flash on the iPhone</title>
		<link>http://www.swfgeek.net/2009/10/06/flash-on-the-iphone/</link>
		<comments>http://www.swfgeek.net/2009/10/06/flash-on-the-iphone/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 06:54:35 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[ACTIONSCRIPT 3.0]]></category>
		<category><![CDATA[ADOBE]]></category>
		<category><![CDATA[ADOBE LABS]]></category>
		<category><![CDATA[ADOBE MAX]]></category>
		<category><![CDATA[BETAS]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[FLASH CS5]]></category>
		<category><![CDATA[FLASH IDE]]></category>
		<category><![CDATA[FLASH PLATFORM]]></category>
		<category><![CDATA[FLASH PLAYER]]></category>
		<category><![CDATA[Adobe Max 2009]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=696</guid>
		<description><![CDATA[Adobe has revealed  at AdobeMax2009 that starting from Flash CS5 developers will be able to build applications for the iPhone and that those apps will be available at the Apple Store. So if you haven&#8217;t already jumped in the Objective-C  bandwagon to develop some iPhone Apps you can now write in your beloved ActionScript 3 [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-709" title="appsfor_iphone_ph2_557x200" src="http://www.swfgeek.net/blog/wp-content/uploads/2009/10/appsfor_iphone_ph2_557x200.jpg" alt="appsfor_iphone_ph2_557x200" width="557" height="200" /></p>
<p>Adobe has revealed  at AdobeMax2009 that starting from <a title="Adobe Labs Flash CS5 Beta" href="http://labs.adobe.com/technologies/flashcs5/" target="_blank">Flash CS5</a> developers will be able to build applications for the iPhone and that those apps will be available at the Apple Store. So if you haven&#8217;t already jumped in the Objective-C  bandwagon to develop some iPhone Apps you can now write in your beloved ActionScript 3 and use all the goodies from the  iPhone like web access , multitouch, accelerometers, GPS  and compass. Besides all the well know Flash abilities. It&#8217;s important to note that althought these will run as applications Flash Player still not enabled on the iPhone so you will not have flash on Safari or other web applications. It&#8217;s a big advance but I really look forward to the day that you can browse flash sites on the iPhone like you do on a PC.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/M3CI5GyNXoA&amp;hl=en&amp;fs=1&amp;color1=0x3a3a3a&amp;color2=0x999999" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/M3CI5GyNXoA&amp;hl=en&amp;fs=1&amp;color1=0x3a3a3a&amp;color2=0x999999" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>A tutorial on Adobe Developer Connection  to <a href="http://www.adobe.com/devnet/logged_in/abansod_iphone.html" target="_blank">create applications for the Apple iPhone using the Adobe Flash Platform</a>.</p>
<p><a title="Adobe Labs iPhone Apps" href="http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/#divider" target="_blank">At Adobe Labs</a>:</p>
<p><strong>Demonstration Video</strong></p>
<p>Watch a demonstration of applications from the Apple App Store built using Flash technology:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="256" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="FlashVars" value="fileID=2569&amp;context=76&amp;embeded=true&amp;environment=production" /><param name="src" value="http://images.tv.adobe.com//swf/player.swf" /><param name="flashvars" value="fileID=2569&amp;context=76&amp;embeded=true&amp;environment=production" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="256" src="http://images.tv.adobe.com//swf/player.swf" flashvars="fileID=2569&amp;context=76&amp;embeded=true&amp;environment=production" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Flash Professional CS5 will enable you to build applications for iPhone and iPod touch using ActionScript 3. These applications can be delivered to iPhone and iPod touch users through the Apple App Store.*</p>
<p>A public beta of Flash Professional CS5 with prerelease support for building applications for iPhone is planned for later this year. <a href="http://www.adobe.com/go/flashprobetanotify">Sign up to be notified when the beta starts</a>.</p>
<p><strong>Example Applications</strong></p>
<p>At MAX 2009, Adobe showed a number of applications and games for iPhone that have been built using a prerelease version of Flash Professional CS5. These applications are available now for you to download from the Apple App Store:</p>
<table border="0" cellpadding="2">
<tbody>
<tr>
<td><strong>Chroma Circuit</strong></p>
<p><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=331078068&amp;mt=8" target="_blank"><img src="http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/images/chromacircuit.jpg" alt="chromacircuit" width="250" height="100" /></a></td>
<td><strong>Trading Stuff</strong></p>
<p><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=331031044&amp;mt=8" target="_blank"><img src="http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/images/trading.jpg" alt="trading" width="250" height="100" /></a></td>
</tr>
<tr>
<td><strong>Fickleblox</strong></p>
<p><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=330996323&amp;mt=8" target="_blank"><img src="http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/images/fickleblox.jpg" alt="fickleblox" width="250" height="100" /></a></td>
<td><strong>Just Letters</strong></p>
<p><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=331034020&amp;mt=8" target="_blank"><img src="http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/images/justletters.jpg" alt="justletters" width="250" height="100" /></a></td>
</tr>
<tr>
<td><strong>South Park</strong></p>
<p><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=331751052&amp;mt=8" target="_blank"><img src="http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/images/southpark.jpg" alt="southpark" width="250" height="100" /></a></td>
<td><strong>That Roach Game</strong><strong><br />
</strong></p>
<p><strong><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=331141362&amp;mt=8" target="_blank"><img src="http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/images/roach.jpg" alt="roach" width="250" height="100" /></a></strong></td>
</tr>
<tr>
<td><strong>Red Hood</strong></p>
<p><strong><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=331140070&amp;mt=8" target="_blank"><img src="http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/images/redhood.jpg" alt="redhood" width="250" height="100" /></a></strong></td>
<td></td>
</tr>
</tbody>
</table>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;"><span class="spell" style="color: #cc0000;">: </span><a class="spell" href="http://www.google.com.mx/search?hl=es&amp;safe=off&amp;client=firefox-a&amp;rls=org.mozilla:en-US:official&amp;hs=noO&amp;ei=_uXKSrCMOpPIlAf648WSAw&amp;sa=X&amp;oi=spell&amp;resnum=0&amp;ct=result&amp;cd=1&amp;q=accelerometers&amp;spell=1"><strong><em>accelerometers</em></strong></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2009/10/06/flash-on-the-iphone/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>Adobe FLVPLayback Component Updated</title>
		<link>http://www.swfgeek.net/2009/05/23/adobe-flvplayback-component-updated/</link>
		<comments>http://www.swfgeek.net/2009/05/23/adobe-flvplayback-component-updated/#comments</comments>
		<pubDate>Sat, 23 May 2009 18:53:12 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[ADOBE]]></category>
		<category><![CDATA[COMPONENTS]]></category>
		<category><![CDATA[FLASH CS4]]></category>
		<category><![CDATA[FLASH IDE]]></category>
		<category><![CDATA[FLASH MEDIA SERVER]]></category>
		<category><![CDATA[FLASH VIDEO]]></category>
		<category><![CDATA[FLEX IDE]]></category>
		<category><![CDATA[Adobe Flash CS4]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[Flex 3]]></category>
		<category><![CDATA[FLV]]></category>
		<category><![CDATA[FLVPlayback component]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=541</guid>
		<description><![CDATA[Adobe released an update to the FLVPlayback component (v2.5.0.15) for Flash CS4 and Flex 3. Excerpt from  Kevin&#8217;s blog. Go there for more detailed information Today(22-may-09) we released two free tools; the new DVRCast application for Flash Media Interactive Server 3.5, and an update to FLVPlayback component. You can find them both on the Flash [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-543" title="Network DVR" src="http://www.swfgeek.net/blog/wp-content/uploads/2009/05/dvr_slide1.png" alt="Network DVR" width="480" height="264" /></p>
<p>Adobe released an update to the FLVPlayback component (v2.5.0.15) for Flash CS4 and Flex 3.</p>
<p><em>Excerpt from  <a href="http://blogs.adobe.com/ktowes/2009/05/announcing_dvrcast_and_flvplay.html" target="_blank">Kevin&#8217;s blog</a>. Go there for more detailed information</em></p>
<p>Today(22-may-09) we released two free tools; the new DVRCast application for Flash Media Interactive Server 3.5, and an update to FLVPlayback component. You can find them both on the Flash Media Server productivity tools page: <a href="http://www.adobe.com/go/fms_tools/">http://www.adobe.com/go/fms_tools/</a>. You can read more from a new article from David Hassoun posted here: <a href="http://www.adobe.com/devnet/flashmediaserver/articles/live_dvr_pt2.html">http://www.adobe.com/devnet/flashmediaserver/articles/live_dvr_pt2.html</a></p>
<p>DVRCast uses existing technology built into the server, DVRCast extends the server functionality with abilities to manage metadata, start and stop and scheduling of DVR-enabled streams.</p>
<p>Adobe  has updated the component to support DVR functionality. We now support this component in both <a title="Adobe Flash Professional CS4" href="http://www.adobe.com/go/flash/">Flash Professional CS4</a> and the <a title="Adobe Flex" href="http://www.adobe.com/go/flex/">Flex SDK</a>.   The current version is FLVPlayback 2.5.0.15, and is included in the DVRCast download.   You can also download it separately.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2009/05/23/adobe-flvplayback-component-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>Flash CS4 Professional Update (10.0.2) Now Available</title>
		<link>http://www.swfgeek.net/2009/05/14/flash-cs4-professional-update1002-now-available/</link>
		<comments>http://www.swfgeek.net/2009/05/14/flash-cs4-professional-update1002-now-available/#comments</comments>
		<pubDate>Thu, 14 May 2009 07:39:51 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[ADOBE]]></category>
		<category><![CDATA[ADOBE CS4]]></category>
		<category><![CDATA[FLASH CS4]]></category>
		<category><![CDATA[FLASH IDE]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flash CS4]]></category>
		<category><![CDATA[Grupo W]]></category>
		<category><![CDATA[Grupo W Labs]]></category>
		<category><![CDATA[Updates]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=508</guid>
		<description><![CDATA[So finally Flash CS4 gets it&#8217;s much deserved update, I&#8217;m glad some of the mayor bugs on it seems to have been solved according to Richard Galvan&#8217;s post, One of those bugs ( The Bad Fonts Problem) made us&#160; scratch our heads and our hard drives (by formatting them ) at Grupo W, and thanks [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-509" title="Flash CS4" src="http://www.swfgeek.net/blog/wp-content/uploads/2009/05/fcs4.png" alt="Flash CS4" width="600" height="290"></p>
<p>So finally Flash CS4 gets it&#8217;s much deserved update, I&#8217;m glad some of the mayor bugs on it seems to have been solved according to <span class="post-footers"><a title="Richard Galvan's Blog" href="http://blogs.adobe.com/rgalvan/2009/05/flash_cs4_update_now_available.html" target="_blank">Richard Galvan&#8217;s post</a>, One of those bugs ( The Bad Fonts Problem) made us&nbsp; scratch our heads and our hard drives (by formatting them ) at <a title="Wolf's post on the subject" href="http://labs.grupow.com/index.php/2009/04/grupo-w-badfonts-group/" target="_blank">Grupo W</a>, and thanks to the efforts of&nbsp; Adobe&#8217;s Flash Team it&#8217;s solved now&nbsp; here&#8217;s a little excerpt&nbsp; of<a title="Richard Galvan's Blog" href="http://blogs.adobe.com/rgalvan/2009/05/flash_cs4_update_now_available.html" target="_blank"> Richard&#8217;s Post</a>:</span></p>
<p><em>Adobe  Flash® CS4 Professional (10.0.2) addresses a number of performance issues. Some key fixes are:</em></p>
<ul>
<li><em>Fixed a performance issues when dragging objects on stage, scrubbing the timeline, or entering symbol edit mode in large AS 2.0 and AS 3.0 files.</em></li>
<li><em>Fixed a performance issues when opening large files or  files with many nested symbols.</em></li>
<li><em>Fixed a performance issues when working in the library such as scrolling, selecting items in the library, dragging item to stage, or editing symbol from library.</em></li>
</ul>
<p><em>It also addresses several&nbsp;crashes involving creating a text fields on stage and opening specific files with corrupted fonts.&nbsp; The font issue was causing many people to suffer crashes because Flash was not handling inappropriate or corrupted fonts very gracefully. </em></p>
<p><a title="Flash CS4 Update" href="http://www.adobe.com/support/flash/downloads.html" target="_blank"><strong>Hurry up and download the update here !!!</strong></a></p>
<p><strong>And The complete list of Fixed Bugs on this release WOW&nbsp; lots of things fixed :</strong></p>
<p>Bugs  fixed in this release:</p>
<ul>
<li>AS2  Doc Crashes CS4 when buttons not rendered correctly</li>
<li>Auto Format beaks the code if encounters ++  or &#8212; with an array inside if statement</li>
<li>Clicking through  movie clip with large preview takes long to select in the Library in AS 3.0  file</li>
<li>Scrubbing  and pressing Enter to play timeline is not smooth, slower in AS3 documents</li>
<li>W  and H of instance incorrect after frame 2 if apply tween to instance with  filter</li>
<li>3D  tools appear incorrectly to a child movie clip when applying skew and rotation  to the parent 2d movie clip.</li>
<li>Changing W/H for nested 2d&gt;3d movie clip from PI does not work. After scrubbing the hot text, it snaps back to the original size.</li>
<li>Dragging  from Library to Stage is slow in some files in CS4</li>
<li>Selecting  items in the library is slow in CS4</li>
<li>Scrolling  the library (vertical scroll bar) is slow compared to CS3</li>
<li>In  a FLA with lots of library items, double clicking a symbol &#8220;in the edit  mode&#8221; hangs Flash on Mac.</li>
<li>Library  contents explode CS4 memory (CS3 sits at 75M)</li>
<li>Performance  issue with Stagecore (AS 3.0 fla) &#8211; scrubbing, moving, altering objects.</li>
<li>Object  visibility is compromised when created inside empty groups in AS 3.0 fla files.</li>
<li>Double  clicking symbol or symbol name in library hangs Flash; library contains a lot  of items</li>
<li>Text  with device font disappears when it is selectable</li>
<li>Component  parameters don&#8217;t work for scenes greater than scene 1</li>
<li>Selecting  frames with textfields is a lot slower if the Components Inspector panel is  opened</li>
<li>Empty  maskee incorrectly renders mask invisible rather than visible</li>
<li>Crash when opening a &nbsp;fla that uses a font symbol whose name was identical to the Postscript name of the underlying font and the font is missing</li>
<li>Optimize  a section within a shape leaves gaps in the shape</li>
<li>Optimize  opening and closing FLA files, frame manipulation for FLAs with many frames</li>
<li>Win  only: Crash on exit when the text field is in edit mode and clicking X button  to quit without save</li>
<li>Compiler  errors when opening &#8220;Air Settings&#8221; while adl still running.</li>
<li>(screens)  timeline playhead can’t scrub and jitters when playing anything that spans  frames</li>
<li>gotoAndPlay(&#8220;framelabel&#8221;)  compiles differently in CS3 versus CS4</li>
<li>Scrubbing  the timeline and selecting frames is much slower in CS4 than in CS3</li>
<li>Crash  when creating a text object on stage when there are corrupted fonts</li>
<li>Graphic  symbol looping setting changes when apply color effect to instance in PI</li>
<li>Files  with lots of nested clips suffer from performance issue (file open) in Flash  CS4</li>
<li>Edit  in Place of 2d objects which has 3d movieclips nested inside is not functioning  correctly.</li>
<li>Edit  in place is slow for complex instances in FP10 documents</li>
<li>Breaking  apart a nested movie clip erases instance name of child movie clip</li>
<li>Efficient calculation between keyframes so dragging is faster and generally makes people happier if spans are long and complex.</li>
<li>AS3  Components not compiling correctly when using the Component Definition dialog</li>
<li>Window  Only: Flash crashes when double clicking a fla to open while a current fla is  opened with text block selected</li>
<li>Can’t  interact with Flash because modal dialog is up, but hidden behind the workspace  when switching between applications</li>
<li>From  crash reporter: crash on Mac when double click to enter symbol edit mode (when  the black dotted rectangle is drawn)</li>
<li>Mac  IDE flashes when right-clicking on Library after doing Test Movie</li>
<li>Performance  is slow after double clicking movie clip to enter edit mode and exit</li>
<li>Setting  an instance&#8217;s width and/or height to 1 makes W and H hot text unusable in the  vertical PI.</li>
<li>Hot  text in the Vertical PI for X, Y, W, H displays only 1 decimal point while edit  field displays 2</li>
<li>Export  image: Dimension values in Export dialog and Vertical PI do not match which is  misleading to user.</li>
<li>Crash  when selecting text field on stage with many fonts on user’s system.</li>
<li>Text  PI is stuck and some controls on the PI are not drawn with certain fonts on  user’s system</li>
<li>The JSAPI that allows users to publish FLA files without opening them was inadvertently removed when the Project Panel was deprecated.&nbsp; fl.publishDocument( flaURI [, publishProfile] ) is added.</li>
<li>&#8220;Export  classes in frame&#8221; behavior is different in CS3 than in CS4</li>
<li>Drag  and drop large nested symbol from library to stage hangs Flash</li>
<li>Dragging  from Library to Stage slow on subsequent drag or after scrubbing the timeline</li>
<li>Scrubbing  and pressing Enter to play timeline is not smooth, slower in AS3 documents</li>
<li>W  and H of instance incorrect after frame 2 if apply tween to instance with  filter</li>
<li>Large  amounts of text nested in a symbol causes performance problems in non-AS3  documents</li>
<li>Playback in authoring is not smooth (playhead skips frames), cannot stop it when hitting enter, eventually hangs and takes long to respond (both AS 2.0 and AS 3.0)</li>
<li>Performance  Creating Exported Symbol when the classpath contains lots of files and folder</li>
<li>Create  ease, undo after first edit removes ease</li>
<li>Selecting  and deselecting raw shape after convert to symbol spikes memory and/or crashes</li>
<li>FLA  crash on open when fonts loaded</li>
<li>Mac  only: User input resets to previous setting when attempting to change any value  in Vertical PI input area</li>
<li>Accessing a Windows  SWF after it has been moved or deleted crashes Flash</li>
<li>Crashing  when re-opening FLA after canceling publish</li>
<li>Crash in test movie  when running a file with video and filters</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2009/05/14/flash-cs4-professional-update1002-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>Interviewed at OdinJobs.com</title>
		<link>http://www.swfgeek.net/2009/01/31/interviewed-at-odinjobs/</link>
		<comments>http://www.swfgeek.net/2009/01/31/interviewed-at-odinjobs/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 01:13:02 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[FLASH IDE]]></category>
		<category><![CDATA[INTERVIEWS]]></category>
		<category><![CDATA[ADOBE]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[IT]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=407</guid>
		<description><![CDATA[I recently got interviewed at OdinJobs by Carl Williams for the careers blogs section of the site. I found out that  Anand Vardhan who is a fellow  developer specialized in Rich Internet Application development. got interviewed there as well. The interview was called Right Brain, Left Brain Approach to Adobe FLASH, and guess who&#8217;s got [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.odinjobs.com/blogs/careers/entry/right_brain_left_brain_approach"><img class="alignnone size-full wp-image-408" title="odinjobs" src="http://www.swfgeek.net/blog/wp-content/uploads/2009/01/logoodin.gif" alt="odinjobs" width="167" height="62" /></a></p>
<p>I recently got <a href="http://www.odinjobs.com/blogs/careers/entry/right_brain_left_brain_approach">interviewed at OdinJobs</a> by<a href="http://resume.odinjobs.com/carlwilliams" target="_blank"> </a><a href="http://resume.odinjobs.com/carlwilliams">Carl Williams </a>for the careers blogs section of the site.</p>
<p>I found out that  <a href="http://www.anandvardhan.com/" target="_blank">Anand Vardhan</a> who is a fellow  developer specialized in Rich Internet Application development. got interviewed there as well.</p>
<p>The interview was called Right Brain, Left Brain Approach to Adobe FLASH, and guess who&#8217;s got the right brain approach.</p>
<p>There we talk a little of  how the creative side and technical side of the Flash Platform get mashed together.</p>
<p><a href="http://www.odinjobs.com/blogs/careers/entry/right_brain_left_brain_approach" target="_blank">Check it Here</a></p>
<p><strong><em>A little about OdinJobs:</em></strong></p>
<p><em>Odin collects jobs from job boards, corporate websites, groups etc. At last count Odin is collecting over million jobs from 50,000 companies. </em></p>
<p><em>To fulfill the key part of our mission &#8211; get the &#8220;Right&#8221; It job, Odin features a matching technology that sifts through all the jobs and selects the right ones based on your qualification, experience and preference. </em></p>
<p><em>Instead of using keywords and displaying 1000&#8242;s of weak to irrelevant jobs, Odin employs language processing and artificial intelligence to determine the fitness of a job for you and shows you only the right ones. </em></p>
<p><em>We want you to find the right IT job. We want to make your search easier and faster and more relevant. </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2009/01/31/interviewed-at-odinjobs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>Google Analytics Tracking for Adobe Flash</title>
		<link>http://www.swfgeek.net/2008/11/19/google-analytics-tracking-for-adobe-flash/</link>
		<comments>http://www.swfgeek.net/2008/11/19/google-analytics-tracking-for-adobe-flash/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 11:00:25 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[ACTIONSCRIPT 3.0]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[FLASH IDE]]></category>
		<category><![CDATA[FLEX IDE]]></category>
		<category><![CDATA[GOOGLE ANALYTICS]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[SWC]]></category>
		<category><![CDATA[Tracking]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=235</guid>
		<description><![CDATA[A new API for using  Google Analytics Tracking in Flash/Flex projects this API is developed in ActionScript 3.0 and can be used as a component or called in your ActionScript code, Google Analytics Tracking for Adobe Flash seems to solve a lot of troubles and the needed workarounds for making consistent user tracking in your [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/gaforflash/"><img class="alignnone size-full wp-image-236" title="gaforflash" src="http://www.swfgeek.net/blog/wp-content/uploads/2008/11/gaforflash.jpg" alt="" width="500" height="291" /></a></p>
<p>A new <a title="API Definition" href="http://en.wikipedia.org/wiki/API" target="_blank">API</a> for using  <a title="Google Analytics" href="http://www.google.com/analytics/" target="_blank">Google Analytics</a> Tracking in Flash/Flex projects this API is developed in ActionScript 3.0 and can be used as a component or called in your ActionScript code, Google Analytics Tracking for Adobe Flash seems to solve a lot of troubles and the needed workarounds for making consistent user tracking in your Flash projects, keep reading for a more detailed explanation extracted <strong> </strong>from the implementation overview.</p>
<p><strong></strong></p>
<p>The Google Analytics Tracking for Adobe Flash component makes it easy for you to implement Google Analytics in your Flash-driven content. This component contains all of the functionality of the Google Analytics Javascript code, and is 100% compatible with the latest <code>ga.js</code> tracking code. The Flash Tracking component is a compiled tracking object native to ActionScript 3, making Analytics implementation intuitive in Flash, and Flex development environments.</p>
<p>You can develop Analytics Tracking for Flash in either Adobe Flash or Adobe Flex environments. Each environment requires a different component, which you can download from <a href="http://code.google.com/p/gaforflash/">http://code.google.com/p/gaforflash/</a>. These components are based on ActionScript 3 and can be set up in one of two ways for each environment:</p>
<p><strong>In Adobe Flash</strong></p>
<ul>
<li>Add and configure  a simple component in the component inspector and drag it to the stage.</li>
<li> Import the Flash Tracking libraries directly into your library and start coding.</li>
</ul>
<p><strong>In Adobe Flex</strong></p>
<ul>
<li>Include an MXML component that you configure from am MXML file.</li>
<li> Import the Flash Tracking libraries into your script tags/AS3 files.</li>
</ul>
<p><strong>How to use the Component in Adobe Flash</strong></p>
<p>In order to use the Flash tracking component in your environment, you either use the visual tools inside Flash, or you set up the tracking object directly in your code. Regardless of whether you are setting up the component visually or via code, you provide the following elements:</p>
<ul>
<li><strong>the web property ID</strong>—This is also known as the <em>UA number</em> of your tracking code and looks like <code>UA-xxxxx-yy</code>, where the x&#8217;s and y&#8217;s are replaced with the numbers that correspond to your account and profile information for the object you are tracking. See <a href="http://code.google.com/apis/analytics/docs/gaConceptsAccounts.html#webProperty">Web Property</a> for more information.</li>
<li><strong>the tracking  mode</strong>—Choose either <em>bridge mode</em> or <em>AS3 mode</em>. This mode determines how your tracking communicates with the Analytics servers and is described in detail below.</li>
<li><strong>the debugging mode</strong>—No matter which environment or tracking mode you use, you can turn debugging on to validate and test your tracking.</li>
</ul>
<p><strong>Installation for Flash CS3</strong></p>
<p>Before you begin to use gaforflash to add Analytics tracking within Flash CS3,<br />
you first need to add the gaforflash SWC to Flash CS3.</p>
<p>To do so:<br />
1. If you have Flash CS3 currently open, quit the application.</p>
<p>2. Navigate to the location where you unzipped the Google Analytics zip<br />
and find the swc (e.g. lib/analytics_flash.swc).</p>
<p>3. Create a &#8220;Google&#8221; directory in one of the following locations<br />
and copy the SWC file there:<br />
- (Windows) C:\Program Files\Adobe\ Adobe Flash CS3\language\Configuration\Components<br />
- (Mac OS X) Macintosh HD/Applications/Adobe Flash CS3/Configuration/Components</p>
<p>Flash CS3 is now set up to support Google Analytics Tracking For Adobe Flash.</p>
<p>Alternatively if you want to use gaforflash in code-only mode<br />
you can do the same as the above and add the lib/analytics.swc,<br />
you will then need to drag the &#8220;AnalyticsLibrary&#8221; component in your Library.</p>
<p><strong>Installation for Flex Builder 3</strong></p>
<p>Before you can compile your code, you will need to link it to the gaforflash SWC file.</p>
<p>To do so:<br />
1. select Project-&gt;Properties.<br />
A Properties dialog box will appear for your project.<br />
Click on Flex Build Path and then select the Library Path tab:</p>
<p>2. Click Add SWC&#8230; within the Library Path pane.<br />
An Add SWC dialog box will appear.<br />
Navigate to the location where you unzipped the Google Analytics zip<br />
and select lib/analytics.swc file and click OK.</p>
<p>or</p>
<p>Just drop the analytics.swc file into your Flex project /libs directory</p>
<p><a title="Google Code's page for the project" href="http://code.google.com/p/gaforflash/" target="_blank">Here&#8217;s the link for the Google code project</a></p>
<p><a title="Download the API" href="http://gaforflash.googlecode.com/files/gaforflash-1.0.0.234.zip" target="_blank">The gaforflash direct download</a></p>
<p><a title="GAFORFLASH DOCS" href="http://code.google.com/apis/analytics/docs/flashTrackingIntro.html" target="_blank">More info on the API </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2008/11/19/google-analytics-tracking-for-adobe-flash/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>Adobe Flash CS4 Professional is Out</title>
		<link>http://www.swfgeek.net/2008/09/23/adobe-flash-cs4-professional-is-out/</link>
		<comments>http://www.swfgeek.net/2008/09/23/adobe-flash-cs4-professional-is-out/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 08:34:24 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[FLASH CS4]]></category>
		<category><![CDATA[FLASH IDE]]></category>
		<category><![CDATA[ADOBE]]></category>
		<category><![CDATA[ADOBE CS4]]></category>
		<category><![CDATA[Adobe Flash CS4]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=152</guid>
		<description><![CDATA[The new version of Flash has arrived along with the rest of the creative suite applications, this version of Flash comes with many  enhancements and it seems that Flash designers and Animators are going to love this version, for developers it&#8217;s not fresh news because they been able to download and test the new capabilities [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_153" class="wp-caption alignnone" style="width: 183px"><img class="size-full wp-image-153" title="flashcs4box" src="http://www.swfgeek.net/blog/wp-content/uploads/2008/09/flashcs4box.jpg" alt="Flash CS4" width="173" height="255" /><p class="wp-caption-text">Flash CS4</p></div>
<p><!--StartFragment--></p>
<p class="MsoNormal"><span>The new version of Flash has arrived along with the rest of the creative suite applications, this version of Flash comes with many  enhancements and it seems that Flash designers and Animators are going to love this version, for developers it&#8217;s not fresh news because they been able to download and test the new capabilities of the <a title="Adobe Flash Player 10 Beta" href="http://labs.adobe.com/technologies/flashplayer10/" target="_blank">Flash Player 10 Beta</a> from <a title="Adobe Labs" href="http://labs.adobe.com/" target="_blank">Adobe Labs</a>.</span></p>
<p class="MsoNormal"><span>To give a more detailed review I will have to test it first but here are some of the new features:</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<div class="columns-2-Abb-A">
<p><a title="Object-based animation" rel="modal" href="http://www.adobe.com/products/flash/features/include/object-based-animation/modal.html?width=786&amp;height=462"><img src="http://www.adobe.com/products/flash/features/include/object-based-animation/feature-spotlight.jpg" alt="Object-based animation" width="488" height="260" /></a></div>
<div class="columns-2-Abb-bb intro">
<p><strong>Object-based animation</strong></p>
<p>Gain complete control over individual animation attributes with object-based animation, which applies tweens directly to objects instead of to keyframes. Easily make changes to motion with Bezier handles.</p></div>
<p><br class="clear-both" /></p>
<div class="columns-2-AB-A">
<div class="pullout-right right-wrap">
<p class="pullout-item"><a title="3D transformation" rel="modal" href="http://www.adobe.com/products/flash/features/include/3d-transformation/modal.html?width=786&amp;height=462"><img src="http://www.adobe.com/products/flash/features/include/3d-transformation/inline.jpg" alt="3D transformation" width="200" height="150" /></a></p>
<p><strong>3D transformation</strong></p>
<p>Animate 2D objects through 3D space with exciting new 3D translation and rotation tools, which allow you to animate along the x, y, and z axes. Apply local or global transformation to any object.</p></div>
<div class="pullout-right right-wrap">
<p class="pullout-item"><a title="Procedural modeling with Deco and Spray Brush" rel="modal" href="http://www.adobe.com/products/flash/features/include/procedural-modeling-with-the-deco-tool/modal.html?width=786&amp;height=462"><img src="http://www.adobe.com/products/flash/features/include/procedural-modeling-with-the-deco-tool/inline.jpg" alt="Procedural modeling with Deco and Spray Brush" width="200" height="150" /></a></p>
<p><strong>Procedural modeling with Deco and Spray Brush</strong></p>
<p>Turn symbols into instant design tools. Apply symbols in a variety of ways: Quickly create kaleidoscope-like effects and apply fills using the Deco tool, or randomly spray symbols across any defined area using the Spray Brush.</p></div>
<div class="pullout-right right-wrap">
<p class="pullout-item"><a title="Metadata (XMP) support" rel="modal" href="http://www.adobe.com/products/flash/features/include/metadata-support/modal.html?width=786&amp;height=462"><img src="http://www.adobe.com/products/flash/features/include/metadata-support/inline.jpg" alt="Metadata (XMP) support" width="200" height="150" /></a></p>
<p><strong>Metadata (XMP) support</strong></p>
<p>Add metadata to SWF files using the new XMP panel. Quickly assign tags for enhanced collaboration and better mobile experiences.</p></div>
<p><strong>Authoring for Adobe AIR</strong></p>
<p>Deliver interactive experiences to the desktop with new integrated capability to publish to the Adobe® AIR™ runtime. Reach even more audiences across more devices — web, mobile, and now the desktop.</p>
<p><strong>XFL support</strong></p>
<p>Open content from Adobe InDesign® or After Effects® software and retain file integrity. With the cross-application XFL format, easily import content for further development in Adobe Flash®.</p></div>
<div class="columns-2-AB-B">
<div class="pullout-right right-wrap">
<p class="pullout-item"><a title="Inverse kinematics with the Bones tool" rel="modal" href="http://www.adobe.com/products/flash/features/include/inverse-kinematics-with-the-bones-tool/modal.html?width=786&amp;height=462"><img src="http://www.adobe.com/products/flash/features/include/inverse-kinematics-with-the-bones-tool/inline.jpg" alt="Inverse kinematics with the Bones tool" width="200" height="150" /></a></p>
<p><strong>Inverse kinematics with the Bones tool</strong></p>
<p>Create chain-like animation effects with a series of linked objects, or quickly distort a single shape using the new Bones tool.</p></div>
<div class="pullout-right right-wrap">
<p class="pullout-item"><a title="Motion editor" rel="modal" href="http://www.adobe.com/products/flash/features/include/motion-editor/modal.html?width=786&amp;height=462"><img src="http://www.adobe.com/products/flash/features/include/motion-editor/inline.jpg" alt="Motion editor" width="200" height="150" /></a></p>
<p><strong>Motion editor</strong></p>
<p>Experience detailed control over keyframe parameters, including rotation, size, scale, position, filters, and more, using the new motion editor. Refine easing control with graphical displays similar to those in After Effects.</p></div>
<div class="pullout-right right-wrap">
<p class="pullout-item"><a title="Motion presets" rel="modal" href="http://www.adobe.com/products/flash/features/include/motion-presets/modal.html?width=786&amp;height=462"><img src="http://www.adobe.com/products/flash/features/include/motion-presets/inline.jpg" alt="Motion presets" width="200" height="150" /></a></p>
<p><strong>Motion presets</strong></p>
<p>Jump-start your project with prebuilt animations that can be applied to any object. Select from dozens of presets or create and save your own. Share presets with others to save animation time.</p></div>
<p><strong>H.264 support</strong></p>
<p>Encode to any format recognized by the Adobe Flash Player runtime with Adobe Media Encoder, the same tool found in other Adobe video products and now with support for H.264.</p></div>
<p> </p>
<div>
<p>Check it at: <a title="Adobe Flash CS4" href="http://www.adobe.com/products/flash/" target="_blank">http://www.adobe.com/products/flash/</a></p>
<p> </p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2008/09/23/adobe-flash-cs4-professional-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>Drawing API and Mouse Events</title>
		<link>http://www.swfgeek.net/2008/02/25/drawing-api-and-mouse-events/</link>
		<comments>http://www.swfgeek.net/2008/02/25/drawing-api-and-mouse-events/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 16:33:44 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[ACTIONSCRIPT 3.0]]></category>
		<category><![CDATA[EXAMPLES]]></category>
		<category><![CDATA[FLASH CS3]]></category>
		<category><![CDATA[FLASH IDE]]></category>
		<category><![CDATA[FLEX IDE]]></category>
		<category><![CDATA[TUTORIALS]]></category>
		<category><![CDATA[Classes]]></category>
		<category><![CDATA[Drawing API]]></category>
		<category><![CDATA[Flex 3]]></category>
		<category><![CDATA[MouseEvents]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=117</guid>
		<description><![CDATA[Click on the image to see the example and get the code. A pair of days ago I found the blog of Sorin Haidan in wish he post some very useful tutorials on Flash and Actionscript 3.0 in a very understandable way, I found one that caught my attention called Draw Custom shapes with ActionScript [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://examples.swfgeek.net/flash/drawingapimouse"><img src='http://www.swfgeek.net/blog/wp-content/uploads/2008/02/drawingapi_img.jpg' alt='DrawingAPI' /></a><br />
<strong>Click on the image to see the example and get the code.</strong></p>
<p>A pair of days ago I found the <a href="http://biochimistu.blogspot.com/">blog</a> of <a href="http://www.blogger.com/profile/09135002905210428963">Sorin Haidan </a>in wish he post some very useful tutorials on Flash and Actionscript 3.0 in a very understandable way, I found one that caught my attention called <a href="http://biochimistu.blogspot.com/2008/02/draw-custom-shapes-with-actionscript-30.html">Draw Custom shapes with ActionScript 3.0.</a> In this tutorial he explains how to make a &#8220;Ball&#8221; appear on screen every time you click and move your mouse on the screen by using the Drawing API  and MouseEvents, the change of the color on the ball was achieved doing a loop in a 10 frame movie clip  with a ball of different gradient fill on each frame, so occurred to me to wrap that code on a class on a <a href="http://www.adobe.com/products/flex/">Flex 3</a> Actionscript Project  and get rid of the <a href="http://www.adobe.com/products/flash/">Flash</a> assets by drawing the ball  in a dynamic way and this let me Change the color of the Ball more than the 10 times of Sorin example, so check the example be sure to check <a href="http://biochimistu.blogspot.com/">Sorin&#8217;s blog </a>.<br />
In <a href="http://examples.swfgeek.net/flash/drawingapimouse">my example</a> if you right click on the file you get to see the source that it&#8217;s also included below this text here&#8217;s what I got: <a href="http://examples.swfgeek.net/flash/drawingapimouse">Drawing API Ball Example.</a></p>
<p>Thanks Sorin for letting me mess around with his code keep up with those good tutorials.</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('p117code2'); return false;">View Code</a> ACTIONSCRIPT3</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1172"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
</pre></td><td class="code" id="p117code2"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #3f5fbf;">/*
/////---- Class by Dave Ga?mez (.swfgeek) 24-February-2008 http://www.swfgeek.net----\\\
///---- Original Example by: Sorin Haidan in his  Draw Custom shapes with ActionScript 3.0. Tutorial ----\
///---- Found on his blog http://biochimistu.blogspot.com/ ---- \
*/</span>
&nbsp;
<span style="color: #9900cc; font-weight: bold;">package</span> <span style="color: #000000;">&#123;</span>
&nbsp;
    <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000066; font-weight: bold;">.</span><a href="http://www.google.com/search?q=gradienttype%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:gradienttype.html"><span style="color: #004993;">GradientType</span></a><span style="color: #000066; font-weight: bold;">;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000066; font-weight: bold;">.</span><a href="http://www.google.com/search?q=spreadmethod%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:spreadmethod.html"><span style="color: #004993;">SpreadMethod</span></a><span style="color: #000066; font-weight: bold;">;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000066; font-weight: bold;">.</span><a href="http://www.google.com/search?q=sprite%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:sprite.html"><span style="color: #004993;">Sprite</span></a><span style="color: #000066; font-weight: bold;">;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000066; font-weight: bold;">.</span><a href="http://www.google.com/search?q=stagescalemode%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:stagescalemode.html"><span style="color: #004993;">StageScaleMode</span></a><span style="color: #000066; font-weight: bold;">;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000066; font-weight: bold;">.</span><a href="http://www.google.com/search?q=stagealign%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:stagealign.html"><span style="color: #004993;">StageAlign</span></a><span style="color: #000066; font-weight: bold;">;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span><span style="color: #000066; font-weight: bold;">.</span><a href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000066; font-weight: bold;">;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.geom</span><span style="color: #000066; font-weight: bold;">.</span><a href="http://www.google.com/search?q=matrix%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:matrix.html"><span style="color: #004993;">Matrix</span></a><span style="color: #000066; font-weight: bold;">;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>adobe<span style="color: #000066; font-weight: bold;">.</span>viewsource<span style="color: #000066; font-weight: bold;">.</span>ViewSource<span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
    <span style="color: #000000;">&#91;</span>SWF<span style="color: #000000;">&#40;</span><span style="color: #004993;">backgroundColor</span>=<span style="color: #990000;">&quot;0x000000&quot;</span><span style="color: #000066; font-weight: bold;">,</span><span style="color: #004993;">frameRate</span>=<span style="color: #990000;">&quot;31&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#93;</span>
&nbsp;
    <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> DrawingAPI <span style="color: #0033ff; font-weight: bold;">extends</span> <a href="http://www.google.com/search?q=sprite%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:sprite.html"><span style="color: #004993;">Sprite</span></a>
    <span style="color: #000000;">&#123;</span>
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> sprite<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=sprite%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:sprite.html"><span style="color: #004993;">Sprite</span></a><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> holder<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=sprite%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:sprite.html"><span style="color: #004993;">Sprite</span></a><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> myCircle<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=sprite%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:sprite.html"><span style="color: #004993;">Sprite</span></a><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> fillType<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">colors</span><span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=array%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:array.html"><span style="color: #004993;">Array</span></a><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">alphas</span><span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=array%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:array.html"><span style="color: #004993;">Array</span></a><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">ratios</span><span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=array%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:array.html"><span style="color: #004993;">Array</span></a><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> matr<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=matrix%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:matrix.html"><span style="color: #004993;">Matrix</span></a><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> spreadMethod<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> focalPointRatio<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> DrawingAPI<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
        <span style="color: #000000;">&#123;</span>
            <span style="color: #004993;">init</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #004993;">init</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
        <span style="color: #000000;">&#123;</span>
            ViewSource<span style="color: #000066; font-weight: bold;">.</span>addMenuItem<span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;srcview/index.html&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
            <span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">scaleMode</span> = <a href="http://www.google.com/search?q=stagescalemode%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:stagescalemode.html"><span style="color: #004993;">StageScaleMode</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">NO_SCALE</span><span style="color: #000066; font-weight: bold;">;</span>
            <span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">align</span> = <a href="http://www.google.com/search?q=stagealign%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:stagealign.html"><span style="color: #004993;">StageAlign</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">TOP_LEFT</span><span style="color: #000066; font-weight: bold;">;</span>
            <span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">MOUSE_DOWN</span><span style="color: #000066; font-weight: bold;">,</span>prepareToDraw<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> prepareToDraw<span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
         <span style="color: #000000;">&#123;</span>
          <span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">MOUSE_MOVE</span><span style="color: #000066; font-weight: bold;">,</span>drawGraphics<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
          <span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">MOUSE_UP</span><span style="color: #000066; font-weight: bold;">,</span>stopDrawing<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
         <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> drawGraphics<span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
        <span style="color: #000000;">&#123;</span>
         fillType = <a href="http://www.google.com/search?q=gradienttype%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:gradienttype.html"><span style="color: #004993;">GradientType</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">RADIAL</span><span style="color: #000066; font-weight: bold;">;</span>
         <span style="color: #004993;">colors</span> = <span style="color: #000000;">&#91;</span>0xFFFFFF<span style="color: #000066; font-weight: bold;">,</span> <a href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">*</span>0xFFFFFF<span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">;</span>
         <span style="color: #004993;">alphas</span> = <span style="color: #000000;">&#91;</span><span style="color: #000000; font-weight:bold;">1</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">;</span>
         <span style="color: #004993;">ratios</span> = <span style="color: #000000;">&#91;</span>0x37<span style="color: #000066; font-weight: bold;">,</span> 0xFF<span style="color: #000000;">&#93;</span><span style="color: #000066; font-weight: bold;">;</span>
         matr= <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=matrix%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:matrix.html"><span style="color: #004993;">Matrix</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
         matr<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">createGradientBox</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">100</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #000000; font-weight:bold;">100</span><span style="color: #000066; font-weight: bold;">,</span> <a href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">*</span><span style="color: #000000; font-weight:bold;">360</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #000066; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">40</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
         spreadMethod = <a href="http://www.google.com/search?q=spreadmethod%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:spreadmethod.html"><span style="color: #004993;">SpreadMethod</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">PAD</span><span style="color: #000066; font-weight: bold;">;</span>
         focalPointRatio = <span style="color: #000000; font-weight:bold;">1</span><span style="color: #000066; font-weight: bold;">;</span>
         holder = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=sprite%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:sprite.html"><span style="color: #004993;">Sprite</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
         <span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>holder<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
         myCircle = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=sprite%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:sprite.html"><span style="color: #004993;">Sprite</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
         myCircle<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">graphics</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">beginGradientFill</span><span style="color: #000000;">&#40;</span>fillType<span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">colors</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">alphas</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">ratios</span><span style="color: #000066; font-weight: bold;">,</span> matr<span style="color: #000066; font-weight: bold;">,</span>spreadMethod<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
         myCircle<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">graphics</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">drawCircle</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">,</span><span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">,</span><span style="color: #000000; font-weight:bold;">40</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
         myCircle<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">graphics</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">endFill</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
         holder<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>myCircle<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
         holder<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span> = <span style="color: #004993;">mouseX</span><span style="color: #000066; font-weight: bold;">;</span>
         holder<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">y</span> = <span style="color: #004993;">mouseY</span><span style="color: #000066; font-weight: bold;">;</span>
         holder<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">scaleX</span> = holder<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">scaleY</span> = <a href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">*</span><span style="color: #000000; font-weight:bold;">2</span><span style="color: #000066; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">0.5</span><span style="color: #000066; font-weight: bold;">;</span>
         holder<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">rotation</span> = <a href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">*</span><span style="color: #000000; font-weight:bold;">360</span><span style="color: #000066; font-weight: bold;">;</span>
         holder<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">alpha</span> = <a href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">0.7</span><span style="color: #000066; font-weight: bold;">;</span>
       <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> stopDrawing<span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
       <span style="color: #000000;">&#123;</span>
        <span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">removeEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">MOUSE_MOVE</span><span style="color: #000066; font-weight: bold;">,</span>drawGraphics<span style="color: #000000;">&#41;</span>
       <span style="color: #000000;">&#125;</span>
    <span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2008/02/25/drawing-api-and-mouse-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
		<item>
		<title>ColorMatrixFilter Fun in Actionscript 3.0</title>
		<link>http://www.swfgeek.net/2008/01/29/colormatrixfilter-fun-in-actionscript-30/</link>
		<comments>http://www.swfgeek.net/2008/01/29/colormatrixfilter-fun-in-actionscript-30/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 19:31:05 +0000</pubDate>
		<dc:creator>swfgeek</dc:creator>
				<category><![CDATA[ACTIONSCRIPT 3.0]]></category>
		<category><![CDATA[EXAMPLES]]></category>
		<category><![CDATA[FLASH IDE]]></category>
		<category><![CDATA[TUTORIALS]]></category>

		<guid isPermaLink="false">http://www.swfgeek.net/?p=108</guid>
		<description><![CDATA[Based on the great tutorial of Lee Brimelow, called Advanced Filter Effects I started messing around with the ColorMatrixFilter(); an Actionscript 3.0 Class that lets you apply a 4&#215;5 matrix transformation in the RGB color and alpha values to the pixels of an image, and produce a new RGBA alpha value this can be applied [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://examples.swfgeek.net/flash/colormatrixfilter"><img src='http://www.swfgeek.net/blog/wp-content/uploads/2008/01/colormatrix.jpg' alt='ColorMatrixFilter' /></a></p>
<p>Based on the great tutorial of <a href="http://theflashblog.com/">Lee Brimelow</a>, called <a href="http://www.gotoandlearn.com/player.php?url=afe.flv&#038;width=900&#038;height=675">Advanced Filter Effects</a> I started messing around with the <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/filters/ColorMatrixFilter.html">ColorMatrixFilter()</a>; an Actionscript 3.0 Class that lets you apply a 4&#215;5 matrix transformation in the RGB color and alpha values to the pixels of an image, and produce a new RGBA alpha value this can be applied to any display object.<br />
So it&#8217;s quite addicting messing around with those values and get different results, this example is not at all finished it&#8217;s quite buggy still you can get some nice waving effects  anyway check it out here:<br />
<a href="http://examples.swfgeek.net/flash/colormatrixfilter">ColorMatrixFilterExample</a> and be sure to stop by <a href="http://www.gotoandlearn.com/">www.gotoandlearn.com</a> Lee has an unique way of explaining things very good and make difficult things look like is a piece of cake.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swfgeek.net/2008/01/29/colormatrixfilter-fun-in-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc/2.5/mx/</creativeCommons:license>
	</item>
	</channel>
</rss>
