Select to view content in your preferred language

How to import Flex viewer 2 project?

2352
5
09-17-2010 05:21 AM
ShaningYu
Honored Contributor
I have worked on Flexviewer 1.3 project for a while in FB 3 and 4.  Now I want to use 2.0.  I downloaded the source code.  But when I try to import the project,  I got the error:
The folder does not contain a valid Flash Builder Project.
Besides, there are several config files in the V2.0, which one I should use?  I could not find a Readme file.  If you know how to work on V2.0, please share your experience.  Thanks and have a nice weekend!
Tags (2)
0 Kudos
5 Replies
ReneRubalcava
Esri Frequent Contributor
Are you using FlashBuilder 4 to import the project? If you are using FlashBuilder 3, I think you'll need to unzip the file and import the folder. There is a readme.txt in the src zip file that tells you how to import the project into FB4.

And you used this link for the source, correct?
http://www.arcgis.com/home/item.html?id=3f6a0bfee48949a88df50bf7686ec72a
0 Kudos
ShaningYu
Honored Contributor
Rene:
Thanks for your response.  I did get the right site.  Per your instruction, I found the readme.  However, using that procedure only allows me to run ESRI's sample.  I want to revise their code and do some customization.  I did another try: replace my existing code by V2.0 code, but got something stranger.  The widget boarder disappears.  What experience do you have to use V2's code?  Thanks.
SY
0 Kudos
ReneRubalcava
Esri Frequent Contributor
That's the source code for the FlexViewer that can be customized to your liking.
However if you'd like the API used to build the FlexViewer you'll want to get the API from here
http://resources.arcgis.com/content/arcgis-flex-api-how-to-download

That will alllow you to build an application from scratch.
0 Kudos
ShaningYu
Honored Contributor
I did it but got a lot of errors.  Will fight with these.  Thanks and have anice weekend.
0 Kudos
BjornSvensson
Esri Regular Contributor
FYI - for more information about the Flex Viewer, there is not only a basic readme.txt file but a resource center with help and samples.

http://links.esri.com/flexviewer

In Concepts -> Developers -> Getting Started there is some "getting started" steps that you might find useful.
0 Kudos