<?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>Kommentare zu: Flexible Module Loader – a handy tool to review modules in Adobe Flex 3 (Air)</title>
	<atom:link href="http://blog.ubigrate.de/2009/05/07/flexible-module-loader/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ubigrate.de/2009/05/07/flexible-module-loader/</link>
	<description>Lückenlos zwischen digitaler und realer Welt</description>
	<lastBuildDate>Fri, 22 Jan 2010 16:09:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Von: Mihai</title>
		<link>http://blog.ubigrate.de/2009/05/07/flexible-module-loader/comment-page-1/#comment-9046</link>
		<dc:creator>Mihai</dc:creator>
		<pubDate>Fri, 22 Jan 2010 16:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ubigrate.com/?p=600#comment-9046</guid>
		<description>Hi again,

Sorry, I tried again and it load my modules, after restart the application.

Mihai</description>
		<content:encoded><![CDATA[<p>Hi again,</p>
<p>Sorry, I tried again and it load my modules, after restart the application.</p>
<p>Mihai</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Mihai</title>
		<link>http://blog.ubigrate.de/2009/05/07/flexible-module-loader/comment-page-1/#comment-9044</link>
		<dc:creator>Mihai</dc:creator>
		<pubDate>Fri, 22 Jan 2010 16:03:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ubigrate.com/?p=600#comment-9044</guid>
		<description>Hi
I tried this application. Tried to load some swf modules that load some fonts and display they intro a label repeater.
This applications doesn&#039;t load my modules.

Mihai</description>
		<content:encoded><![CDATA[<p>Hi<br />
I tried this application. Tried to load some swf modules that load some fonts and display they intro a label repeater.<br />
This applications doesn&#8217;t load my modules.</p>
<p>Mihai</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Simon Biemer</title>
		<link>http://blog.ubigrate.de/2009/05/07/flexible-module-loader/comment-page-1/#comment-6763</link>
		<dc:creator>Simon Biemer</dc:creator>
		<pubDate>Mon, 19 Oct 2009 08:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ubigrate.com/?p=600#comment-6763</guid>
		<description>Hi Raymond, you have to import the component of your module. For example your module component is &#039;TestModule.mxml&#039;. In your example, the code must look like this:

var module:TestModule = factory.create() as TestModule;

(FlexBuilder will automatically import your TestModule component, including &#039;import components.TestModule;&#039; in your parent application)

Now, you can call every property or function of the module like &#039;moduls.testFunction()&#039; or &#039;module.width = 100;&#039;...

Greetings, Simon</description>
		<content:encoded><![CDATA[<p>Hi Raymond, you have to import the component of your module. For example your module component is &#8216;TestModule.mxml&#8217;. In your example, the code must look like this:</p>
<p>var module:TestModule = factory.create() as TestModule;</p>
<p>(FlexBuilder will automatically import your TestModule component, including &#8216;import components.TestModule;&#8217; in your parent application)</p>
<p>Now, you can call every property or function of the module like &#8216;moduls.testFunction()&#8217; or &#8216;module.width = 100;&#8217;&#8230;</p>
<p>Greetings, Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Raymond</title>
		<link>http://blog.ubigrate.de/2009/05/07/flexible-module-loader/comment-page-1/#comment-6669</link>
		<dc:creator>Raymond</dc:creator>
		<pubDate>Thu, 15 Oct 2009 00:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ubigrate.com/?p=600#comment-6669</guid>
		<description>Hi Simon,

Thanks for the quick response.  I believe you are referring to the following line of code :

var factory:IFlexModuleFactory = IFlexModuleFactory(e.target);
var module:Module = factory.create() as Module;

How did you import your module component in the parent application ? I don&#039;t think you are referring to  import mx.modules.Module;</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>Thanks for the quick response.  I believe you are referring to the following line of code :</p>
<p>var factory:IFlexModuleFactory = IFlexModuleFactory(e.target);<br />
var module:Module = factory.create() as Module;</p>
<p>How did you import your module component in the parent application ? I don&#8217;t think you are referring to  import mx.modules.Module;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Simon Biemer</title>
		<link>http://blog.ubigrate.de/2009/05/07/flexible-module-loader/comment-page-1/#comment-6656</link>
		<dc:creator>Simon Biemer</dc:creator>
		<pubDate>Wed, 14 Oct 2009 15:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ubigrate.com/?p=600#comment-6656</guid>
		<description>Hi Raymond,
it wasn&#039;t implemented yet, but i tried it out and it works fine. I chose a very simple way. I don&#039;t know if it is flexible enough for your problem, but at least it is one way how it works.
In your handler, which is called after the &#039;ready&#039; event, you create your module with the interface &lt;em&gt;IFlexModuleFactory&lt;/em&gt;, something like &lt;em&gt;factory.create()&lt;/em&gt;. At this point, you have to cast the created &lt;em&gt;Object &lt;/em&gt; to your Module.mxml. For example your module is &lt;em&gt;TestModule.mxml&lt;/em&gt; than call &lt;em&gt;factory.create() as TestModule&lt;/em&gt; and write it at a variable of your choice. Now you can call every property or function of the module. 
However there is still one problem. You have to make an import of your module component in the parent application. If this is no problem in your scenario, than we have fixed your problem. Hope I could have helped you again.
Greeting Simon</description>
		<content:encoded><![CDATA[<p>Hi Raymond,<br />
it wasn&#8217;t implemented yet, but i tried it out and it works fine. I chose a very simple way. I don&#8217;t know if it is flexible enough for your problem, but at least it is one way how it works.<br />
In your handler, which is called after the &#8216;ready&#8217; event, you create your module with the interface <em>IFlexModuleFactory</em>, something like <em>factory.create()</em>. At this point, you have to cast the created <em>Object </em> to your Module.mxml. For example your module is <em>TestModule.mxml</em> than call <em>factory.create() as TestModule</em> and write it at a variable of your choice. Now you can call every property or function of the module.<br />
However there is still one problem. You have to make an import of your module component in the parent application. If this is no problem in your scenario, than we have fixed your problem. Hope I could have helped you again.<br />
Greeting Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Raymond</title>
		<link>http://blog.ubigrate.de/2009/05/07/flexible-module-loader/comment-page-1/#comment-6618</link>
		<dc:creator>Raymond</dc:creator>
		<pubDate>Tue, 13 Oct 2009 04:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ubigrate.com/?p=600#comment-6618</guid>
		<description>Hi, Simon,

I wonder if you have tried successfully to send parameters from the parent to the child module using the following technique published by ESOFTHEAD ?

 i am at my ends trying to get the parameters across to the child module. In order to recognise the child module, i don&#039;t seem to have a choice but to use the  tag. 

How would you use moduleLoader with the ESOFTHEAD&#039;s sample ?</description>
		<content:encoded><![CDATA[<p>Hi, Simon,</p>
<p>I wonder if you have tried successfully to send parameters from the parent to the child module using the following technique published by ESOFTHEAD ?</p>
<p> i am at my ends trying to get the parameters across to the child module. In order to recognise the child module, i don&#8217;t seem to have a choice but to use the  tag. </p>
<p>How would you use moduleLoader with the ESOFTHEAD&#8217;s sample ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Raymond</title>
		<link>http://blog.ubigrate.de/2009/05/07/flexible-module-loader/comment-page-1/#comment-4921</link>
		<dc:creator>Raymond</dc:creator>
		<pubDate>Thu, 16 Jul 2009 04:53:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ubigrate.com/?p=600#comment-4921</guid>
		<description>Hi Simon,

Thanks for the validation. Mine was a unique problem where I had more than one mxml. Its quite a big application, so i have used the mxml components to load the module.

I found that in this respect, the parentApplication does not apply to the component mxml that loads the module but to the &quot;main application (mxml)&quot;. Once i have inserted in the functions and variables in the main application, the parentApplication works.

Thanks for your time.

Greetings, 
Raymond</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>Thanks for the validation. Mine was a unique problem where I had more than one mxml. Its quite a big application, so i have used the mxml components to load the module.</p>
<p>I found that in this respect, the parentApplication does not apply to the component mxml that loads the module but to the &#8220;main application (mxml)&#8221;. Once i have inserted in the functions and variables in the main application, the parentApplication works.</p>
<p>Thanks for your time.</p>
<p>Greetings,<br />
Raymond</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Simon Biemer</title>
		<link>http://blog.ubigrate.de/2009/05/07/flexible-module-loader/comment-page-1/#comment-4905</link>
		<dc:creator>Simon Biemer</dc:creator>
		<pubDate>Wed, 15 Jul 2009 13:52:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ubigrate.com/?p=600#comment-4905</guid>
		<description>Hello Raymond,
glad to here about your successful implementation. I created a small test scenario with the FlexibleModuleLoader. When my module call parentApplication.function(param) everything is working fine. The paramter is transmitted correctly into the parent application. Don&#039;t forget to set your function to &#039;public&#039; in your parent application and be sure that your function is really in the mx:Application component and not in some underlying actionscript classes or mxml components. Feel free to post a code snippet here, so I will get some more details...

Greetings, Simon

If I set my function in the parent application to &#039;private&#039;, i got the same error as you. So I think you problem could be solved if you change your visibilty modifier (&#039;private&#039; to &#039;public&#039;) of your function in the parent application. Please let me know if the problem is solved.</description>
		<content:encoded><![CDATA[<p>Hello Raymond,<br />
glad to here about your successful implementation. I created a small test scenario with the FlexibleModuleLoader. When my module call parentApplication.function(param) everything is working fine. The paramter is transmitted correctly into the parent application. Don&#8217;t forget to set your function to &#8216;public&#8217; in your parent application and be sure that your function is really in the mx:Application component and not in some underlying actionscript classes or mxml components. Feel free to post a code snippet here, so I will get some more details&#8230;</p>
<p>Greetings, Simon</p>
<p>If I set my function in the parent application to &#8216;private&#8217;, i got the same error as you. So I think you problem could be solved if you change your visibilty modifier (&#8216;private&#8217; to &#8216;public&#8217;) of your function in the parent application. Please let me know if the problem is solved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Raymond</title>
		<link>http://blog.ubigrate.de/2009/05/07/flexible-module-loader/comment-page-1/#comment-4887</link>
		<dc:creator>Raymond</dc:creator>
		<pubDate>Wed, 15 Jul 2009 03:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ubigrate.com/?p=600#comment-4887</guid>
		<description>Hi Simon,

I myself have modified ESOFTHEAD’S BLOG posting and have used the Loader.loadBytes() method to load modules from anywhere in the file system successfully.

I am having problems passing parameters to and from the main application to the module. A function call using parentApplication.function() in the module(SWF) gives me a ReferenceError:Error #1069 : Property not found. 


Have you encountered this problem before ?</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>I myself have modified ESOFTHEAD’S BLOG posting and have used the Loader.loadBytes() method to load modules from anywhere in the file system successfully.</p>
<p>I am having problems passing parameters to and from the main application to the module. A function call using parentApplication.function() in the module(SWF) gives me a ReferenceError:Error #1069 : Property not found. </p>
<p>Have you encountered this problem before ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Simon Biemer</title>
		<link>http://blog.ubigrate.de/2009/05/07/flexible-module-loader/comment-page-1/#comment-4755</link>
		<dc:creator>Simon Biemer</dc:creator>
		<pubDate>Fri, 10 Jul 2009 13:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ubigrate.com/?p=600#comment-4755</guid>
		<description>Hi Prabodh, hope I am capable to help you. Therefore I need a more detailed explanation. How do you embed your font? In mxml with &lt;em&gt;mx:Style&lt;/em&gt; or in actionscript with &lt;em&gt;[Embed(source=&#039;..&#039;, fontName=&#039;...&#039;, mimeType=&#039;..&#039;)]&lt;/em&gt; ? Be sure, that your root tag is mx:Module. If it is possible post your code of your module and i try to reproduce the error.
Greetings, Simon</description>
		<content:encoded><![CDATA[<p>Hi Prabodh, hope I am capable to help you. Therefore I need a more detailed explanation. How do you embed your font? In mxml with <em>mx:Style</em> or in actionscript with <em>[Embed(source='..', fontName='...', mimeType='..')]</em> ? Be sure, that your root tag is mx:Module. If it is possible post your code of your module and i try to reproduce the error.<br />
Greetings, Simon</p>
]]></content:encoded>
	</item>
</channel>
</rss>
