Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Flex > Flex 2 & 3

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-06-2006, 10:12 PM   #1
djsodom
Registered User
 
Join Date: Nov 2004
Posts: 53
Unhappy simple example does not work

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):
PHP Code:
<?xml version="1.0" encoding="UTF-8"?>
<title>test #3</title>
my mxml file:
PHP Code:
<?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:
PHP Code:
steve-odoms-computer:~ steveodomflex/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
djsodom is offline   Reply With Quote
Old 07-13-2006, 04:06 PM   #2
djsodom
Registered User
 
Join Date: Nov 2004
Posts: 53
Default its a mac thing

This seems to be a mac issue. someone from Adobe's QA department responded to my adobe forums post saying she was able to replicate it on her mactel machine. She had no solution, only to say she will report it.

That means I have to use my windows machine (arrgh).

Steve
djsodom is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Progressbar and loader. Work with Firefox but not IE. SHiGE Components 5 12-06-2007 06:52 AM
Variable Scripting Problem ds.pixeled ActionScript 2.0 6 04-16-2005 01:26 PM
Budgeting for Flash Contract Work Wino Projects and Positions 1 04-02-2005 02:48 AM
onClipEvent(data): _parent etc. don't seem to work wu-lee ActionScript 1.0 (and below) 1 02-01-2004 11:55 AM
Simple stuff, but for some reason I can't make it work xmental Other Flash General Questions 7 01-18-2002 01:56 PM


All times are GMT. The time now is 03:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.