Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
rpierich #1
Question about E4X syntax.
Hello,
I have the following xml:
<med-condition>
<abnormal-weight type="boolean">true</abnormal-weight>
</med-condition>
I'm just wondering how I can access the med-condition node with E4X syntax
since I can't say event.result.med-condition because of the hyphen. Any Ideas?
Thanks,
Ruben
rpierich Guest
-
upload syntax question
I just bought some web space which has mysql capabilities..... I am using SSH and have created a database and a table........ now I would like to... -
Simple syntax question
Hi I don't remember how to get the diplayed result broken in multiple lines. The command: mysql> SHOW INDEX FROM recentchanges; gives one... -
Question on syntax...
I've seen this a few times in some code examples... XXX::XXX What do the 2 colons signify? -
SQL Syntax Question???
I have 2 tables. One that has all my products (table1) and another table that matches my products with a invoice number (table2). What I want to... -
Transact-SQL syntax question
Nico, Please Refer http://www.sqlmag.com/Articles/Index.cfm?ArticleID=8687&pg=1 Hope this helps. Thanks Rajan Murthy -
Craig Grummitt #2
Re: Question about E4X syntax.
use:
event.result["med-condition"]
Craig Grummitt Guest
-
rpierich #3
Re: Question about E4X syntax.
That didn't work. I tried event.result["med-condition"]["abnormal-weight"]
rpierich Guest
-
Craig Grummitt #4
Re: Question about E4X syntax.
the easiest approach would be to set up a breakpoint and use the debugger to
pause inside the event handler and check what event.result actually contains.
hard for me to tell as i'm not sure which event you're trapping.
if <med-condition> is the root tag, however, and event.result is the xml
object, then to arrive at abnormal-weight tag, you would use:
event.result["abnormal-weight"]
Craig Grummitt Guest
-
Greg Lafrance #5
Re: Question about E4X syntax.
I tried to work this out but could not. I hope someone else shows how to do this, if it can be done.
Greg Lafrance Guest



Reply With Quote

