<?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: Stylish modules and sub applications.</title>
	<atom:link href="http://gauravj.com/blog/2010/02/stylish-modules-and-sub-applications/feed/" rel="self" type="application/rss+xml" />
	<link>http://gauravj.com/blog/2010/02/stylish-modules-and-sub-applications/</link>
	<description>Tips and Tools of Flex</description>
	<lastBuildDate>Fri, 10 Jun 2011 09:59:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Gaurav</title>
		<link>http://gauravj.com/blog/2010/02/stylish-modules-and-sub-applications/comment-page-1/#comment-9789</link>
		<dc:creator>Gaurav</dc:creator>
		<pubDate>Fri, 28 Jan 2011 16:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://gauravj.com/blog/?p=616#comment-9789</guid>
		<description>The module swf may not have been copied correctly on the server. You should compare the checksum of the local swf vs the one on the server. 

To resolve the RTE: you probably need to pass in the moduleFactory when loading the module.</description>
		<content:encoded><![CDATA[<p>The module swf may not have been copied correctly on the server. You should compare the checksum of the local swf vs the one on the server. </p>
<p>To resolve the RTE: you probably need to pass in the moduleFactory when loading the module.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yaniv</title>
		<link>http://gauravj.com/blog/2010/02/stylish-modules-and-sub-applications/comment-page-1/#comment-9736</link>
		<dc:creator>yaniv</dc:creator>
		<pubDate>Thu, 27 Jan 2011 10:29:49 +0000</pubDate>
		<guid isPermaLink="false">http://gauravj.com/blog/?p=616#comment-9736</guid>
		<description>thanks,
of course it&#039;s based on , i am using a module after all :)
for some reason when i load the module with a relative url it loads fine (i get an error after it loads, but at least it loads), when trying to load the swf from the server (got the module swf from the bin-release or bin-debug folder of the application) i get a ModuleEvent.ERROR with an errorText of &quot;SWF is not a loadable module&quot;.

when loading it locally i get this error after the module is loaded (using ModuleLoader and handling the ready event):
this has to do with styling...

&lt;code&gt;
Main Thread (Suspended: TypeError: Error #1009: Cannot access a property or method of a null object reference.)	
	mx.charts.chartClasses::DualStyleObject/http://www.adobe.com/2006/flex/mx/internal::initProtoChain	
	mx.core::UIComponent/regenerateStyleCache	
	mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild	
	mx.core::UIComponent/addChild	
	mx.charts.chartClasses::CartesianChart/commitProperties	
	mx.core::UIComponent/validateProperties	
	mx.managers::LayoutManager/validateProperties	
	mx.managers::LayoutManager/doPhasedInstantiation	
	mx.managers::LayoutManager/doPhasedInstantiationCallback	
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>thanks,<br />
of course it&#8217;s based on , i am using a module after all <img src='http://gauravj.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
for some reason when i load the module with a relative url it loads fine (i get an error after it loads, but at least it loads), when trying to load the swf from the server (got the module swf from the bin-release or bin-debug folder of the application) i get a ModuleEvent.ERROR with an errorText of &#8220;SWF is not a loadable module&#8221;.</p>
<p>when loading it locally i get this error after the module is loaded (using ModuleLoader and handling the ready event):<br />
this has to do with styling&#8230;</p>
<p><code><br />
Main Thread (Suspended: TypeError: Error #1009: Cannot access a property or method of a null object reference.)<br />
	mx.charts.chartClasses::DualStyleObject/http://www.adobe.com/2006/flex/mx/internal::initProtoChain<br />
	mx.core::UIComponent/regenerateStyleCache<br />
	mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild<br />
	mx.core::UIComponent/addChild<br />
	mx.charts.chartClasses::CartesianChart/commitProperties<br />
	mx.core::UIComponent/validateProperties<br />
	mx.managers::LayoutManager/validateProperties<br />
	mx.managers::LayoutManager/doPhasedInstantiation<br />
	mx.managers::LayoutManager/doPhasedInstantiationCallback<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav</title>
		<link>http://gauravj.com/blog/2010/02/stylish-modules-and-sub-applications/comment-page-1/#comment-9668</link>
		<dc:creator>Gaurav</dc:creator>
		<pubDate>Wed, 26 Jan 2011 14:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://gauravj.com/blog/?p=616#comment-9668</guid>
		<description>Make sure that the root tag of the swf that you are loading is &lt;blockquote&gt;&lt;pre lang=&quot;mxml&quot;&gt;&lt;mx:Module&gt;&lt;/pre&gt;&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Make sure that the root tag of the swf that you are loading is<br />
<blockquote>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Module</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

</blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: yaniv</title>
		<link>http://gauravj.com/blog/2010/02/stylish-modules-and-sub-applications/comment-page-1/#comment-9667</link>
		<dc:creator>yaniv</dc:creator>
		<pubDate>Wed, 26 Jan 2011 14:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://gauravj.com/blog/?p=616#comment-9667</guid>
		<description>very nice post!
This has showed me that i have lot&#039;s of reading to do about the new Flex 4 styling.
I didn&#039;t know about the option to use various selectors (class, Id, Type, descendant), only classes.
I have a problem with loading modules from an absolute URL, i keep getting the following error:
VerifyError: Error #1014: Class mx.modules::Module could not be found.

Is there a known issue about that? I could hardly found any posts regarding Flex 4 and modules.
Thanks!</description>
		<content:encoded><![CDATA[<p>very nice post!<br />
This has showed me that i have lot&#8217;s of reading to do about the new Flex 4 styling.<br />
I didn&#8217;t know about the option to use various selectors (class, Id, Type, descendant), only classes.<br />
I have a problem with loading modules from an absolute URL, i keep getting the following error:<br />
VerifyError: Error #1014: Class mx.modules::Module could not be found.</p>
<p>Is there a known issue about that? I could hardly found any posts regarding Flex 4 and modules.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav</title>
		<link>http://gauravj.com/blog/2010/02/stylish-modules-and-sub-applications/comment-page-1/#comment-9079</link>
		<dc:creator>Gaurav</dc:creator>
		<pubDate>Fri, 14 Jan 2011 15:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://gauravj.com/blog/?p=616#comment-9079</guid>
		<description>I thought you were trying to find out the styles defined in the parent app that&#039;s why I suggested using getStyleDeclaration() on FlexGlobals.topLevelApplication.styleManager. 


BTW, using static function to set default styles is an older way(from flex 3). With Flex 4 and later builds, you should be overriding the &quot;set moduleFactory&quot; in you application to set the default values. That would solve the issue that you are facing..</description>
		<content:encoded><![CDATA[<p>I thought you were trying to find out the styles defined in the parent app that&#8217;s why I suggested using getStyleDeclaration() on FlexGlobals.topLevelApplication.styleManager. </p>
<p>BTW, using static function to set default styles is an older way(from flex 3). With Flex 4 and later builds, you should be overriding the &#8220;set moduleFactory&#8221; in you application to set the default values. That would solve the issue that you are facing..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

