Actually all it did was parse it into an xml array which is normal.... -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of aaron smith Sent: Friday, September 08, 2006 11:18 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] hardcoding xml
coding it in as a string doesn't seem to work.. EX:: var s:String = "<root><someParent><someChildItem><name><![CDATA[SOME DATA]]></name></somechildItem>" + "<someChildItem><![CDATA[SOME DATA]]></someChildItem>"+ "<someChildItem><![CDATA[SOME DATA]]></someChildItem>"+ "<someChildItem><![CDATA[SOME DATA]]></someChildItem>"+ "<someChildItem><![CDATA[SOME DATA]]></someChildItem>"+ "<someChildItem><![CDATA[SOME DATA]]></someChildItem>"+ "</someParent></root>"; var x:XML = new XML( s ); when the xml lis parsed it puts comas in where the + symbols are.. it just breaks everything.. On 9/8/06, eric dolecki <[EMAIL PROTECTED]> wrote: > > just code it in as a string. > > On 9/8/06, aaron smith <[EMAIL PROTECTED]> wrote: > > > > hey, does anyone know of a way to hard code XML into actionscript > without > > the compiler having a fit? it's a pretty big XML file, I need to hard > code > > it for a banner, the vendor has no idea what their doing. the xml file > is > > a > > couple hundred lines. > > > > thanks > > _______________________________________________ > > [email protected] > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

