<?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: WindowShade component added to FlexLib</title>
	<atom:link href="http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/feed/" rel="self" type="application/rss+xml" />
	<link>http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/</link>
	<description>A blog about Adobe Flex</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:51:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: Chris</title>
		<link>http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/comment-page-1/#comment-211423</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 11 Aug 2011 15:21:21 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/#comment-211423</guid>
		<description>Zee &amp; Doug:
I had an issue where my AIR app would crash when using a WindowShade going from Flex 3 to Flex 4. I had to add a style for the headerClass in WindowShades. Try adding a style to your project like:

    @namespace flexlib &quot;http://code.google.com/p/flexlib/&quot;;
    flexlib&#124;WindowShade {
        headerClass:ClassReference(&quot;mx.controls.Button&quot;);
    }</description>
		<content:encoded><![CDATA[<p>Zee &amp; Doug:<br />
I had an issue where my AIR app would crash when using a WindowShade going from Flex 3 to Flex 4. I had to add a style for the headerClass in WindowShades. Try adding a style to your project like:</p>
<p>    @namespace flexlib &#8220;http://code.google.com/p/flexlib/&#8221;;<br />
    flexlib|WindowShade {<br />
        headerClass:ClassReference(&#8220;mx.controls.Button&#8221;);<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zee</title>
		<link>http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/comment-page-1/#comment-211009</link>
		<dc:creator>Zee</dc:creator>
		<pubDate>Fri, 06 May 2011 20:29:15 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/#comment-211009</guid>
		<description>Hi Doug, 

I am having the exactly same problem as Hariprasad is above. 

Could you help us out with this. 

Best
Zee</description>
		<content:encoded><![CDATA[<p>Hi Doug, </p>
<p>I am having the exactly same problem as Hariprasad is above. </p>
<p>Could you help us out with this. </p>
<p>Best<br />
Zee</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hariprasad</title>
		<link>http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/comment-page-1/#comment-210723</link>
		<dc:creator>Hariprasad</dc:creator>
		<pubDate>Sat, 26 Feb 2011 07:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/#comment-210723</guid>
		<description>Hi Doug,

I like to use Your WindowShade in my application.

But I am facing an issue with WindowShade in flex4, I have changed my application from flex3 to flex 4.The issue is i am not able to use WindowShade in my application.If i add the WindowShade while running the application nothing is showing in the browser. If i change the WindowShade to Panel or Some other container it is working fine.I am new to flex.

Could you please help me to get rid of this...</description>
		<content:encoded><![CDATA[<p>Hi Doug,</p>
<p>I like to use Your WindowShade in my application.</p>
<p>But I am facing an issue with WindowShade in flex4, I have changed my application from flex3 to flex 4.The issue is i am not able to use WindowShade in my application.If i add the WindowShade while running the application nothing is showing in the browser. If i change the WindowShade to Panel or Some other container it is working fine.I am new to flex.</p>
<p>Could you please help me to get rid of this&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CC</title>
		<link>http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/comment-page-1/#comment-210424</link>
		<dc:creator>CC</dc:creator>
		<pubDate>Fri, 03 Dec 2010 22:27:12 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/#comment-210424</guid>
		<description>Hi Doug,  I love the windowShade.  One question. When the windowshade is first clicked, it is not opening or closing... from the second click onward, it works fine.  Is this a problem for anyone else? Any ideas how to fix it?  Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Doug,  I love the windowShade.  One question. When the windowshade is first clicked, it is not opening or closing&#8230; from the second click onward, it works fine.  Is this a problem for anyone else? Any ideas how to fix it?  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tth</title>
		<link>http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/comment-page-1/#comment-210327</link>
		<dc:creator>tth</dc:creator>
		<pubDate>Thu, 18 Nov 2010 03:22:26 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/#comment-210327</guid>
		<description>Hi Doug, similar to David, can I find out what you did to fix “TypeError: Error #1007: Instantiation attempted on a non-constructor. at flexlib.containers::WindowShade/createOrReplaceHeaderButton()[/Users/groumly/Development/workspace-3.5-flex4/FlexLib/src/flexlib/containers/WindowShade.as:258]” ??

Thank you.</description>
		<content:encoded><![CDATA[<p>Hi Doug, similar to David, can I find out what you did to fix “TypeError: Error #1007: Instantiation attempted on a non-constructor. at flexlib.containers::WindowShade/createOrReplaceHeaderButton()[/Users/groumly/Development/workspace-3.5-flex4/FlexLib/src/flexlib/containers/WindowShade.as:258]” ??</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arnie</title>
		<link>http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/comment-page-1/#comment-210101</link>
		<dc:creator>Arnie</dc:creator>
		<pubDate>Thu, 02 Sep 2010 02:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/#comment-210101</guid>
		<description>Hey guys,

Have any of you guys been able to have the default arrow displayed for the windowshade component in flex 4? I can&#039;t seem to get it displayed. Everything else works.

cheers
Anh</description>
		<content:encoded><![CDATA[<p>Hey guys,</p>
<p>Have any of you guys been able to have the default arrow displayed for the windowshade component in flex 4? I can&#8217;t seem to get it displayed. Everything else works.</p>
<p>cheers<br />
Anh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/comment-page-1/#comment-210072</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 15 Aug 2010 17:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/#comment-210072</guid>
		<description>Doug:
I have the same issue, but, don&#039;t understand what you fixed.  Can you clarify your last post?

I&#039;m using linkButtonWindowShade in few places in my app also, and have component extending WindowShade, should this style also be included here?

Thanks,
David</description>
		<content:encoded><![CDATA[<p>Doug:<br />
I have the same issue, but, don&#8217;t understand what you fixed.  Can you clarify your last post?</p>
<p>I&#8217;m using linkButtonWindowShade in few places in my app also, and have component extending WindowShade, should this style also be included here?</p>
<p>Thanks,<br />
David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/comment-page-1/#comment-210066</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Wed, 11 Aug 2010 13:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/#comment-210066</guid>
		<description>Ok, got it sorted - My issue was related to nesting of WindowShades, whereas in Flex3 I only need define stylename in the parent WindowShade - in Flex4 I need to define stylename for all nested instances as well.  I didn&#039;t look back at the Flex3 WindowShade docs but I did see that headerClass has no inheritance in Flex4 docs, which I assume was the issue.
HTH
Doug</description>
		<content:encoded><![CDATA[<p>Ok, got it sorted &#8211; My issue was related to nesting of WindowShades, whereas in Flex3 I only need define stylename in the parent WindowShade &#8211; in Flex4 I need to define stylename for all nested instances as well.  I didn&#8217;t look back at the Flex3 WindowShade docs but I did see that headerClass has no inheritance in Flex4 docs, which I assume was the issue.<br />
HTH<br />
Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/comment-page-1/#comment-210063</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Tue, 10 Aug 2010 14:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/#comment-210063</guid>
		<description>I have what seems to be similar issue to Srini, except that moving styles out of component did not resolve issue.  The error begins: &quot;TypeError: Error #1007: Instantiation attempted on a non-constructor. 	at flexlib.containers::WindowShade/createOrReplaceHeaderButton()[/Users/groumly/Development/workspace-3.5-flex4/FlexLib/src/flexlib/containers/WindowShade.as:258]&quot;

From WindowShade.as:
else {
            	var headerClass:Class = getStyle(&quot;headerClass&quot;);
258... 	_headerButton = new headerClass();
            }

This indicates to me that the issue is with headerClass, as defined in styles in main.mxml:
.linkButtonWindowShade {
			headerClass:ClassReference(&#039;mx.controls.LinkButton&#039;);
			header-style-name: linkButtonStyle;
.....

Not sure...thoughts appreciated</description>
		<content:encoded><![CDATA[<p>I have what seems to be similar issue to Srini, except that moving styles out of component did not resolve issue.  The error begins: &#8220;TypeError: Error #1007: Instantiation attempted on a non-constructor. 	at flexlib.containers::WindowShade/createOrReplaceHeaderButton()[/Users/groumly/Development/workspace-3.5-flex4/FlexLib/src/flexlib/containers/WindowShade.as:258]&#8221;</p>
<p>From WindowShade.as:<br />
else {<br />
            	var headerClass:Class = getStyle(&#8220;headerClass&#8221;);<br />
258&#8230; 	_headerButton = new headerClass();<br />
            }</p>
<p>This indicates to me that the issue is with headerClass, as defined in styles in main.mxml:<br />
.linkButtonWindowShade {<br />
			headerClass:ClassReference(&#8216;mx.controls.LinkButton&#8217;);<br />
			header-style-name: linkButtonStyle;<br />
&#8230;..</p>
<p>Not sure&#8230;thoughts appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srini</title>
		<link>http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/comment-page-1/#comment-209403</link>
		<dc:creator>Srini</dc:creator>
		<pubDate>Fri, 14 May 2010 18:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/09/windowshade-component-added-to-flexlib/#comment-209403</guid>
		<description>Got it , component class wasn&#039;t able to find headerlcass , which exists in stylesheet.

Thanks
Srini</description>
		<content:encoded><![CDATA[<p>Got it , component class wasn&#8217;t able to find headerlcass , which exists in stylesheet.</p>
<p>Thanks<br />
Srini</p>
]]></content:encoded>
	</item>
</channel>
</rss>

