Closed GoogleCodeExporter closed 9 years ago
Hi,
it looks like you did not add the graphLayout library as a library reference
to the build-parameters of the RelationNavigator application.
The declaration is there, but it is admittedly not obvious. Further down
in the code, in the MXML part, you will notice the <VisualGraph> component
with id="vgraph". This is all declaration that is needed. It does not matter
that it appears later in the code, but I agree that this way of AS/MXML
interaction
makes things a bit less explicit.
In any case, if you just want to build the demo, you will need to add all
three SWC files provided as libraries for the MXML application project.
In Flexbuilder you can do it as follows:
1. Right-click on your RelationNavigatorDemo MXML Application Project.
2. Select "Properties"
3. Select "Flex Build Path"
4. Click on the "Library Path" tab, (next to the source path tab).
5. Click "Add SWC"
6. Add the graphLayout.swc file
7. Repeat steps to add the other 2 swc files (unComponentToolbox.swc and
PrimitiveIcons.swc)
Let us know if it works or not.
Just to be sure, I uploaded a new graphLayout.swc file to make sure it is ok and
not broken.
Original comment by spo...@gmail.com
on 24 Aug 2007 at 12:00
Hi spoxta,
Thanks for your kind reply. I already had all three swc files added to the
project.
I sent email to Jason Bellone yesterday who replied there was a new
graphLayout.swc
file uploaded. I downloaded this new version and added it to the project. All
the
errors disappeared and the project ran just like the online demo. So, it looks
like
the .swc file was damaged.
I look forward to experimenting further!
Michael Swan
Original comment by lafayett...@gmail.com
on 24 Aug 2007 at 5:34
I ran into this same problem. Please update the Quick Start directions to
indicate
that the graphLayout.swc is needed. Right now it says that you only need two
library
files and gives a link to download PrimitiveIcons.swc and
unComponentToolbox.swc. It
would be helpful to add graphLayout.swc to the zip file that the Quick Start
guide
provides.
Original comment by drcalla...@gmail.com
on 9 Nov 2007 at 12:13
I assume this can be closed now.
Original comment by spo...@gmail.com
on 21 Mar 2008 at 3:12
Original issue reported on code.google.com by
lafayett...@gmail.com
on 23 Aug 2007 at 12:58Attachments: