tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/579-linking-to-robotlegs-files-for-project-in-fdtRobotlegs: Discussion 2012-05-25T17:16:31Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/162299712012-05-25T15:03:17Z2012-05-25T15:03:17ZLinking to Robotlegs files for project in FDT<div><p>Hi John,</p>
<blockquote>
<p>I prefer to use the code rather than the swc so that I can step
through the code.</p>
</blockquote>
<p>You’ll have to add the following compiler arguments in
FlashBuilder</p>
<p>-keep-as3-metadata+=Inject -keep-as3-metadata+=PostConstruct</p>
<p>Or, select “Export SWC” in your publish settings, if
you’re using Flash IDE.</p>
<p>See: „Metadata Stripping“: <a href=
"https://github.com/robotlegs/robotlegs-framework/wiki/Common-Problems#wiki-metadata-stripping">
https://github.com/robotlegs/robotlegs-framework/wiki/Common-Proble...</a></p>
<p>HTH</p>
<p>Ondina</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/162299712012-05-25T15:37:19Z2012-05-25T15:37:19ZLinking to Robotlegs files for project in FDT<div><p>Oh yes, I have now added those to the FDT compiler arguments.
However, this is a pre-compile problem. It was working in an
earlier version of FDT. Here, IEventDispatcher is not recognised
because there are no import statements...</p>
<p>package org.robotlegs.mvcs {</p>
<pre>
<code>public class Actor
{
protected var _eventDispatcher:IEventDispatcher;</code>
</pre></div>johntag:robotlegs.tenderapp.com,2009-10-18:Comment/162299712012-05-25T16:22:03Z2012-05-25T16:22:03ZLinking to Robotlegs files for project in FDT<div><p>Some issue I had with fdt must have stripped out the import
statements. Probably my fault. However, I still have similar
problems. Will report back.</p></div>johntag:robotlegs.tenderapp.com,2009-10-18:Comment/162299712012-05-25T16:25:37Z2012-05-25T16:25:37ZLinking to Robotlegs files for project in FDT<div><p>Once again, import statements had been stripped out.<br>
Thank you for mentioning<br>
-keep-as3-metadata+=Inject -keep-as3-metadata+=PostConstruct</p>
<p>John</p></div>johntag:robotlegs.tenderapp.com,2009-10-18:Comment/162299712012-05-25T16:56:45Z2012-05-25T16:56:45ZLinking to Robotlegs files for project in FDT<div><p>I have no idea about FDT, I’m using FlashBuilder. But it
sounds like the FDT settings have changed. See this post:</p>
<p><a href=
"http://knowledge.robotlegs.org/discussions/solutions/13-some-flashbuilder-issues-and-some-solutions">
http://knowledge.robotlegs.org/discussions/solutions/13-some-flashb...</a></p>
<p>It refers to FlashBuilder, but maybe you can infer a solution
for FDT.</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/162299712012-05-25T17:12:31Z2012-05-25T17:12:31ZLinking to Robotlegs files for project in FDT<div><p>"I wrote this down pretty fast, so if it’s too confusing,
I’ll review and rephrase and /or complete it, when I’ll
get more time :)"<br>
That was very helpful - and clear.</p>
<p>This is a new install of FDT 5.5 and previously I had trouble
with the<br>
eclipse plugin and so went to the standalone version.<br>
It's working fine now.<br>
I really do appreciate your help.<br>
Thanks.<br>
John</p></div>johntag:robotlegs.tenderapp.com,2009-10-18:Comment/162299712012-05-25T17:16:29Z2012-05-25T17:16:29ZLinking to Robotlegs files for project in FDT<div><p>No problem, John!</p></div>Ondina D.F.