<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: SuperPanelPlus: Resizable Flex Panel Component with Accessible Styling</title>
	<atom:link href="http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/feed/" rel="self" type="application/rss+xml" />
	<link>http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/</link>
	<description>[without unit tests] you&#039;re not refactoring; you&#039;re just changing shit. -Hamlet D&#039;Arcy</description>
	<lastBuildDate>Thu, 02 Feb 2012 05:54:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: jon</title>
		<link>http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/comment-page-1/#comment-761</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Sat, 04 Jun 2011 02:03:37 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/#comment-761</guid>
		<description>Found one bug... &lt;br&gt;&lt;br&gt;I&#039;m using the panel as a popup.  If the panel pops up over a model window (i.e. an Alert.show( &quot;something&quot;) is shown at the time the panel is created), the panel throws an error when dragged.&lt;br&gt;&lt;br&gt;TypeError: Error #1034: Type Coercion failed: cannot convert mx.core::FlexSprite@22a6581 to mx.core.UIComponent.&lt;br&gt;    at com.visualempathy.extensions.panel::SuperPanelPlus/panelFocusCheckHandler()[C:flexchatWebSiteFlexcomvisualempathyextensionspanel&lt;a href=&quot;http://SuperPanelPlus.as&quot; rel=&quot;nofollow&quot;&gt;SuperPanelPlus.as&lt;/a&gt;:216]&lt;br&gt;    at com.visualempathy.extensions.panel::SuperPanelPlus/panelClickHandler()[C:flexchatWebSiteFlexcomvisualempathyextensionspanel&lt;a href=&quot;http://SuperPanelPlus.as&quot; rel=&quot;nofollow&quot;&gt;SuperPanelPlus.as&lt;/a&gt;:186]</description>
		<content:encoded><![CDATA[<p>Found one bug&#8230; </p>
<p>I&#39;m using the panel as a popup.  If the panel pops up over a model window (i.e. an Alert.show( &#8220;something&#8221;) is shown at the time the panel is created), the panel throws an error when dragged.</p>
<p>TypeError: Error #1034: Type Coercion failed: cannot convert mx.core::FlexSprite@22a6581 to mx.core.UIComponent.<br />    at com.visualempathy.extensions.panel::SuperPanelPlus/panelFocusCheckHandler()[C:flexchatWebSiteFlexcomvisualempathyextensionspanel<a href="http://SuperPanelPlus.as" rel="nofollow">SuperPanelPlus.as</a>:216]<br />    at com.visualempathy.extensions.panel::SuperPanelPlus/panelClickHandler()[C:flexchatWebSiteFlexcomvisualempathyextensionspanel<a href="http://SuperPanelPlus.as" rel="nofollow">SuperPanelPlus.as</a>:186]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/comment-page-1/#comment-486</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Tue, 04 Aug 2009 00:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/#comment-486</guid>
		<description>HI Joel, &lt;br&gt;&lt;br&gt;There is one issue if you set the modal to true if you use your panel as a popUp then you get an error in the class at line 218 regarding the change of a sprite to a UIComponent. &lt;br&gt;&lt;br&gt;Thought you might want to know</description>
		<content:encoded><![CDATA[<p>HI Joel, </p>
<p>There is one issue if you set the modal to true if you use your panel as a popUp then you get an error in the class at line 218 regarding the change of a sprite to a UIComponent. </p>
<p>Thought you might want to know</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/comment-page-1/#comment-170</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Mon, 03 Aug 2009 18:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/#comment-170</guid>
		<description>HI Joel, &lt;br&gt;&lt;br&gt;There is one issue if you set the modal to true if you use your panel as a popUp then you get an error in the class at line 218 regarding the change of a sprite to a UIComponent. &lt;br&gt;&lt;br&gt;Thought you might want to know</description>
		<content:encoded><![CDATA[<p>HI Joel, </p>
<p>There is one issue if you set the modal to true if you use your panel as a popUp then you get an error in the class at line 218 regarding the change of a sprite to a UIComponent. </p>
<p>Thought you might want to know</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Slinn</title>
		<link>http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/comment-page-1/#comment-169</link>
		<dc:creator>Mike Slinn</dc:creator>
		<pubDate>Wed, 11 Mar 2009 01:26:59 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/#comment-169</guid>
		<description>I have discovered two problems with nested SuperPanelPlus windows.  The same problems exist with SuperPanel.

 - Inner SuperPanelPlus should be clipped when its bounds exceed the outer SuperPanelPlus. Instead, it can be placed anywhere, however when the outer panel is resized the inner panel snaps to (0,0)
 - When more than one inner panel is created, only the last panel seems to be able to be moved or resized.  When you watch the panel titles, you will see that they actually switch places and the bottom panel moves.

See for yourself (view source enabled):
http://www.mslinn.com/sites/flex/superPanelPlusTest/

I made a few small changes, mostly adding trace statements so problems could be seen more easily.

Mike</description>
		<content:encoded><![CDATA[<p>I have discovered two problems with nested SuperPanelPlus windows.  The same problems exist with SuperPanel.</p>
<p> &#8211; Inner SuperPanelPlus should be clipped when its bounds exceed the outer SuperPanelPlus. Instead, it can be placed anywhere, however when the outer panel is resized the inner panel snaps to (0,0)<br />
 &#8211; When more than one inner panel is created, only the last panel seems to be able to be moved or resized.  When you watch the panel titles, you will see that they actually switch places and the bottom panel moves.</p>
<p>See for yourself (view source enabled):<br />
<a href="http://www.mslinn.com/sites/flex/superPanelPlusTest/" rel="nofollow">http://www.mslinn.com/sites/flex/superPanelPlusTest/</a></p>
<p>I made a few small changes, mostly adding trace statements so problems could be seen more easily.</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/comment-page-1/#comment-168</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Mon, 06 Oct 2008 21:09:04 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/#comment-168</guid>
		<description>styleColor should do it Adam.</description>
		<content:encoded><![CDATA[<p>styleColor should do it Adam.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/comment-page-1/#comment-167</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 06 Oct 2008 20:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/#comment-167</guid>
		<description>What attribute do I modify to change the color of the panel window border?  I don&#039;t want it to be black.  Sorry for the elementary question...</description>
		<content:encoded><![CDATA[<p>What attribute do I modify to change the color of the panel window border?  I don&#8217;t want it to be black.  Sorry for the elementary question&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DomPazz</title>
		<link>http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/comment-page-1/#comment-166</link>
		<dc:creator>DomPazz</dc:creator>
		<pubDate>Sat, 06 Sep 2008 03:09:33 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/#comment-166</guid>
		<description>Thanks for this!  How hard would it be to add a minimize button?

Also, I couldn&#039;t get what Jamie above suggests to work.  I was able to add an event listener for FlexEvent.CREATION_COMPLETE and have the handler function call &quot;positionChildren()&quot;.  That seems to fix the issue.

Add this line to &quot;addListeners&quot;:
this.addEventListener(FlexEvent.CREATION_COMPLETE, posKids);

Then add this to the class:
private function posKids(evt:Event):void{
   this.positionChildren();
}</description>
		<content:encoded><![CDATA[<p>Thanks for this!  How hard would it be to add a minimize button?</p>
<p>Also, I couldn&#8217;t get what Jamie above suggests to work.  I was able to add an event listener for FlexEvent.CREATION_COMPLETE and have the handler function call &#8220;positionChildren()&#8221;.  That seems to fix the issue.</p>
<p>Add this line to &#8220;addListeners&#8221;:<br />
this.addEventListener(FlexEvent.CREATION_COMPLETE, posKids);</p>
<p>Then add this to the class:<br />
private function posKids(evt:Event):void{<br />
   this.positionChildren();<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/comment-page-1/#comment-165</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Thu, 29 May 2008 13:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/#comment-165</guid>
		<description>I noticed that too and forgot to mention it, thanks for tracking it down and posting the solution Jamie.</description>
		<content:encoded><![CDATA[<p>I noticed that too and forgot to mention it, thanks for tracking it down and posting the solution Jamie.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Badman</title>
		<link>http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/comment-page-1/#comment-164</link>
		<dc:creator>Jamie Badman</dc:creator>
		<pubDate>Thu, 29 May 2008 10:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/#comment-164</guid>
		<description>... after you&#039;ve inserted &#039;this.positionChildren();&#039; at the end of initPos!</description>
		<content:encoded><![CDATA[<p>&#8230; after you&#8217;ve inserted &#8216;this.positionChildren();&#8217; at the end of initPos!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Badman</title>
		<link>http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/comment-page-1/#comment-163</link>
		<dc:creator>Jamie Badman</dc:creator>
		<pubDate>Thu, 29 May 2008 09:31:42 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/05/26/superpanelplus-resizable-flex-panel-component-with-accessible-styling/#comment-163</guid>
		<description>Ah - figured out why it happens - I was using width and height percentages rather than explicit values - seems the percent approach causes this problem. Calling initPos seems to sort things out though ;-)</description>
		<content:encoded><![CDATA[<p>Ah &#8211; figured out why it happens &#8211; I was using width and height percentages rather than explicit values &#8211; seems the percent approach causes this problem. Calling initPos seems to sort things out though <img src='http://joelhooks.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

