djsodom
07-06-2006, 10:12 PM
Hi, my xml parsing no longer seems to work. I had an app working and then this morning it no longer worked.
Here is the simplest implementation (does not work on my machine)
my xml file (in the same directory as my mxml file):
<?xml version="1.0" encoding="UTF-8"?>
<title>test #3</title>
my mxml file:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="simple.send()">
<mx:HTTPService id="simple" url="simple.xml" />
<mx:Text width="100" id="question" htmlText = "{simple.lastResult.title}"/>
</mx:Application>
It compiles okay. The command I'm using to compile is:
steve-odoms-computer:~ steveodom$ flex/bin/mxmlc Desktop/hellomxml.mxml
Loading configuration file /Users/steveodom/flex/frameworks/flex-config.xml
/Users/steveodom/Desktop/hellomxml.swf (183423 bytes)
steve-odoms-computer:~ steveodom$
Both files are on my desktop. Nothing shows up.
Mind you, I had a more complicated solution working before this morning. I woke up, changed nothing, and started having this problem.
Am I missing something simple?
I'm on a new intel macbook using the flex 2 sdk (downloaded last week).
I've rebooting and turned my machine off. I have re-installed my flex sdk files.
thanks,
Steve Odom
http://www.trivionomy.com
http://www.smarkets.net
Here is the simplest implementation (does not work on my machine)
my xml file (in the same directory as my mxml file):
<?xml version="1.0" encoding="UTF-8"?>
<title>test #3</title>
my mxml file:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="simple.send()">
<mx:HTTPService id="simple" url="simple.xml" />
<mx:Text width="100" id="question" htmlText = "{simple.lastResult.title}"/>
</mx:Application>
It compiles okay. The command I'm using to compile is:
steve-odoms-computer:~ steveodom$ flex/bin/mxmlc Desktop/hellomxml.mxml
Loading configuration file /Users/steveodom/flex/frameworks/flex-config.xml
/Users/steveodom/Desktop/hellomxml.swf (183423 bytes)
steve-odoms-computer:~ steveodom$
Both files are on my desktop. Nothing shows up.
Mind you, I had a more complicated solution working before this morning. I woke up, changed nothing, and started having this problem.
Am I missing something simple?
I'm on a new intel macbook using the flex 2 sdk (downloaded last week).
I've rebooting and turned my machine off. I have re-installed my flex sdk files.
thanks,
Steve Odom
http://www.trivionomy.com
http://www.smarkets.net