<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: (Flash CS3) Masking using &#8216;donut&#8217; shapes within movie clips or with AS3 - it&#8217;s possible, and not too bad either</title>
	<atom:link href="http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/feed/" rel="self" type="application/rss+xml" />
	<link>http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/</link>
	<description>...and especially enthusiastic about motion tweens in Flash...</description>
	<pubDate>Tue, 06 Jan 2009 11:45:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: stahlman</title>
		<link>http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/#comment-2129</link>
		<dc:creator>stahlman</dc:creator>
		<pubDate>Sat, 03 Jan 2009 07:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/#comment-2129</guid>
		<description>Thanks this solved my problem. The strange thing is that it previews correctly, but won't render upon publish to swf.</description>
		<content:encoded><![CDATA[<p>Thanks this solved my problem. The strange thing is that it previews correctly, but won&#8217;t render upon publish to swf.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fuat Akgüm</title>
		<link>http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/#comment-2105</link>
		<dc:creator>Fuat Akgüm</dc:creator>
		<pubDate>Thu, 01 Jan 2009 13:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/#comment-2105</guid>
		<description>Firstly, thanks for tip.

I was trying to mask a movie clip with Circle plus another square. But they were in different places in stage so only the upper shape(circle) was masking the mc. Then I have to merge them with a hairline and convert hairline to shape.</description>
		<content:encoded><![CDATA[<p>Firstly, thanks for tip.</p>
<p>I was trying to mask a movie clip with Circle plus another square. But they were in different places in stage so only the upper shape(circle) was masking the mc. Then I have to merge them with a hairline and convert hairline to shape.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Matte</title>
		<link>http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/#comment-1414</link>
		<dc:creator>Patrick Matte</dc:creator>
		<pubDate>Tue, 25 Nov 2008 19:38:25 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/#comment-1414</guid>
		<description>Oh I just found the answer
&lt;pre lang="actionscript"&gt;
graphics.beginFill(0x00FF00);
graphics.drawCircle(250,250,100);
graphics.drawCircle(250,250,50);
graphics.endFill();
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Oh I just found the answer</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript actionscript" style="font-family:monospace;">graphics.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span>0x00FF00<span style="color: #66cc66;">&#41;</span>;
graphics.<span style="color: #006600;">drawCircle</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">250</span>,<span style="color: #cc66cc;">250</span>,<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span>;
graphics.<span style="color: #006600;">drawCircle</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">250</span>,<span style="color: #cc66cc;">250</span>,<span style="color: #cc66cc;">50</span><span style="color: #66cc66;">&#41;</span>;
graphics.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Matte</title>
		<link>http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/#comment-1413</link>
		<dc:creator>Patrick Matte</dc:creator>
		<pubDate>Tue, 25 Nov 2008 19:29:46 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/#comment-1413</guid>
		<description>Is it possible at all to dynamically draw a donut shape?</description>
		<content:encoded><![CDATA[<p>Is it possible at all to dynamically draw a donut shape?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Hebert</title>
		<link>http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/#comment-985</link>
		<dc:creator>Jeff Hebert</dc:creator>
		<pubDate>Sun, 26 Oct 2008 16:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/#comment-985</guid>
		<description>Robin's clockwise tip saved the day. This was driving me absolutely insane, until a fortuitous Google search brought me here, to the great original article and the dead-on comment by Robin.

Thank you thank you thank you both! I don't have all that much hair left any more, but what little I have was getting ripped out in frustration.

And for the record, this is the stupidest bug I can think of. Crazy.</description>
		<content:encoded><![CDATA[<p>Robin&#8217;s clockwise tip saved the day. This was driving me absolutely insane, until a fortuitous Google search brought me here, to the great original article and the dead-on comment by Robin.</p>
<p>Thank you thank you thank you both! I don&#8217;t have all that much hair left any more, but what little I have was getting ripped out in frustration.</p>
<p>And for the record, this is the stupidest bug I can think of. Crazy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ann Arbor Web Site Graphics Design</title>
		<link>http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/#comment-629</link>
		<dc:creator>Ann Arbor Web Site Graphics Design</dc:creator>
		<pubDate>Fri, 12 Sep 2008 07:23:57 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/#comment-629</guid>
		<description>That is a neat tip. Thanks for sharing it with us.</description>
		<content:encoded><![CDATA[<p>That is a neat tip. Thanks for sharing it with us.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin Debreuil</title>
		<link>http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/#comment-591</link>
		<dc:creator>Robin Debreuil</dc:creator>
		<pubDate>Fri, 05 Sep 2008 08:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/09/04/flash-cs3-masking-using-donut-shapes-within-movie-clips-or-with-as3-its-possible-and-not-too-bad-either/#comment-591</guid>
		<description>nice post : )

This is almost certainly because of clockwise vs counterclockwise issues. If you use the lasso tool, it will work if you make the hole going clockwise, but not if you go the other way.

One other thing you can also do is convert the mask to vector data, and then insure that data is clockwise. Yeah it is a bit extreme, but it should work in all cases. I have an old jsfl file that converts this data (http://debreuil.com/ASDraw/selectionToDrawingAPI.zip) though it is a bit compressed. 

Anyway, mostly just to mention it is probably a ccw issue -- and yeah, a Flash bug imo : )</description>
		<content:encoded><![CDATA[<p>nice post : )</p>
<p>This is almost certainly because of clockwise vs counterclockwise issues. If you use the lasso tool, it will work if you make the hole going clockwise, but not if you go the other way.</p>
<p>One other thing you can also do is convert the mask to vector data, and then insure that data is clockwise. Yeah it is a bit extreme, but it should work in all cases. I have an old jsfl file that converts this data (http://debreuil.com/ASDraw/selectionToDrawingAPI.zip) though it is a bit compressed. </p>
<p>Anyway, mostly just to mention it is probably a ccw issue &#8212; and yeah, a Flash bug imo : )</p>
]]></content:encoded>
	</item>
</channel>
</rss>
