<?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: Resizable TitleWindow in Flex 4</title>
	<atom:link href="http://flexponential.com/2010/01/10/resizable-titlewindow-in-flex-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://flexponential.com/2010/01/10/resizable-titlewindow-in-flex-4/</link>
	<description>Programming under the influence of Flex</description>
	<lastBuildDate>Thu, 17 May 2012 06:37:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: vj</title>
		<link>http://flexponential.com/2010/01/10/resizable-titlewindow-in-flex-4/comment-page-1/#comment-9549</link>
		<dc:creator>vj</dc:creator>
		<pubDate>Tue, 20 Dec 2011 12:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=392#comment-9549</guid>
		<description>Thanks, Kevin.. that worked like a charm... :)</description>
		<content:encoded><![CDATA[<p>Thanks, Kevin.. that worked like a charm&#8230; <img src='http://flexponential.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Lin</title>
		<link>http://flexponential.com/2010/01/10/resizable-titlewindow-in-flex-4/comment-page-1/#comment-7750</link>
		<dc:creator>Kevin Lin</dc:creator>
		<pubDate>Wed, 26 Oct 2011 16:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=392#comment-7750</guid>
		<description>&lt;a href=&quot;#comment-5780&quot; rel=&quot;nofollow&quot;&gt;@Avinash &lt;/a&gt; 
Feel free to use the code from this post in your project. We appreciate you providing a link back to this post because it might be useful for people browsing your code to have a place to get more information if they need to.</description>
		<content:encoded><![CDATA[<p><a href="#comment-5780" rel="nofollow">@Avinash </a><br />
Feel free to use the code from this post in your project. We appreciate you providing a link back to this post because it might be useful for people browsing your code to have a place to get more information if they need to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Lin</title>
		<link>http://flexponential.com/2010/01/10/resizable-titlewindow-in-flex-4/comment-page-1/#comment-7749</link>
		<dc:creator>Kevin Lin</dc:creator>
		<pubDate>Wed, 26 Oct 2011 16:51:22 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=392#comment-7749</guid>
		<description>&lt;a href=&quot;#comment-2309&quot; rel=&quot;nofollow&quot;&gt;@Azwan &lt;/a&gt; 
TitleWindow works just like a panel, so if you add elements to it, it should work.</description>
		<content:encoded><![CDATA[<p><a href="#comment-2309" rel="nofollow">@Azwan </a><br />
TitleWindow works just like a panel, so if you add elements to it, it should work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Lin</title>
		<link>http://flexponential.com/2010/01/10/resizable-titlewindow-in-flex-4/comment-page-1/#comment-7748</link>
		<dc:creator>Kevin Lin</dc:creator>
		<pubDate>Wed, 26 Oct 2011 16:50:25 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=392#comment-7748</guid>
		<description>&lt;a href=&quot;#comment-2098&quot; rel=&quot;nofollow&quot;&gt;@Mike Haggerty &lt;/a&gt; 
I think you can use cursorManager.setCursor() to do this.</description>
		<content:encoded><![CDATA[<p><a href="#comment-2098" rel="nofollow">@Mike Haggerty </a><br />
I think you can use cursorManager.setCursor() to do this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://flexponential.com/2010/01/10/resizable-titlewindow-in-flex-4/comment-page-1/#comment-5780</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Wed, 10 Aug 2011 10:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=392#comment-5780</guid>
		<description>well done sir!!! this component was more useful...I will modify it for specific purposes in the future, so it would be great if you can put this inside a google code project or do I put it in the richflex project http://code.google.com/p/richflex/ ?</description>
		<content:encoded><![CDATA[<p>well done sir!!! this component was more useful&#8230;I will modify it for specific purposes in the future, so it would be great if you can put this inside a google code project or do I put it in the richflex project <a href="http://code.google.com/p/richflex/" rel="nofollow">http://code.google.com/p/richflex/</a> ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Mc</title>
		<link>http://flexponential.com/2010/01/10/resizable-titlewindow-in-flex-4/comment-page-1/#comment-5724</link>
		<dc:creator>Craig Mc</dc:creator>
		<pubDate>Fri, 05 Aug 2011 08:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=392#comment-5724</guid>
		<description>Hi,

Any idea if I could apply this sort of resizing to an item renderer?

Or at least some tips on how to go about it.

C</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Any idea if I could apply this sort of resizing to an item renderer?</p>
<p>Or at least some tips on how to go about it.</p>
<p>C</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://flexponential.com/2010/01/10/resizable-titlewindow-in-flex-4/comment-page-1/#comment-3322</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Wed, 23 Feb 2011 10:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=392#comment-3322</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-3321&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-3321&quot; rel=&quot;nofollow&quot;&gt;Justin&lt;/a&gt; :&lt;/strong&gt;
Enforcing a fixed size should be done something like this…
Change these lines in resizeHandle_mouseMoveHandler:
skin.width = prevWidth + (event.stageX – clickOffset.x);
skin.height = prevHeight + (event.stageY – clickOffset.y);
Override the measure function:
override protected function measure():void


{
if(skin)
{
var skinMinWidth:Number = isNaN(skin.minWidth) ? 200 : skin.minWidth;
var skinMaxWidth:Number = isNaN(skin.maxWidth) ? 200 : skin.maxWidth;
measuredWidth = Math.max(skinMinWidth, skin.getExplicitOrMeasuredWidth());
measuredHeight = Math.max(skinMaxWidth, skin.getExplicitOrMeasuredHeight());
measuredMinWidth = skinMinWidth;
measuredMinHeight = skinMaxWidth;
}
}
&lt;/blockquote&gt;

Sorry, couple of typos

var skinMinWidth:Number = isNaN(skin.minWidth) ? 200 : skin.minWidth;
				var skinMinHeight:Number = isNaN(skin.minHeight) ? 200 : skin.minHeight;
				
				measuredWidth = Math.max(skinMinWidth, skin.getExplicitOrMeasuredWidth());
				measuredHeight = Math.max(skinMinHeight, skin.getExplicitOrMeasuredHeight());</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-3321"><p>
<strong><a href="#comment-3321" rel="nofollow">Justin</a> :</strong><br />
Enforcing a fixed size should be done something like this…<br />
Change these lines in resizeHandle_mouseMoveHandler:<br />
skin.width = prevWidth + (event.stageX – clickOffset.x);<br />
skin.height = prevHeight + (event.stageY – clickOffset.y);<br />
Override the measure function:<br />
override protected function measure():void</p>
<p>{<br />
if(skin)<br />
{<br />
var skinMinWidth:Number = isNaN(skin.minWidth) ? 200 : skin.minWidth;<br />
var skinMaxWidth:Number = isNaN(skin.maxWidth) ? 200 : skin.maxWidth;<br />
measuredWidth = Math.max(skinMinWidth, skin.getExplicitOrMeasuredWidth());<br />
measuredHeight = Math.max(skinMaxWidth, skin.getExplicitOrMeasuredHeight());<br />
measuredMinWidth = skinMinWidth;<br />
measuredMinHeight = skinMaxWidth;<br />
}<br />
}
</p></blockquote>
<p>Sorry, couple of typos</p>
<p>var skinMinWidth:Number = isNaN(skin.minWidth) ? 200 : skin.minWidth;<br />
				var skinMinHeight:Number = isNaN(skin.minHeight) ? 200 : skin.minHeight;</p>
<p>				measuredWidth = Math.max(skinMinWidth, skin.getExplicitOrMeasuredWidth());<br />
				measuredHeight = Math.max(skinMinHeight, skin.getExplicitOrMeasuredHeight());</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://flexponential.com/2010/01/10/resizable-titlewindow-in-flex-4/comment-page-1/#comment-3321</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Wed, 23 Feb 2011 10:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=392#comment-3321</guid>
		<description>Enforcing a fixed size should be done something like this...

Change these lines in resizeHandle_mouseMoveHandler:
skin.width = prevWidth + (event.stageX - clickOffset.x);
skin.height = prevHeight + (event.stageY - clickOffset.y);

Override the measure function:
override protected function measure():void
		{
			if(skin)
			{
				var skinMinWidth:Number = isNaN(skin.minWidth) ? 200 : skin.minWidth;
				var skinMaxWidth:Number = isNaN(skin.maxWidth) ? 200 : skin.maxWidth;
				
				measuredWidth = Math.max(skinMinWidth, skin.getExplicitOrMeasuredWidth());
				measuredHeight = Math.max(skinMaxWidth, skin.getExplicitOrMeasuredHeight());
				
				measuredMinWidth = skinMinWidth;
				measuredMinHeight = skinMaxWidth;
			}
		}</description>
		<content:encoded><![CDATA[<p>Enforcing a fixed size should be done something like this&#8230;</p>
<p>Change these lines in resizeHandle_mouseMoveHandler:<br />
skin.width = prevWidth + (event.stageX &#8211; clickOffset.x);<br />
skin.height = prevHeight + (event.stageY &#8211; clickOffset.y);</p>
<p>Override the measure function:<br />
override protected function measure():void<br />
		{<br />
			if(skin)<br />
			{<br />
				var skinMinWidth:Number = isNaN(skin.minWidth) ? 200 : skin.minWidth;<br />
				var skinMaxWidth:Number = isNaN(skin.maxWidth) ? 200 : skin.maxWidth;</p>
<p>				measuredWidth = Math.max(skinMinWidth, skin.getExplicitOrMeasuredWidth());<br />
				measuredHeight = Math.max(skinMaxWidth, skin.getExplicitOrMeasuredHeight());</p>
<p>				measuredMinWidth = skinMinWidth;<br />
				measuredMinHeight = skinMaxWidth;<br />
			}<br />
		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Azwan</title>
		<link>http://flexponential.com/2010/01/10/resizable-titlewindow-in-flex-4/comment-page-1/#comment-2309</link>
		<dc:creator>Azwan</dc:creator>
		<pubDate>Fri, 17 Dec 2010 18:06:12 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=392#comment-2309</guid>
		<description>Hi,

I have a question regarding your component. How can i include interactive elements inside the titleWindow popup eg. graph, datagrid etc. ?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have a question regarding your component. How can i include interactive elements inside the titleWindow popup eg. graph, datagrid etc. ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Haggerty</title>
		<link>http://flexponential.com/2010/01/10/resizable-titlewindow-in-flex-4/comment-page-1/#comment-2098</link>
		<dc:creator>Mike Haggerty</dc:creator>
		<pubDate>Mon, 29 Nov 2010 17:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=392#comment-2098</guid>
		<description>Great component.  Thanks!

Has anybody implemented a mouseover handler which changes the cursor to a resize cursor when the mouse is over the resizeHandle?</description>
		<content:encoded><![CDATA[<p>Great component.  Thanks!</p>
<p>Has anybody implemented a mouseover handler which changes the cursor to a resize cursor when the mouse is over the resizeHandle?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

