<?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: Building a simple Flex module</title>
	<atom:link href="http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sat, 11 Feb 2012 11:51:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Greg</title>
		<link>http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/comment-page-1/#comment-10352</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Wed, 01 Feb 2012 15:32:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/#comment-10352</guid>
		<description>Thanks, great little tutorial.  Got me started on Modules lickety split</description>
		<content:encoded><![CDATA[<p>Thanks, great little tutorial.  Got me started on Modules lickety split</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul</title>
		<link>http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/comment-page-1/#comment-9615</link>
		<dc:creator>Rahul</dc:creator>
		<pubDate>Tue, 20 Sep 2011 07:26:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/#comment-9615</guid>
		<description>Hello sir,
    this code is running in Flex 3 but it is not running in flex 4, i have some changes of Module with simple two buttons with click Event but its running in Flex 3 not in Flex4, the error is coming &quot;call to undefined or null object reference&quot;.
Thank you.</description>
		<content:encoded><![CDATA[<p>Hello sir,<br />
    this code is running in Flex 3 but it is not running in flex 4, i have some changes of Module with simple two buttons with click Event but its running in Flex 3 not in Flex4, the error is coming &#8220;call to undefined or null object reference&#8221;.<br />
Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Calvinalibra</title>
		<link>http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/comment-page-1/#comment-8166</link>
		<dc:creator>Calvinalibra</dc:creator>
		<pubDate>Wed, 28 Jul 2010 00:22:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/#comment-8166</guid>
		<description>Nice tutorial, the file size appears to be pretty small too.</description>
		<content:encoded><![CDATA[<p>Nice tutorial, the file size appears to be pretty small too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John W.</title>
		<link>http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/comment-page-1/#comment-7659</link>
		<dc:creator>John W.</dc:creator>
		<pubDate>Fri, 07 May 2010 20:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/#comment-7659</guid>
		<description>Dustin,

The problem is that you are passing mainML.child to the the loginScreen constuctor as opposed to casting it to a loginScreen type.

Instead of
  login = new loginScreen(mainML.child);
try
  login = loginScreen(mainML.child);</description>
		<content:encoded><![CDATA[<p>Dustin,</p>
<p>The problem is that you are passing mainML.child to the the loginScreen constuctor as opposed to casting it to a loginScreen type.</p>
<p>Instead of<br />
  login = new loginScreen(mainML.child);<br />
try<br />
  login = loginScreen(mainML.child);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhilash Nagar</title>
		<link>http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/comment-page-1/#comment-7482</link>
		<dc:creator>Abhilash Nagar</dc:creator>
		<pubDate>Mon, 12 Apr 2010 06:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/#comment-7482</guid>
		<description>Hello,

Thanks for a good example.I am trying to use this module concept but i am not sure why I am getting Module value as null.Not sure how to use it exactly.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Thanks for a good example.I am trying to use this module concept but i am not sure why I am getting Module value as null.Not sure how to use it exactly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zorro</title>
		<link>http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/comment-page-1/#comment-7360</link>
		<dc:creator>Zorro</dc:creator>
		<pubDate>Fri, 26 Mar 2010 02:13:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/#comment-7360</guid>
		<description>Flex 4.0 ,about Module to use,is not different Flex3.0,it not have atterbute &quot;implements&quot;,I don&#039;t know to use it.</description>
		<content:encoded><![CDATA[<p>Flex 4.0 ,about Module to use,is not different Flex3.0,it not have atterbute &#8220;implements&#8221;,I don&#8217;t know to use it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dustin</title>
		<link>http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/comment-page-1/#comment-7112</link>
		<dc:creator>Dustin</dc:creator>
		<pubDate>Thu, 25 Feb 2010 05:49:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/#comment-7112</guid>
		<description>How is he passing in the m1.child into the videoModule variable?  I try to do this but with my own module.  It is a windowedApplication as opposed to an Application for my main with the module loader, and I am running on Adobe AIR.

private var login:loginScreen;
			
			public function init():void
			{
				login = new loginScreen(mainML.child);
                                .
                                .

and then here is my loginScreen (i realize that by naming convention it&#039;s wrong I don&#039;t care though, just trying to learn and hack something together for now).



	
	
		
	
	
		
			
		
		
			
		
	
	


Once again, I realize that I am using a &quot;login&quot; with incorrect naming convention as well as doing a log in as a module when I should just do a popup box, but I am experimenting more than anything.

for some reason this tells me that the loginScreen only allows 0 arguments in the constructor call.


Another thing that I am wanting to do is resize the main application window to match that of my login screen when the module loads but I haven&#039;t been able to get the correct size thus far.  any tips?</description>
		<content:encoded><![CDATA[<p>How is he passing in the m1.child into the videoModule variable?  I try to do this but with my own module.  It is a windowedApplication as opposed to an Application for my main with the module loader, and I am running on Adobe AIR.</p>
<p>private var login:loginScreen;</p>
<p>			public function init():void<br />
			{<br />
				login = new loginScreen(mainML.child);<br />
                                .<br />
                                .</p>
<p>and then here is my loginScreen (i realize that by naming convention it&#8217;s wrong I don&#8217;t care though, just trying to learn and hack something together for now).</p>
<p>Once again, I realize that I am using a &#8220;login&#8221; with incorrect naming convention as well as doing a log in as a module when I should just do a popup box, but I am experimenting more than anything.</p>
<p>for some reason this tells me that the loginScreen only allows 0 arguments in the constructor call.</p>
<p>Another thing that I am wanting to do is resize the main application window to match that of my login screen when the module loads but I haven&#8217;t been able to get the correct size thus far.  any tips?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brook Oldre</title>
		<link>http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/comment-page-1/#comment-6902</link>
		<dc:creator>Brook Oldre</dc:creator>
		<pubDate>Mon, 01 Feb 2010 19:10:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/#comment-6902</guid>
		<description>I have had problems with memory suck and papervision. I would guess that you memory suck problems are related to papervisions poor garbage collection and not tho module loading in flex. I saw this problem twice with papervision once it was related to how and when the rendering of 3d shapes was handled. The other time was a &quot;ghost&quot; type memory suck related to 3dMesh and collada files unfortunately I can&#039;t remember the specific fix for this one.</description>
		<content:encoded><![CDATA[<p>I have had problems with memory suck and papervision. I would guess that you memory suck problems are related to papervisions poor garbage collection and not tho module loading in flex. I saw this problem twice with papervision once it was related to how and when the rendering of 3d shapes was handled. The other time was a &#8220;ghost&#8221; type memory suck related to 3dMesh and collada files unfortunately I can&#8217;t remember the specific fix for this one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/comment-page-1/#comment-6631</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 18 Dec 2009 19:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/#comment-6631</guid>
		<description>I should clarify: Creating the simplest possible module and the simplest possible app, I can get everything to compile as long as the app doesn&#039;t try to call a method on the module. And it runs: I can confirm that the module loads with debug output. But as soon as I add a line in the app that calls a method on the module, I get this type of error.  I&#039;m worried that the cited example assumes you already know to use a certain compiler option, or have some other file somewhere providing the information that tells the app.mxml how to access methods on the module.</description>
		<content:encoded><![CDATA[<p>I should clarify: Creating the simplest possible module and the simplest possible app, I can get everything to compile as long as the app doesn&#8217;t try to call a method on the module. And it runs: I can confirm that the module loads with debug output. But as soon as I add a line in the app that calls a method on the module, I get this type of error.  I&#8217;m worried that the cited example assumes you already know to use a certain compiler option, or have some other file somewhere providing the information that tells the app.mxml how to access methods on the module.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/comment-page-1/#comment-6630</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 18 Dec 2009 19:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/#comment-6630</guid>
		<description>Hi all, please help if you can:
  
New to flex, I&#039;m trying to compile the SimpleModule example from the Flex 3 (and 4) SDK documentation. In both the Flex 4 and Flex3 SDK&#039;s (command line), the module compiles fine, but the application does not. I get the error: &quot;Access of undefined property: SimpleModule&quot; because of this line:
  
&lt;code&gt;sm = assetModule.factory.create() as SimpleModule;&lt;/code&gt;
  
If I remove that line, the app compiles, and I can run and see that the module loads.  
  
I&#039;ve tried moving the module source around into different folders, keeping it at the root of the app, and nothing seems to work. Do I need to use a config file somewhere that tells the app how to use the module? do I need to include/import SimpleModule.mxml in SimpleMXMLApp.mxml? That would seem to contradict the purpose of modules. Maybe I&#039;m missing a compiler option?
  
Thanks for any help.</description>
		<content:encoded><![CDATA[<p>Hi all, please help if you can:</p>
<p>New to flex, I&#8217;m trying to compile the SimpleModule example from the Flex 3 (and 4) SDK documentation. In both the Flex 4 and Flex3 SDK&#8217;s (command line), the module compiles fine, but the application does not. I get the error: &#8220;Access of undefined property: SimpleModule&#8221; because of this line:</p>
<p><code>sm = assetModule.factory.create() as SimpleModule;</code></p>
<p>If I remove that line, the app compiles, and I can run and see that the module loads.  </p>
<p>I&#8217;ve tried moving the module source around into different folders, keeping it at the root of the app, and nothing seems to work. Do I need to use a config file somewhere that tells the app how to use the module? do I need to include/import SimpleModule.mxml in SimpleMXMLApp.mxml? That would seem to contradict the purpose of modules. Maybe I&#8217;m missing a compiler option?</p>
<p>Thanks for any help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

