Menu:

Sponsor

Discover Master of Alchemy, our first iPad/iPhone and iPod touch game!

Forum's topics

Latest Files

Categories

XML2Object

Flash Version: Flash MX 2004
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)

 Comments Feed

Do you like this file? Please make a little donation

Flash content

 

Comments (125)

psmithiv on 9th December 2005

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!

tom on 4th December 2005

Nice One elr,

from = new XML (String(this.xml));

in the xml2obj class works a treat!

gil on 10th November 2005

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?

linda.gattino on 10th November 2005

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

elr on 26th October 2005

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

nicky_s84 on 26th October 2005

If I compile my movie in Flash 8

error as follows

XML2Object.as: Line 63: Type mismatch.
from = new XML (this.xml);

any ideas?

spam on 14th October 2005

Is it not working on mac?

emil on 12th October 2005

ivo, you're a life saver !
thanks for that Flash 8 fix.

ivo on 10th October 2005

Has anyone have had problems with MacOSX
And flash 2004 Proffessional?
I don't seem to get any output.

fergusosm on 23rd September 2005

to make xml2object in flash 8 put:
from = new XML(String(this.xml));

This should work.

Add your comment