Passing XML into AS

Hey People…

Not sure if this should be in this forum, or in the HTML forums, but I think you guys would know the answer :wink:

I am working on designing a “flyer” type of advertisement at the moment… and I have pretty much everything working… everything except for this, that is…

I need to be able to pass a string into flash that would basically be XML into flash. I know how to pass strings in, but where this has many "'s and /'s I am wondering if that would be a problem… “FlashVars” looks like this as an example…

<param name="FlashVars" value="items=<?xml version="1.0"?><flyer><flyer-item index="1" shortDescription="small car" longDescription="a small car" price="1000" image="http://www.images.com/image.jpg" /><flyer-item index="2" shortDescription="car" longDescription="a car" price="2000" image="http://www.images.com/image2.jpg" /><flyer-item index="3" shortDescription="big car" longDescription="a big car" price="3000" image="http://www.images.com/image3.jpg" /></flyer>" />

Quite a mouthful, eh?

I also have this in my embed tag and for some reason, this is what I get on my page when I try to load it up…

BIG EMPTY WHITE SPACE

" /> " quality=“high” bgcolor="#ffffff" width=“550” height=“400” name=“temp” align=“middle” allowScriptAccess=“sameDomain” type=“application/x-shockwave-flash” pluginspage=“http://www.macromedia.com/go/getflashplayer” />

It’s like the XML is terminating the string or something. I can’t for the life of me get this to work. Does anyone have an idea how I could get this to work?

Thanks,

–D

ps. I can’t set up a webservice to do this, which would probably be a best option… don’t ask why… thanks again…