[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 451
  • Last Modified:

Build Export with XML file

Dear Experts,

I have a flex application with an external XML file which is shown in a datagrid. It works fine when I run it within Flex Builder, but when I do the export release build the xml data isn't showing up in the datagrid.

Attached is my application code.

Any help would be much appreciated!
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
layout="horizontal" backgroundColor="0xFFFFFF" 
	paddingLeft="5" paddingBottom="5" paddingRight="5" paddingTop="5" applicationComplete="geoDataService.send()">
	<mx:HTTPService id="geoDataService" url="kenyaGeoCODES14.xml" resultFormat="e4x"/> 
	<mx:DataGrid dataProvider="{geoDataService.lastResult.kenyaGeoItem}">
			<mx:DataGridColumn headerText="PROVINCE" dataField="PROVINCE"/>


Open in new window

1 Solution
C_M_CAuthor Commented:
Nevermind - I added the following arguments to the compiler (via Properties - Flex Compiler)  :
and it works fine now!

Featured Post

The IT Degree for Career Advancement

Earn your B.S. in Network Operations and Security and become a network and IT security expert. This WGU degree program curriculum was designed with tech-savvy, self-motivated students in mind – allowing you to use your technical expertise, to address real-world business problems.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now