header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
krishna
Points:0
Posts:0

8/21/2011 2:26:49 AM

Title: use of e4x


Hi All,

Can anybody please explian e4x?
What is the use of e4x?
What is the difference between xml and e4x?

Thanks & Regards,
krishna



1
Hunter
Points: 0
Posts:0
8/22/2011 6:24:55 AM



e4x is a set of classes and functionality to work with xml.Using e4x makes it easier to write and understand code for working with XML data.xml nodes data is accessible using the dot , so the code for xml is rather simple in actionscript when using e4x classes.

2
Belly
Points: 0
Posts:0
8/22/2011 6:29:26 AM



see this link to understand how to use e4x standard classes in actionscript to process xml easily.
http://livedocs.adobe.com/flex/3/html/help.html?content=13_Working_with_XML_03.html

3
Rango
Points: 0
Posts:0
8/22/2011 7:53:07 AM



before ActionScript 3 we used to write loops to read xml. But now e4x classes enable us to use (.) to access the xml nodes. It adds simplicity and ease of use for ActionScript users.

here is a good example to explain use of e4x in flex ActionScript.
http://ajaxandbeyond.blogspot.com/2007/09/working-with-data-in-flex-e4x.html

4
andrewjohn1
Points: 80
Posts:0
8/23/2011 12:58:51 AM



Full form of E4X is ECMAScript for XML.

ECMAScript for XML (E4X) is a programming language extension that adds native XML support to
JavaScript. It does this by providing access to the XML document in a form that feels natural for ECMAScript programmers. The goal is to provide an alternative, simpler syntax for accessing XML documents than via DOM interfaces. It also offers a new way of making XML visible.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 8+6 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions