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:columns>
			<mx:DataGridColumn headerText="PROVINCE" dataField="PROVINCE"/>
		</mx:columns>
	</mx:DataGrid>

</mx:Application>

Open in new window

C_M_CAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

C_M_CAuthor Commented:
Nevermind - I added the following arguments to the compiler (via Properties - Flex Compiler)  :
-use-network=false
and it works fine now!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Flex

From novice to tech pro — start learning today.