# XML2Object Problem

**URL:** <https://forum.kirupa.com/t/xml2object-problem/216661>\
**Category:** flash\
**Created:** [February 19, 2007, 3:02pm UTC](https://forum.kirupa.com/t/xml2object-problem/216661 "2007-02-19T15:02:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dewey](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@dewey](https://forum.kirupa.com/u/dewey)\
**Post date:** [February 19, 2007, 3:02pm UTC](https://forum.kirupa.com/t/xml2object-problem/216661/1 "2007-02-19T15:02:23Z")

</div>

Hey everyone, I am trying to use this [http://www.sephiroth.it/file\_detail.php?pageNum\_comments=10&id=129](http://www.sephiroth.it/file_detail.php?pageNum_comments=10&id=129) library for a project I am using, but I am having a lot of problems.

I want to obviously take data in XML format and convert it to a flash object. However, I will not be using a file to hold the XML, rather, I want to pass it in using FlashVars. This is part 1 of my question; how can I use this class with a string value rather than a file?

Secondly, how can I use it to set up more than 1 object (what I am building requires the ability to have 1 to 10 different possible objects…)? There is no good documentation I can find on this stuff and it is frustrating me beyond belief.

Any help is much appreciated. Thank you,

–d
