Total downloads: 21943
Category: Component
File last revision: 16, Mar 2007 01:03:46
License: LGPL
Flash MX 2004 Class:
This class allow you to tranform every kind of XML file into a Native AS Object. Inside the .zip there is also an example on how to use it
(Updated to work with Flash8)
Flash content
Comments (125)
thanks for the class. i was starting to get anoyed at the fact that the xml parser in Flex does this naturaly and that flash dosn't... you rock!
Nice One elr,
from = new XML (String(this.xml));
in the xml2obj class works a treat!
Hi, I got a problem with this class, When I user it with a XML with one node, the translations is a Object, and not an array, then, the porpertie length don't work. Any suggestion?
Hi
I've tryed to integrate your XML2Object.mxp in the extention manger but it seems to give an error:
**Error** C:\Programmi\Macromedia\Flash MX 2004\en\Configuration\Include\loadXml2Obj.as: Line 6: Syntax error.
import it.sephiroth.XML2Object;
Total ActionScript Errors: 1 Reported Errors: 1
can you tell me why?
thanks
Linda
hi nicky
Same issue for me.
Someone suggested to cast into String this way :
from = new XML (String(this.xml));
but I'm not sure it's safe since I can't traceObject() the resulting object
Sephiroth can you help us ? thx
If I compile my movie in Flash 8
error as follows
XML2Object.as: Line 63: Type mismatch.
from = new XML (this.xml);
any ideas?
Is it not working on mac?
ivo, you're a life saver !
thanks for that Flash 8 fix.
Has anyone have had problems with MacOSX
And flash 2004 Proffessional?
I don't seem to get any output.
to make xml2object in flash 8 put:
from = new XML(String(this.xml));
This should work.
