tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/2-troubles-thoughtsRobotlegs: Discussion 2012-07-02T22:52:43Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/4807462009-10-22T14:10:21Z2009-10-22T14:10:21ZTroubles & thoughts<div><p>Hey creynders,</p>
<p>sounds like something goes wrong with the injections. Could you
maybe<br>
post the contents of your PrepViewCommand for us to inspect?</p>
<p>thanks,<br>
till</p></div>Till Schneidereittag:robotlegs.tenderapp.com,2009-10-18:Comment/4807462009-10-22T14:48:54Z2010-10-23T09:55:00ZTroubles & thoughts<div><p>Sure, in att.<br />
It's very short though, I can attach all the code if you want.</p></div>creynderstag:robotlegs.tenderapp.com,2009-10-18:Comment/4807462009-10-22T14:57:36Z2010-10-23T09:55:00ZTroubles & thoughts<div><p>Ok, I figured it out.<br />
I'm not used to using custom metadata, so I didn't know that you need to add the metadata name to your compiler options.<br />
I figured it out when I saw the custom [Inject] tags, and googled for 'flex compiler custom metadata', however this is probably something you need to put some emphasis on in the documentation for noobs like me :)</p></div>creynderstag:robotlegs.tenderapp.com,2009-10-18:Comment/4807462009-10-22T15:01:36Z2009-10-22T15:01:36ZTroubles & thoughts<div><p>The SwiftSuspenders library requires this if compiling from
source,<br>
but the SWC version of Robotlegs shouldn't require the compiler<br>
option. I'd like to investigate which version of Robotlegs are
you<br>
using (where did you download it)?</p></div>Joel Hookstag:robotlegs.tenderapp.com,2009-10-18:Comment/4807462009-10-22T15:15:12Z2010-10-23T09:55:00ZTroubles & thoughts<div><p>I'm using the swiftsuspender source files for my own code and was using the latest robotlegs .swc for the FlexHelloWorld example, that's why the example compiled w/o problems, yet my own code didn't.</p>
<p>So, nothing wrong there, just my own ignorance... :)</p>
<p>BTW I just wanted to say (here comes the 'thoughts' bit from the subject line) that I really think this is going to become my framework of choice. It looks so clean and when coming from PureMVC so much less cumbersome. I think Cliff's doing a great job to make it cross-platform/technology, but for a flash/flex coder like myself this is faaaaaaaaaaaar more satisfying and time-saving than pmvc.<br />
Keep up the magnificent work!</p></div>creynderstag:robotlegs.tenderapp.com,2009-10-18:Comment/4807462009-10-22T15:35:35Z2009-10-22T15:35:35ZTroubles & thoughts<div><p>Hey creynders,</p>
<p>glad that you figured it out. I wish mxmlc would at least spit
out<br>
warnings for metadata it doesn't keep.</p>
<p>And I absolutely share your feelings about RobotLegs - it's
really<br>
awesome how much it improved my workflow.</p>
<p>cheers,<br>
till</p></div>Till Schneidereittag:robotlegs.tenderapp.com,2009-10-18:Comment/4807462009-10-22T15:37:51Z2009-10-22T15:37:51ZTroubles & thoughts<div><p>Ah, That explains it. If you use the SwiftSuspenders and
Robotlegs<br>
source projects (this is how I have it set up) you won't have
any<br>
problems, but dropping the source into your code will require
the<br>
extra compiler option. SwiftSuspenders Flash Builder project
already<br>
has this compiler flag set.</p>
<p>I will add this to the FAQ.</p>
<p>Cheers,</p>
<p>Joel Hooks (@jhooks)</p></div>Joel Hooks