<?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>PiXELWiT &#187; ActionScript</title>
	<atom:link href="http://www.pixelwit.com/blog/tag/actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pixelwit.com/blog</link>
	<description>Making Flash Go</description>
	<lastBuildDate>Fri, 02 Dec 2011 14:21:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>FullScreen OnMouseMove Bug</title>
		<link>http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/</link>
		<comments>http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 13:00:46 +0000</pubDate>
		<dc:creator>Pixelwit</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.pixelwit.com/blog/?p=842</guid>
		<description><![CDATA[Going to FullScreen mode causes Flash to temporarily stop executing all onMouseMove events.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.pixelwit.com/blog/wp-content/uploads/2009/03/stinkbug.jpg" alt="stinkbug" title="stinkbug" width="100" height="100" class="alignleft size-full wp-image-848" />Here&#8217;s an interesting fact: Going to FullScreen mode causes Flash to temporarily stop executing all onMouseMove events.</p>
<p>I&#8217;m sure if someone from Adobe was pressed hard enough they might be able to provide some convoluted ~logical~ reasons why going into full-screen mode stops all onMouseMove events but I&#8217;m not buying it.  I wasted a few frustrating hours figuring this out and when I searched the web to confirm my suspicions I found no mention of this &#8220;feature&#8221; so I&#8217;m calling it what it is, a BUG.  </p>
<p>Here, take a look at this ugly SWF (move your mouse around to draw a line whenever the OnMouseMove event is fired and then press the blue square to toggle fullScreen mode)<a href="http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/#more-842" title="Read more">...</a><p><a href="http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/#more-842" title="''FullScreen OnMouseMove Bug'' continues">Continue reading "FullScreen OnMouseMove Bug"</a>.</p><hr />
<p><small>© Pixelwit for <a href="http://www.pixelwit.com/blog">PiXELWiT</a>, 2009. |
<a href="http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/">Permalink</a> |
<a href="http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/#comments">14 comments</a> |
Add to
<a href='http://del.icio.us/post?url=http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/&title=FullScreen OnMouseMove Bug'>del.icio.us</a>
<br/>
Post tags: <a href="http://www.pixelwit.com/blog/tag/actionscript/" rel="tag">ActionScript</a>, <a href="http://www.pixelwit.com/blog/tag/adobe/" rel="tag">Adobe</a>, <a href="http://www.pixelwit.com/blog/tag/bug/" rel="tag">Bug</a>, <a href="http://www.pixelwit.com/blog/tag/code/" rel="tag">Code</a>, <a href="http://www.pixelwit.com/blog/tag/tutorial/" rel="tag">Tutorial</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Drawing a Closed Arc Shape</title>
		<link>http://www.pixelwit.com/blog/2008/12/drawing-closed-arc-shape/</link>
		<comments>http://www.pixelwit.com/blog/2008/12/drawing-closed-arc-shape/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 13:00:06 +0000</pubDate>
		<dc:creator>Pixelwit</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Draw]]></category>
		<category><![CDATA[SWFs]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.pixelwit.com/blog/?p=748</guid>
		<description><![CDATA[This Flash tutorial provides the ActionScript needed to draw a Closed Arc (the solid shape created by connecting a pair of concentric arcs with 2 straight lines).]]></description>
			<content:encoded><![CDATA[<p>This tutorial provides the ActionScript needed to draw a &#8220;Closed Arc&#8221; which is my way of describing the solid shape created by connecting a pair of concentric arcs with 2 straight lines.  Here&#8217;s an illustration to explain:</p>
<p><img title="Regular Arc Compared to a Solid Arc" src="http://www.pixelwit.com/blog/wp-content/uploads/2008/12/regular-vs-solid-arc.png" alt="" title="regular-vs-solid-arc.jpg" width="444" height="184" class="alignnone size-full wp-image-758" /></p>
<p>(If you&#8217;re new to drawing arcs I suggest reading my previous <a title="How to Draw a Circle with ActionScript" href="http://www.pixelwit.com/blog/2007/06/basic-circle-drawing-actionscript/">circle</a> and <a title="How to Draw an Arc with ActionScript" href="http://www.pixelwit.com/blog/2007/07/draw-an-arc-with-actionscript/">arc</a> tutorials for an introduction to trigonometry in Flash.)</p>
<p>In my <a title="Draw an Arc with ActionScript" href="http://www.pixelwit.com/blog/2007/07/draw-an-arc-with-actionscript/">standard arc drawing tutorial</a> I explained the following ActionScript code<a href="http://www.pixelwit.com/blog/2008/12/drawing-closed-arc-shape/#more-748" title="Read more">...</a><p><a href="http://www.pixelwit.com/blog/2008/12/drawing-closed-arc-shape/#more-748" title="''Drawing a Closed Arc Shape'' continues">Continue reading "Drawing a Closed Arc Shape"</a>.</p><hr />
<p><small>© Pixelwit for <a href="http://www.pixelwit.com/blog">PiXELWiT</a>, 2008. |
<a href="http://www.pixelwit.com/blog/2008/12/drawing-closed-arc-shape/">Permalink</a> |
<a href="http://www.pixelwit.com/blog/2008/12/drawing-closed-arc-shape/#comments">9 comments</a> |
Add to
<a href='http://del.icio.us/post?url=http://www.pixelwit.com/blog/2008/12/drawing-closed-arc-shape/&title=Drawing a Closed Arc Shape'>del.icio.us</a>
<br/>
Post tags: <a href="http://www.pixelwit.com/blog/tag/actionscript/" rel="tag">ActionScript</a>, <a href="http://www.pixelwit.com/blog/tag/draw/" rel="tag">Draw</a>, <a href="http://www.pixelwit.com/blog/tag/swfs/" rel="tag">SWFs</a>, <a href="http://www.pixelwit.com/blog/tag/tutorial/" rel="tag">Tutorial</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.pixelwit.com/blog/2008/12/drawing-closed-arc-shape/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Flash Scripted Conic Angle Gradient</title>
		<link>http://www.pixelwit.com/blog/2008/09/flash-scripted-conic-angle-gradient/</link>
		<comments>http://www.pixelwit.com/blog/2008/09/flash-scripted-conic-angle-gradient/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 14:00:25 +0000</pubDate>
		<dc:creator>Pixelwit</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Color]]></category>
		<category><![CDATA[Draw]]></category>
		<category><![CDATA[SWFs]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.pixelwit.com/blog/?p=654</guid>
		<description><![CDATA[Flash lacks a ‘conic’ gradient fill which has been a mainstay of drawing apps like CorelDraw and Photoshop (where it’s called an “Angle Gradient”) for ages.  This Flash tutorial explains how to code your own conic angle gradient.]]></description>
			<content:encoded><![CDATA[
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_conic-gradient_01_2034928269"
			class="flashmovie"
			width="500"
			height="370">
	<param name="movie" value="http://www.pixelwit.com/blog/wp-content/uploads/2008/09/conic-gradient_01.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.pixelwit.com/blog/wp-content/uploads/2008/09/conic-gradient_01.swf"
			name="fm_conic-gradient_01_2034928269"
			width="500"
			height="370">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>One of the quirkier aspects of Flash is its lack of a &#8216;conic&#8217; gradient fill.  The conic gradient has been a mainstay of drawing apps like CorelDraw and Photoshop (where it&#8217;s called an &#8220;Angle Gradient&#8221;) for ages but Flash still hasn&#8217;t implemented this basic feature.  Go ahead and check&#8230; it&#8217;s not there.</p>
<p><em><strong>NOTE:</strong> This tutorial uses some of the code and concepts from my previous <a title="Creating a Gradient with Flash ActionScript" href="http://www.pixelwit.com/blog/2008/05/color-fading-array/">Color Gradient</a> and <a title="Drawing a Circle with Flash ActionScript" href="http://www.pixelwit.com/blog/2007/06/basic-circle-drawing-actionscript/">Circle Drawing</a> tutorials so I highly recommend checking them out for a more in-depth explanation of the following code</em><a href="http://www.pixelwit.com/blog/2008/09/flash-scripted-conic-angle-gradient/#more-654" title="Read more">...</a><p><a href="http://www.pixelwit.com/blog/2008/09/flash-scripted-conic-angle-gradient/#more-654" title="''Flash Scripted Conic Angle Gradient'' continues">Continue reading "Flash Scripted Conic Angle Gradient"</a>.</p><hr />
<p><small>© Pixelwit for <a href="http://www.pixelwit.com/blog">PiXELWiT</a>, 2008. |
<a href="http://www.pixelwit.com/blog/2008/09/flash-scripted-conic-angle-gradient/">Permalink</a> |
<a href="http://www.pixelwit.com/blog/2008/09/flash-scripted-conic-angle-gradient/#comments">5 comments</a> |
Add to
<a href='http://del.icio.us/post?url=http://www.pixelwit.com/blog/2008/09/flash-scripted-conic-angle-gradient/&title=Flash Scripted Conic Angle Gradient'>del.icio.us</a>
<br/>
Post tags: <a href="http://www.pixelwit.com/blog/tag/actionscript/" rel="tag">ActionScript</a>, <a href="http://www.pixelwit.com/blog/tag/code/" rel="tag">Code</a>, <a href="http://www.pixelwit.com/blog/tag/color/" rel="tag">Color</a>, <a href="http://www.pixelwit.com/blog/tag/draw/" rel="tag">Draw</a>, <a href="http://www.pixelwit.com/blog/tag/swfs/" rel="tag">SWFs</a>, <a href="http://www.pixelwit.com/blog/tag/tutorial/" rel="tag">Tutorial</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.pixelwit.com/blog/2008/09/flash-scripted-conic-angle-gradient/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Animated Arc Drawing</title>
		<link>http://www.pixelwit.com/blog/2008/09/animated-arc-drawing/</link>
		<comments>http://www.pixelwit.com/blog/2008/09/animated-arc-drawing/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 16:50:39 +0000</pubDate>
		<dc:creator>Pixelwit</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Draw]]></category>
		<category><![CDATA[SWFs]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.pixelwit.com/blog/?p=641</guid>
		<description><![CDATA[A Flash ActionScript tutorial explaining how to animate the drawing of an oval using an onEnterFrame event.]]></description>
			<content:encoded><![CDATA[<p>A recent comment on my <a title="How to Draw an Oval or Ellipse" href="http://www.pixelwit.com/blog/2008/08/oval-tutorial/#comment-24419">Oval Drawing Tutorial</a> asks how to &#8220;give the appearance that an oval is being drawn slowly&#8221;.  Hmmm&#8230; this sounds like a job for my handy <a title="Draw Arc Tutorial" href="http://www.pixelwit.com/blog/2007/07/draw-an-arc-with-actionscript/">Arc Drawing Function</a>.</p>
<p>Slowly drawing (or revealing) a circle can be achieved by drawing arcs of an ever-increasing size until the arc is so big that it comes back to the beginning and makes a full circle.  The same is true with ovals.  First let&#8217;s take a look at the basic code for drawing an arc of a circle<a href="http://www.pixelwit.com/blog/2008/09/animated-arc-drawing/#more-641" title="Read more">...</a><p><a href="http://www.pixelwit.com/blog/2008/09/animated-arc-drawing/#more-641" title="''Animated Arc Drawing'' continues">Continue reading "Animated Arc Drawing"</a>.</p><hr />
<p><small>© Pixelwit for <a href="http://www.pixelwit.com/blog">PiXELWiT</a>, 2008. |
<a href="http://www.pixelwit.com/blog/2008/09/animated-arc-drawing/">Permalink</a> |
<a href="http://www.pixelwit.com/blog/2008/09/animated-arc-drawing/#comments">3 comments</a> |
Add to
<a href='http://del.icio.us/post?url=http://www.pixelwit.com/blog/2008/09/animated-arc-drawing/&title=Animated Arc Drawing'>del.icio.us</a>
<br/>
Post tags: <a href="http://www.pixelwit.com/blog/tag/actionscript/" rel="tag">ActionScript</a>, <a href="http://www.pixelwit.com/blog/tag/draw/" rel="tag">Draw</a>, <a href="http://www.pixelwit.com/blog/tag/swfs/" rel="tag">SWFs</a>, <a href="http://www.pixelwit.com/blog/tag/tutorial/" rel="tag">Tutorial</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.pixelwit.com/blog/2008/09/animated-arc-drawing/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Rotated Oval Tutorial</title>
		<link>http://www.pixelwit.com/blog/2008/08/draw-rotated-oval/</link>
		<comments>http://www.pixelwit.com/blog/2008/08/draw-rotated-oval/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 20:33:36 +0000</pubDate>
		<dc:creator>Pixelwit</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Draw]]></category>
		<category><![CDATA[SWFs]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.pixelwit.com/blog/?p=403</guid>
		<description><![CDATA[Tutorial explaining the ActionScript code used to plot a series of points around the circumference of a rotated oval.  Based on the <a title="PixelWit's Circle Drawing Tutorial" href="http://www.pixelwit.com/blog/2007/06/basic-circle-drawing-actionscript/">Circle Drawing</a> and <a title="PixelWit's Oval Drawing Tutorial" href="http://www.pixelwit.com/blog/2008/08/oval-tutorial/">Oval Drawing</a> tutorials.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.pixelwit.com/blog/wp-content/uploads/2008/08/rotated-oval.png" alt="rotated oval" title="Rotated Oval" width="264" height="184" class="alignnone size-full wp-image-411" /></p>
<p>Making the transition from <a title="How to Draw a Circle" href="http://www.pixelwit.com/blog/2007/06/basic-circle-drawing-actionscript/">drawing circles</a> to <a title="How to Draw an Oval" href="http://www.pixelwit.com/blog/2008/08/oval-tutorial/">drawing ovals</a> is pretty simple but when you need to go from drawing ovals to drawing <em>rotated</em> ovals, you might run into a few problems.  This article documents some of the pitfalls I encountered and presents them as a learning experience.  If you just want some solid code to draw rotated ovals or twisted ellipses, skip ahead to the end of the article and copy the <a href="http://www.pixelwit.com/blog/2008/08/draw-rotated-oval/#solidcode">last block of code</a>.  If you think you might gain from my experience then by all means&#8230; read on.<a href="http://www.pixelwit.com/blog/2008/08/draw-rotated-oval/#more-403" title="Read more">...</a><p><a href="http://www.pixelwit.com/blog/2008/08/draw-rotated-oval/#more-403" title="''Rotated Oval Tutorial'' continues">Continue reading "Rotated Oval Tutorial"</a>.</p><hr />
<p><small>© Pixelwit for <a href="http://www.pixelwit.com/blog">PiXELWiT</a>, 2008. |
<a href="http://www.pixelwit.com/blog/2008/08/draw-rotated-oval/">Permalink</a> |
<a href="http://www.pixelwit.com/blog/2008/08/draw-rotated-oval/#comments">One comment</a> |
Add to
<a href='http://del.icio.us/post?url=http://www.pixelwit.com/blog/2008/08/draw-rotated-oval/&title=Rotated Oval Tutorial'>del.icio.us</a>
<br/>
Post tags: <a href="http://www.pixelwit.com/blog/tag/actionscript/" rel="tag">ActionScript</a>, <a href="http://www.pixelwit.com/blog/tag/code/" rel="tag">Code</a>, <a href="http://www.pixelwit.com/blog/tag/draw/" rel="tag">Draw</a>, <a href="http://www.pixelwit.com/blog/tag/swfs/" rel="tag">SWFs</a>, <a href="http://www.pixelwit.com/blog/tag/tutorial/" rel="tag">Tutorial</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.pixelwit.com/blog/2008/08/draw-rotated-oval/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

