Select to view content in your preferred language

error of 1016 about "Form" in flash builder 4.6 when arcgis viewer 3.0 for flex

854
3
Jump to solution
11-01-2012 08:02 PM
huawang1
New Contributor
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?
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
whuwanghua,

   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.


Info from the Viewers getting started page:  http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Getting_started_for_developers/...

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

   

  1. 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.

  2. In Adobe Flash Builder, go to File > Import > Flash Builder project.

  3. Keep the Fileoption selected, and click the Browse button.

  4. 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).

  5. Caution:
    Do not put the project onto your web server; you should separate the location of your application source code from your compiled output.
  6. Click the Finish button. The project is created and displayed in the Package Explorer window of Adobe Flash Builder (in this case, 'FlexViewer').

  7. Download the API library and unzip it.

  8. 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:

View solution in original post

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
whuwanghua,

   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.


Info from the Viewers getting started page:  http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Getting_started_for_developers/...

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

   

  1. 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.

  2. In Adobe Flash Builder, go to File > Import > Flash Builder project.

  3. Keep the Fileoption selected, and click the Browse button.

  4. 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).

  5. Caution:
    Do not put the project onto your web server; you should separate the location of your application source code from your compiled output.
  6. Click the Finish button. The project is created and displayed in the Package Explorer window of Adobe Flash Builder (in this case, 'FlexViewer').

  7. Download the API library and unzip it.

  8. 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:

0 Kudos
huawang1
New Contributor
Thank you very much, the problem is that I forgot to install the flex sdk 4.6
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Hua,

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:

0 Kudos