or Create a profile
06 Jul, 2011 01:44 PM
There are many...
Actually I will present just some things you could do, when you
think that robotlegs is causing the errors and headaches you're
getting for several hours...
Even though your robotlegs classes look fine, the context looks
fine, everything is as it should be, you get compiler or run-time
errors, or even no errors, but nothing happens, right?
Maybe it’s the Flash Builder, not the robotlegs-framework
that messed up your project!
Things to consider:
1) Before opening a project (for example a robotlegs demo
written by someone) that contains
a) bin-debug (folder)
b) .settings (folder)
c) .actionScriptProperties (file)
d) .flexProperties (file)
e) .project (file)
you should delete those files and folders from
2) Check if there is a libs folder in this project on your
hard-disk and whether it contains the libraries you need (for
If not, create the folder libs and add the swc
3) Create the project - usual steps:
a) Project Location: Choose a name and location for your
b) Configure Server Settings
c) Build Paths: Set the build paths for the new Flex
Project or ActionScript project.
Normally FlashBuilder finds the libs folder and you don’t
need to do anything if you are creating a FLEX
Strangely enough that’s not the case for an
ActionScript Project. Even if the folder exists on
you hard-disk and it contains the library you need, Flash Builder
expects you to add it manually!!!
4) Even if you added your libs folder make it a habit:
Check if the libraries you need are in your Build
Path: Project->Properties->Build Path->Library
If not, then add them:
Project->Properties->Build Path->Library Path->Add SWC
Browse to the location of your libs folder in your project and
5) Check if the libraries you need are listed in the
FlashBuilder Package Explorer in the Referenced
(NB: the “Referenced Libraries” appears only if the
libs folder isn’t empty)
6) Make it a habit:
Use the feature: Project->Clean
Clean is refreshing/re-writting the bin-debug and the project
settings, that somehow contain mixed values, old and new, which
confuses the poor FlashBuilder
7) FlashBuilder Package Explorer right click on the project
8) What to do when something goes really wrong with a
project’s settings in FB is:
a) right click on the project in the Package Explorer, choose
b) radiobutton: DO NOT DELETE CONTENTS !!
c) go to the folder of the project on your hard-disk
d) delete :bin-debug, .settings, .actionScriptProperties,
e) and eventually the libs content
f) don’t delete src !!
g) go back to FB, create a new Flex/Actioncript Project with the
same name and location as the deleted one, following the steps
The structure of your project will be intact, you’ll just
have new settings.
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 :)
Ondina D.F. closed this discussion
on 01 Nov, 2011 04:03 PM.
Comments are currently closed for this discussion.
You can start a new one.
2 people watching.
No more actions from Robotlegs or the discussion starter are required.
This discussion is private.
Only you and Robotlegs support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
Powered by Tender™.