<?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: StyleManager in Flex 4</title>
	<atom:link href="http://gauravj.com/blog/2010/02/stylemanager-in-flex-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://gauravj.com/blog/2010/02/stylemanager-in-flex-4/</link>
	<description>Tips and Tools of Flex</description>
	<lastBuildDate>Wed, 04 Aug 2010 12:22:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Using new StyleManager in Flex 4 &#124; Blog for Nayan</title>
		<link>http://gauravj.com/blog/2010/02/stylemanager-in-flex-4/comment-page-1/#comment-1581</link>
		<dc:creator>Using new StyleManager in Flex 4 &#124; Blog for Nayan</dc:creator>
		<pubDate>Wed, 28 Apr 2010 21:32:24 +0000</pubDate>
		<guid isPermaLink="false">http://gauravj.com/blog/?p=653#comment-1581</guid>
		<description>[...] implementation has changed so that every loaded module has its own instance of StyleManager.  This post by Gaurav Jain explains how you can use it so that the loaded modules have their own separate style [...]</description>
		<content:encoded><![CDATA[<p>[...] implementation has changed so that every loaded module has its own instance of StyleManager.  This post by Gaurav Jain explains how you can use it so that the loaded modules have their own separate style [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav</title>
		<link>http://gauravj.com/blog/2010/02/stylemanager-in-flex-4/comment-page-1/#comment-1387</link>
		<dc:creator>Gaurav</dc:creator>
		<pubDate>Tue, 06 Apr 2010 15:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://gauravj.com/blog/?p=653#comment-1387</guid>
		<description>What error are you getting? I just tried it and it worked for me using FB 4.</description>
		<content:encoded><![CDATA[<p>What error are you getting? I just tried it and it worked for me using FB 4.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://gauravj.com/blog/2010/02/stylemanager-in-flex-4/comment-page-1/#comment-1348</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Thu, 01 Apr 2010 11:34:50 +0000</pubDate>
		<guid isPermaLink="false">http://gauravj.com/blog/?p=653#comment-1348</guid>
		<description>This example is not working anymore in FB 4.0</description>
		<content:encoded><![CDATA[<p>This example is not working anymore in FB 4.0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav</title>
		<link>http://gauravj.com/blog/2010/02/stylemanager-in-flex-4/comment-page-1/#comment-1343</link>
		<dc:creator>Gaurav</dc:creator>
		<pubDate>Thu, 01 Apr 2010 02:16:29 +0000</pubDate>
		<guid isPermaLink="false">http://gauravj.com/blog/?p=653#comment-1343</guid>
		<description>initStyles() doesn&#039;t have to be a static method. You can override the set moduleFactory() method and call initStyles from that method. 

HTH, 
Gaurav</description>
		<content:encoded><![CDATA[<p>initStyles() doesn&#8217;t have to be a static method. You can override the set moduleFactory() method and call initStyles from that method. </p>
<p>HTH,<br />
Gaurav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zeroin</title>
		<link>http://gauravj.com/blog/2010/02/stylemanager-in-flex-4/comment-page-1/#comment-1330</link>
		<dc:creator>zeroin</dc:creator>
		<pubDate>Tue, 30 Mar 2010 09:32:34 +0000</pubDate>
		<guid isPermaLink="false">http://gauravj.com/blog/?p=653#comment-1330</guid>
		<description>Hi,

Thank you for this article. I have one question: I have my Flex 3 components written in pure AS3, and made them work with FB4 by changing

StyleManager.getStyleDeclaration(&quot;MyComp&quot;) to StyleManager.getStyleDeclaration(&quot;com.xxx.MyComp&quot;) 

and 

StyleManager.setStyleDeclaration(&quot;MyComp&quot;, styleDeclaration, false) to StyleManager.setStyleDeclaration(&quot;com.xxx.MyComp&quot;, styleDeclaration, false)

All works fine, but, of course, I get the error like you described.

My styles are inited by calling static method, initStyles, like it was used in FB3 components. This means I can&#039;t address to this.moduleFactory in this method. Does this mean I should make this method not static and call it, well, in Constructor? 

Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thank you for this article. I have one question: I have my Flex 3 components written in pure AS3, and made them work with FB4 by changing</p>
<p>StyleManager.getStyleDeclaration(&#8220;MyComp&#8221;) to StyleManager.getStyleDeclaration(&#8220;com.xxx.MyComp&#8221;) </p>
<p>and </p>
<p>StyleManager.setStyleDeclaration(&#8220;MyComp&#8221;, styleDeclaration, false) to StyleManager.setStyleDeclaration(&#8220;com.xxx.MyComp&#8221;, styleDeclaration, false)</p>
<p>All works fine, but, of course, I get the error like you described.</p>
<p>My styles are inited by calling static method, initStyles, like it was used in FB3 components. This means I can&#8217;t address to this.moduleFactory in this method. Does this mean I should make this method not static and call it, well, in Constructor? </p>
<p>Thanks a lot!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
