Select to view content in your preferred language

Flexviewer API 3.0 Compile the sample code

448
1
03-24-2012 12:16 PM
AngieGarcia1
Occasional Contributor
Hi,

This is a simple question, I am sure and yet, I can not seem to find the answer:
Using Adobe Flash Builder 4.6 how does one import and compile the .mxml sample code to create the .xml file? (The sample hello world for example has an .mxml and .xml which creates the widget) Or does the sample code need to be copied and paste into the application one is developing?

Thanks
Angie
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Angie,

    First I need to make you aware of the fact that you are posting Flex Viewer Questions to the Flex API forum. There is a dedicated Flex Viewer forum here:

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex

To answer you question, you need to add the widgets mxml file to the modules list for your flex viewer project and that will create the HelloWorldWidget.swf


There is a wealth of information on the Flex Viewer site here:

http://help.arcgis.com/en/webapps/flexviewer/index.html

Begin by looking in the concepts tab and Getting started.

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote) as shown below:
0 Kudos