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.
Ian
Points:0
Posts:0
Answered

3/14/2010 11:50:02 AM

Title: Whats e4x in flex


What is e4x and why to load data in e4x while loading xml into flash?



Arnold
Points: 0
Posts:0
Accepted Answer
3/14/2010 12:33:13 PM



E4X ( ECMAScript ). E4X provides a collection of classes to work with XML data.XML loaded by using E4X are much easier to work with. It saves a lot of coding time. Following are the classes included in E4x:
XML
XMLList
QName
Namespace

Example :




var xmlE4String:String = '<root><fruit name="Apple" price="50"><color type="Red"/></fruit></root>';

var xml:XML = XML(xmlE4String);
trace(xml.fruit[0].color.@type);
Red



Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 6+0 



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