some errors were found when i import the source code of arcgis viewer 3.0 for flex into flash builder 4.6, was there anybody come arross the same problem with me?
Nope I have never had a error when importing the project if you follow all the instructions in the readme.txt that come in the zip file when you download.
The areas highlighted in RED are what some people forget.
You should have the following at your disposal:
Access to a web server
Adobe Flash Builder 4.5 or later, or some other way of compiling the ArcGIS Viewer for Flex application
Adobe Flex 4.6 SDK or later
Source code for ArcGIS Viewer for Flex - source code for Flex Viewer download
ArcGIS API for Flex - download API library
Getting the source code setup in Flash Builder onto your machine
Download Flex Viewer Source code into a folder, for example C:\Documents and Settings\jack\My Documents. Do not extract the files at this time.
In Adobe Flash Builder, go to File > Import > Flash Builder project.
Keep the Fileoption selected, and click the Browse button.
Select the file you downloaded in step 1 (for example, C:\Documents and Settings\jack\My Documents\flexviewer-3.0-src.zip). The Extract new project to text box is automatically set to the location where the project source will reside (for example, C:\Documents and Settings\jack\Adobe Flash Builder 4.6\FlexViewer).
Caution: Do not put the project onto your web server; you should separate the location of your application source code from your compiled output.
Click the Finish button. The project is created and displayed in the Package Explorer window of Adobe Flash Builder (in this case, 'FlexViewer').
Download the API library and unzip it.
From the unzipped API Library, copy the *.swc file into your Flash Builder project libs folder.
Don't forget to click the Mark as answer check on this post and to click the top arrow (promote). Follow these steps as shown in the below graphic:
Nope I have never had a error when importing the project if you follow all the instructions in the readme.txt that come in the zip file when you download.
The areas highlighted in RED are what some people forget.
You should have the following at your disposal:
Access to a web server
Adobe Flash Builder 4.5 or later, or some other way of compiling the ArcGIS Viewer for Flex application
Adobe Flex 4.6 SDK or later
Source code for ArcGIS Viewer for Flex - source code for Flex Viewer download
ArcGIS API for Flex - download API library
Getting the source code setup in Flash Builder onto your machine
Download Flex Viewer Source code into a folder, for example C:\Documents and Settings\jack\My Documents. Do not extract the files at this time.
In Adobe Flash Builder, go to File > Import > Flash Builder project.
Keep the Fileoption selected, and click the Browse button.
Select the file you downloaded in step 1 (for example, C:\Documents and Settings\jack\My Documents\flexviewer-3.0-src.zip). The Extract new project to text box is automatically set to the location where the project source will reside (for example, C:\Documents and Settings\jack\Adobe Flash Builder 4.6\FlexViewer).
Caution: Do not put the project onto your web server; you should separate the location of your application source code from your compiled output.
Click the Finish button. The project is created and displayed in the Package Explorer window of Adobe Flash Builder (in this case, 'FlexViewer').
Download the API library and unzip it.
From the unzipped API Library, copy the *.swc file into your Flash Builder project libs folder.
Don't forget to click the Mark as answer check on this post and to click the top arrow (promote). Follow these steps as shown in the below graphic:
Glad you got it working. Don't forget to click the Mark as answer check(step 1) on this post and to click the top arrow (promote)(step 2). Follow the steps as shown in the below graphic: