<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Flex 4 Wedge</title>
	<atom:link href="http://flex.mentalaxis.com/2009/09/18/flex-4-wedge/feed/" rel="self" type="application/rss+xml" />
	<link>http://flex.mentalaxis.com/2009/09/18/flex-4-wedge/</link>
	<description>Some serious Flex™</description>
	<lastBuildDate>Tue, 27 Jul 2010 08:55:15 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Dan</title>
		<link>http://flex.mentalaxis.com/2009/09/18/flex-4-wedge/#comment-367</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Tue, 27 Jul 2010 08:55:15 +0000</pubDate>
		<guid isPermaLink="false">http://flex.mentalaxis.com/?p=83#comment-367</guid>
		<description>Just tried to update it, unsuccessfully. Converting it into an ellipse produced some type errors. Therefor i got no idea how to get a working example in flex 4 final.</description>
		<content:encoded><![CDATA[<p>Just tried to update it, unsuccessfully. Converting it into an ellipse produced some type errors. Therefor i got no idea how to get a working example in flex 4 final.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Denis</title>
		<link>http://flex.mentalaxis.com/2009/09/18/flex-4-wedge/#comment-366</link>
		<dc:creator>Denis</dc:creator>
		<pubDate>Fri, 23 Jul 2010 16:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://flex.mentalaxis.com/?p=83#comment-366</guid>
		<description>This would be a nice comp to add to the inventory of great flex comps if we can get a beta 2 flex 4 version going.

I cant seem to get mine going with the updates above - anyone got a demo of the beta 2 version up yet so I can see what I&#039;m doing wrong?</description>
		<content:encoded><![CDATA[<p>This would be a nice comp to add to the inventory of great flex comps if we can get a beta 2 flex 4 version going.</p>

<p>I cant seem to get mine going with the updates above - anyone got a demo of the beta 2 version up yet so I can see what I&#8217;m doing wrong?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Milkins</title>
		<link>http://flex.mentalaxis.com/2009/09/18/flex-4-wedge/#comment-365</link>
		<dc:creator>Jason Milkins</dc:creator>
		<pubDate>Tue, 20 Jul 2010 08:29:25 +0000</pubDate>
		<guid isPermaLink="false">http://flex.mentalaxis.com/?p=83#comment-365</guid>
		<description>Sure, just need to update it. I&#039;ll leave it for you to try ... send the result to http://Gist.github.com .. I&#039;ll have a closer look at it tomorrow. 

Clue, look at the Ellipse filledshape ...</description>
		<content:encoded><![CDATA[<p>Sure, just need to update it. I&#8217;ll leave it for you to try &#8230; send the result to <a href="http://Gist.github.com" rel="nofollow">http://Gist.github.com</a> .. I&#8217;ll have a closer look at it tomorrow. </p>

<p>Clue, look at the Ellipse filledshape &#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://flex.mentalaxis.com/2009/09/18/flex-4-wedge/#comment-364</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Tue, 20 Jul 2010 07:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://flex.mentalaxis.com/?p=83#comment-364</guid>
		<description>Hi,

is there any way to use it with Flex 4 Final? E.g. the function computeMatrix() has gone and so the whole script isn&#039;t working anymore.</description>
		<content:encoded><![CDATA[<p>Hi,</p>

<p>is there any way to use it with Flex 4 Final? E.g. the function computeMatrix() has gone and so the whole script isn&#8217;t working anymore.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Milkins</title>
		<link>http://flex.mentalaxis.com/2009/09/18/flex-4-wedge/#comment-114</link>
		<dc:creator>Jason Milkins</dc:creator>
		<pubDate>Wed, 28 Oct 2009 23:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://flex.mentalaxis.com/?p=83#comment-114</guid>
		<description>&lt;del datetime=&quot;2009-12-17T22:19:22+00:00&quot;&gt;It&#039;s quicker to extend Ellipse, but not cleaner, because that wouldn&#039;t be following the FlexSDK pattern.

I suppose if the FlexSDK team had decided to create a hierarchy of shapes, Wedge extending Ellipse would follow that pattern. For example if the FlexSDK had Ellipse extending Rect instead of FilledElement, then you&#039;d have that precedent. Being clean isn&#039;t about being quick, it&#039;s about consistency.
&lt;/del&gt;

This was complete crap, of course when making new shape primitives, it&#039;s better to extend the basic primitive that matches your requirements.

If there is none that fills this requirement, then yes, extend from the FilledElement superclass.

The fact that Ellipse doesn&#039;t extend from Rect is an interesting point, since they share similar methods for measurement and bounding.

It&#039;s a shame that even if we extended Ellipse in the first place, we&#039;d still need to modify the class between Beta 2 and Beta 1.

However, only the drawElement(g:Graphics) method became draw(g:Graphics).
</description>
		<content:encoded><![CDATA[<p><del datetime="2009-12-17T22:19:22+00:00">It&#8217;s quicker to extend Ellipse, but not cleaner, because that wouldn&#8217;t be following the FlexSDK pattern.</del></p>

<p>I suppose if the FlexSDK team had decided to create a hierarchy of shapes, Wedge extending Ellipse would follow that pattern. For example if the FlexSDK had Ellipse extending Rect instead of FilledElement, then you&#8217;d have that precedent. Being clean isn&#8217;t about being quick, it&#8217;s about consistency.<br />
</p>

<p>This was complete crap, of course when making new shape primitives, it&#8217;s better to extend the basic primitive that matches your requirements.</p>

<p>If there is none that fills this requirement, then yes, extend from the FilledElement superclass.</p>

<p>The fact that Ellipse doesn&#8217;t extend from Rect is an interesting point, since they share similar methods for measurement and bounding.</p>

<p>It&#8217;s a shame that even if we extended Ellipse in the first place, we&#8217;d still need to modify the class between Beta 2 and Beta 1.</p>

<p>However, only the drawElement(g:Graphics) method became draw(g:Graphics).</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://flex.mentalaxis.com/2009/09/18/flex-4-wedge/#comment-113</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Wed, 28 Oct 2009 16:18:40 +0000</pubDate>
		<guid isPermaLink="false">http://flex.mentalaxis.com/?p=83#comment-113</guid>
		<description>Jason, your recommended approach for Beta 2 (copying the Ellipse code and overriding a couple methods) will get the job done.  Of course, you also need to copy the Wedge-specific property declarations to the new class as well, and it worked perfectly.

Alternatively, isn&#039;t it cleaner to just extend spark.primitives.Ellipse and just override what you need and add the properties you need?</description>
		<content:encoded><![CDATA[<p>Jason, your recommended approach for Beta 2 (copying the Ellipse code and overriding a couple methods) will get the job done.  Of course, you also need to copy the Wedge-specific property declarations to the new class as well, and it worked perfectly.</p>

<p>Alternatively, isn&#8217;t it cleaner to just extend spark.primitives.Ellipse and just override what you need and add the properties you need?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Milkins</title>
		<link>http://flex.mentalaxis.com/2009/09/18/flex-4-wedge/#comment-112</link>
		<dc:creator>Jason Milkins</dc:creator>
		<pubDate>Tue, 20 Oct 2009 09:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://flex.mentalaxis.com/?p=83#comment-112</guid>
		<description>Hi Philip,

The simplest way to update is to take the drawElement method from this class and drop it into a copy of the new Ellipse class from beta 2, of course updating the package / class / constructor names. 

You will also need to remove the draw method from your copy of the Ellipse class (now called Wedge I assume) and rename the drawElement method to draw. 

I haven&#039;t tested this as I&#039;m in the middle of a project using Beta 1, So this is pure theory. Please let me know if I was correct.

I may well have forgotten something,</description>
		<content:encoded><![CDATA[<p>Hi Philip,</p>

<p>The simplest way to update is to take the drawElement method from this class and drop it into a copy of the new Ellipse class from beta 2, of course updating the package / class / constructor names. </p>

<p>You will also need to remove the draw method from your copy of the Ellipse class (now called Wedge I assume) and rename the drawElement method to draw. </p>

<p>I haven&#8217;t tested this as I&#8217;m in the middle of a project using Beta 1, So this is pure theory. Please let me know if I was correct.</p>

<p>I may well have forgotten something,</p>]]></content:encoded>
	</item>
	<item>
		<title>By: philip andrew</title>
		<link>http://flex.mentalaxis.com/2009/09/18/flex-4-wedge/#comment-110</link>
		<dc:creator>philip andrew</dc:creator>
		<pubDate>Sat, 17 Oct 2009 12:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://flex.mentalaxis.com/?p=83#comment-110</guid>
		<description>I just updated Flex builder to the Beta 2 version now and sadly the computeMatrix function is gone.
What to do?</description>
		<content:encoded><![CDATA[<p>I just updated Flex builder to the Beta 2 version now and sadly the computeMatrix function is gone.<br />
What to do?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Milkins</title>
		<link>http://flex.mentalaxis.com/2009/09/18/flex-4-wedge/#comment-91</link>
		<dc:creator>Jason Milkins</dc:creator>
		<pubDate>Sun, 04 Oct 2009 13:02:01 +0000</pubDate>
		<guid isPermaLink="false">http://flex.mentalaxis.com/?p=83#comment-91</guid>
		<description>This is Flex4 / Spark compatible, where as Degrafa is for Flex 3 only at the moment, that&#039;s the main feature of this one.

Please perform your own comparison, so you cover all relevant factors for your use case.

I have made a quick inspection of the filled arc drawing code as done in the Degrafa Pie Menu example, and due to the graphic command encoding that it needs to do, I would expect it to run marginally slower. I&#039;d be interested to hear what you find out..</description>
		<content:encoded><![CDATA[<p>This is Flex4 / Spark compatible, where as Degrafa is for Flex 3 only at the moment, that&#8217;s the main feature of this one.</p>

<p>Please perform your own comparison, so you cover all relevant factors for your use case.</p>

<p>I have made a quick inspection of the filled arc drawing code as done in the Degrafa Pie Menu example, and due to the graphic command encoding that it needs to do, I would expect it to run marginally slower. I&#8217;d be interested to hear what you find out..</p>]]></content:encoded>
	</item>
	<item>
		<title>By: philip andrew</title>
		<link>http://flex.mentalaxis.com/2009/09/18/flex-4-wedge/#comment-87</link>
		<dc:creator>philip andrew</dc:creator>
		<pubDate>Sun, 04 Oct 2009 03:21:05 +0000</pubDate>
		<guid isPermaLink="false">http://flex.mentalaxis.com/?p=83#comment-87</guid>
		<description>This is interesting, but how fast would it be compared to Degrafa which has some pie menu which is simular. If I am looking for speed only, which is better?
http://www.degrafa.org/samples/
Thanks, Philip</description>
		<content:encoded><![CDATA[<p>This is interesting, but how fast would it be compared to Degrafa which has some pie menu which is simular. If I am looking for speed only, which is better?<br />
<a href="http://www.degrafa.org/samples/" rel="nofollow">http://www.degrafa.org/samples/</a><br />
Thanks, Philip</p>]]></content:encoded>
	</item>
</channel>
</rss>
