<?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: Flex Modules Watch Your Scope</title>
	<atom:link href="http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/</link>
	<description>RIA, embedded programming, what else!</description>
	<lastBuildDate>Fri, 09 Jul 2010 15:43:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Kai</title>
		<link>http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-483</link>
		<dc:creator>Kai</dc:creator>
		<pubDate>Tue, 22 Jun 2010 15:28:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-483</guid>
		<description>Thank you!! I would have never figured this out on my own for the life of me!</description>
		<content:encoded><![CDATA[<p>Thank you!! I would have never figured this out on my own for the life of me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sai</title>
		<link>http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-444</link>
		<dc:creator>sai</dc:creator>
		<pubDate>Sat, 10 Apr 2010 04:44:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-444</guid>
		<description>For me it happend... i followed your instructions by putting the moduleLoader as global.. but the same problem occurs..but i fixed it differently...

The object where this module loading logic is going on is called from a local instance in the main application. So, GC is clearig it off in the main application..local variables.. it was a shock to me.. so, if the same problem is occuring to you.. check to see where you are calling this logic from..</description>
		<content:encoded><![CDATA[<p>For me it happend&#8230; i followed your instructions by putting the moduleLoader as global.. but the same problem occurs..but i fixed it differently&#8230;</p>
<p>The object where this module loading logic is going on is called from a local instance in the main application. So, GC is clearig it off in the main application..local variables.. it was a shock to me.. so, if the same problem is occuring to you.. check to see where you are calling this logic from..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: azsx</title>
		<link>http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-443</link>
		<dc:creator>azsx</dc:creator>
		<pubDate>Wed, 31 Mar 2010 18:31:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-443</guid>
		<description>I was &quot;this close...&quot;!!! [shooting myself in the head] - as always - you&#039;re so much smarter than google!!! :)) I didn&#039;t try this yet, but I am sure it must work!!! Thank a lot!</description>
		<content:encoded><![CDATA[<p>I was &#8220;this close&#8230;&#8221;!!! [shooting myself in the head] &#8211; as always &#8211; you&#8217;re so much smarter than google!!! <img src='http://www.joshuaostrom.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) I didn&#8217;t try this yet, but I am sure it must work!!! Thank a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: handoyo</title>
		<link>http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-391</link>
		<dc:creator>handoyo</dc:creator>
		<pubDate>Mon, 17 Aug 2009 10:27:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-391</guid>
		<description>@Naju Have you see the code above where Joshua wrote like this :

Here’s an example using ModuleLoader…

public function loadSWFModule(swfURL:String):void
{
var moduleLoader:ModuleLoader = new ModuleLoader();
moduleLoader.url = swfURL;

moduleLoader.addEventListener(ModuleEvent.READY,onModuleLoaded);
moduleLoader.addEventListener(ModuleEvent.ERROR,onModuleError);
moduleLoader.addEventListener(ModuleEvent.PROGRESS,onProgress);
moduleLoader.loadModule();
}

Hope it helps.. ^_^</description>
		<content:encoded><![CDATA[<p>@Naju Have you see the code above where Joshua wrote like this :</p>
<p>Here’s an example using ModuleLoader…</p>
<p>public function loadSWFModule(swfURL:String):void<br />
{<br />
var moduleLoader:ModuleLoader = new ModuleLoader();<br />
moduleLoader.url = swfURL;</p>
<p>moduleLoader.addEventListener(ModuleEvent.READY,onModuleLoaded);<br />
moduleLoader.addEventListener(ModuleEvent.ERROR,onModuleError);<br />
moduleLoader.addEventListener(ModuleEvent.PROGRESS,onProgress);<br />
moduleLoader.loadModule();<br />
}</p>
<p>Hope it helps.. ^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naju</title>
		<link>http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-359</link>
		<dc:creator>Naju</dc:creator>
		<pubDate>Tue, 07 Jul 2009 06:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-359</guid>
		<description>Hi ,

I cannot assgn a module loader to local variable



private function assgnLoader():void{

var loader:ModuleLoader = ml;

}

This throws TypeError.

what is the problem it could be ..

Please help

i tried the follwing too .

var loader:ModuleLoader = ModuleLoader (ml);

and

var loader:ModuleLoader = ml as ModuleLoader;

leads the same error.

Please help</description>
		<content:encoded><![CDATA[<p>Hi ,</p>
<p>I cannot assgn a module loader to local variable</p>
<p>private function assgnLoader():void{</p>
<p>var loader:ModuleLoader = ml;</p>
<p>}</p>
<p>This throws TypeError.</p>
<p>what is the problem it could be ..</p>
<p>Please help</p>
<p>i tried the follwing too .</p>
<p>var loader:ModuleLoader = ModuleLoader (ml);</p>
<p>and</p>
<p>var loader:ModuleLoader = ml as ModuleLoader;</p>
<p>leads the same error.</p>
<p>Please help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naju</title>
		<link>http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-358</link>
		<dc:creator>Naju</dc:creator>
		<pubDate>Tue, 07 Jul 2009 05:58:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-358</guid>
		<description>Hi ,

I cannot assgn a module loader to local variable



private function assgnLoader():void{

var loader:ModuleLoader = ml; 

}

This throws TypeError.

what is the problem it could be .. 

Please help

i tried the follwing too .

var loader:ModuleLoader = ModuleLoader (ml);

and 

var loader:ModuleLoader = ml as ModuleLoader;

leads the same error.


Please help</description>
		<content:encoded><![CDATA[<p>Hi ,</p>
<p>I cannot assgn a module loader to local variable</p>
<p>private function assgnLoader():void{</p>
<p>var loader:ModuleLoader = ml; </p>
<p>}</p>
<p>This throws TypeError.</p>
<p>what is the problem it could be .. </p>
<p>Please help</p>
<p>i tried the follwing too .</p>
<p>var loader:ModuleLoader = ModuleLoader (ml);</p>
<p>and </p>
<p>var loader:ModuleLoader = ml as ModuleLoader;</p>
<p>leads the same error.</p>
<p>Please help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brixel</title>
		<link>http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-333</link>
		<dc:creator>Brixel</dc:creator>
		<pubDate>Mon, 08 Jun 2009 18:14:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-333</guid>
		<description>Having the same issue, however my ModuleLoader&#039;s are on the stage, not instantiated from code. Any solutions for that scenario?</description>
		<content:encoded><![CDATA[<p>Having the same issue, however my ModuleLoader&#8217;s are on the stage, not instantiated from code. Any solutions for that scenario?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Calahan</title>
		<link>http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-257</link>
		<dc:creator>Patrick Calahan</dc:creator>
		<pubDate>Fri, 27 Feb 2009 01:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-257</guid>
		<description>Oh, thank you so much for posting this.  For the life of me I could not figure out why ModuleEvent.READY was not being dispatched when loading on startup.

This behavior is quite bizarre - Adobe really should document this better.

At any rate, you and Google are my best friends. :)</description>
		<content:encoded><![CDATA[<p>Oh, thank you so much for posting this.  For the life of me I could not figure out why ModuleEvent.READY was not being dispatched when loading on startup.</p>
<p>This behavior is quite bizarre &#8211; Adobe really should document this better.</p>
<p>At any rate, you and Google are my best friends. <img src='http://www.joshuaostrom.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua</title>
		<link>http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-250</link>
		<dc:creator>Joshua</dc:creator>
		<pubDate>Fri, 13 Feb 2009 00:12:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-250</guid>
		<description>Nithya,
  Try using module manager has you&#039;ll have a finer grain of feedback / control.  Loading modules will usually launch the garbage collector so watch your scope.</description>
		<content:encoded><![CDATA[<p>Nithya,<br />
  Try using module manager has you&#8217;ll have a finer grain of feedback / control.  Loading modules will usually launch the garbage collector so watch your scope.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nithya</title>
		<link>http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-244</link>
		<dc:creator>nithya</dc:creator>
		<pubDate>Mon, 19 Jan 2009 10:19:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.joshuaostrom.com/2008/08/14/flex-modules-watch-your-scope/#comment-244</guid>
		<description>i couldnt be able to load the module for the first time using moduleloader. 
but its getting loaded for the second time. as per ur article i also tried not using locally scoped variable.even then listener is not dispatched for the first time. its trigerred for the second call.
plz send me a sample code snippet asap.. its seems to be a major issue. plz help me out to solve this problem.</description>
		<content:encoded><![CDATA[<p>i couldnt be able to load the module for the first time using moduleloader.<br />
but its getting loaded for the second time. as per ur article i also tried not using locally scoped variable.even then listener is not dispatched for the first time. its trigerred for the second call.<br />
plz send me a sample code snippet asap.. its seems to be a major issue. plz help me out to solve this problem.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
