tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/217-robot-legsflashbuilder-4Robotlegs: Discussion 2018-10-18T16:35:19Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/38430662010-11-17T11:46:14Z2010-11-17T11:46:15ZRobot Legs/FlashBuilder 4<div><p>I managed to overcome that problem.. But now have another.<br />
I tweaked the RobotLegs build path, per the attached screenshot.<br />
But then hit an obstacle with:<br />
The style 'borderThickness' is only supported by type 'mx.containers.Form' with the theme(s) 'halo'. LoginPage.mxml /robotlegs-demos-HelloFlex/src/org/robotlegs/demos/helloflex/view line 25 Flex Problem<br />
See new attachment</p></div>Jeremy Flowerstag:robotlegs.tenderapp.com,2009-10-18:Comment/38430662010-11-17T12:01:48Z2010-11-17T12:01:48ZRobot Legs/FlashBuilder 4<div><p>I've also tried adding the halo.swc file to my project<br />
Per the docs here:<br />
<a href="http://livedocs.adobe.com/flex/3/html/help.html?content=styles_12.html">http://livedocs.adobe.com/flex/3/html/help.html?content=styles_12.html</a><br />
See attachment - I'm still having problems after having cleaned/built project.</p></div>Jeremy Flowerstag:robotlegs.tenderapp.com,2009-10-18:Comment/38430662010-11-17T12:02:31Z2010-11-17T12:02:31ZRobot Legs/FlashBuilder 4<div><p>Are you using the 'spark' components theme? The message seems to suggest it needs 'halo'. I'm guessing this demo was put together in FB3 not 4.</p></div>Straytag:robotlegs.tenderapp.com,2009-10-18:Comment/38430662010-11-17T12:07:46Z2010-11-17T12:07:47ZRobot Legs/FlashBuilder 4<div><p>Hi Stray. I've ascertained this by adding the halo.swc - I do have the spark.swc in the build path too. Would you suggest removing spark.swc/sparkspins.swc?</p></div>Jeremy Flowerstag:robotlegs.tenderapp.com,2009-10-18:Comment/38430662010-11-17T12:10:50Z2010-11-17T12:10:52ZRobot Legs/FlashBuilder 4<div><p>Well that idea didn't work either...<br />
Then I get an extra warning:</p>
<p>The style 'dropShadowVisible' is only supported by type 'mx.controls.List' with the theme(s) 'spark'. robotlegs-demos-HelloFlex line 488 Flex Problem</p></div>Jeremy Flowerstag:robotlegs.tenderapp.com,2009-10-18:Comment/38430662010-11-17T12:18:40Z2010-11-17T12:18:41ZRobot Legs/FlashBuilder 4<div><p>I ended up removing the border thickness attribute.<br />
This seemed to fix things.</p></div>Jeremy Flowerstag:robotlegs.tenderapp.com,2009-10-18:Comment/38430662010-11-17T12:21:11Z2010-11-17T12:21:12ZRobot Legs/FlashBuilder 4<div><p>But then, when I run the app I get the context not found message at runtime...</p></div>Jeremy Flowerstag:robotlegs.tenderapp.com,2009-10-18:Comment/38430662010-11-17T12:43:26Z2010-11-17T12:43:26ZRobot Legs/FlashBuilder 4<div><p>Hi Jeremy, I'm afraid I'm an as3 person, not a flex person - hence my slightly stupid question :) (Always worth asking these things though - all of us sometimes mis something right in front of us while looking for a more complex cause).</p>
<p>There are some flex people on here so hopefully you'll get a flex-expert response shortly. Some is US based so you'll be waiting a few hours, but there are some uk folk, so if you're lucky then one will pick this up sooner.</p></div>Straytag:robotlegs.tenderapp.com,2009-10-18:Comment/38430662010-11-17T14:47:50Z2010-11-17T14:47:50ZRobot Legs/FlashBuilder 4<div><p>Hi Jeremy,</p>
<p>I’ve tried the HelloFlex example with:</p>
<p>FlashBuilder 4.0 / Flex SDK 4.0</p>
<p>and with</p>
<p>FlashBuilder Burrito / Flex Hero SDK</p>
<p>with robotlegs.swc v.1.3.0 and 1.4.0</p>
<p>and everything works just fine.</p>
<p>In the files I have, there is no ‘borderThickness’. That means that you probably have an older demo file. That could be one of your problems.</p>
<p>Maybe the best way to make it work is to delete the project (and the files on the hard disk containing the project’s settings and info) and replace it with the demo from here:</p>
<p><a href="https://github.com/robotlegs/robotlegs-demos-Bundle/tree/master/HelloFlex/">https://github.com/robotlegs/robotlegs-demos-Bundle/tree/master/Hel...</a></p>
<p>First <strong>delete the robotlegs.swc</strong> in that folder (which is old!)<br />
copy the newest robotlegs.swc (1.4.0) and make sure you have just one robotlegs.swc in there<br />
and restart FlashBuilder</p>
<p>It should work :)</p>
<p>If it doesn’t work, then maybe your FlashBuilder’s configuration has changed somehow?<br />
Have you tried other robotlegs examples as well?</p>
<p>Ondina</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/38430662010-11-17T14:53:14Z2010-11-17T14:53:16ZRobot Legs/FlashBuilder 4<div><p>Got there eventually..<br />
When I added to framework SWF I think I must have specified some of the configuration incorrectly. Now when project gets built the file gets copied into the bin-debug folder automatically.</p></div>Jeremy Flowerstag:robotlegs.tenderapp.com,2009-10-18:Comment/38430662010-11-17T14:56:06Z2010-11-17T14:56:08ZRobot Legs/FlashBuilder 4<div><p>This was where I got the demo app from:<br />
<a href="http://examples.robotlegs.org/helloflex/srcview/robotlegs-demos-HelloFlex.zip">http://examples.robotlegs.org/helloflex/srcview/robotlegs-demos-Hel...</a></p>
<p>Effectively you get here by running the demo and doing a view source in the web browser<br />
There is a link to download the source with the offending attribute on the tag.</p></div>Jeremy Flowers