<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>circlecube - Latest Comments in XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>http://circlecube.disqus.com/</link><description>interactive development</description><atom:link href="https://circlecube.disqus.com/xml_and_flash_actionscript_made_easy_parse_xml_to_object_tutorial/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 16 Jan 2013 14:02:28 -0000</lastBuildDate><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277264</link><description>&lt;p&gt;@BlueRaja - not a bad idea. I hope most everyone is able to use as3 by now if they are in flash and never came back to update this old post. We did discuss as2 vs as3 in the comments though. Hope that helped you.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Evan Mullins</dc:creator><pubDate>Wed, 16 Jan 2013 14:02:28 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277259</link><description>&lt;p&gt;Since this is one of the top hits on google..&lt;br&gt;&lt;a href="https://www.google.com/search?q=flash+parse+xml" rel="nofollow noopener" target="_blank" title="https://www.google.com/search?q=flash+parse+xml"&gt;https://www.google.com/sear...&lt;/a&gt;&lt;br&gt;..you should mention (at the very top of the page) that this is for AS2, and that AS3 has similar functionality built-in via E4X.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BlueRaja</dc:creator><pubDate>Tue, 15 Jan 2013 21:13:45 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277256</link><description>&lt;p&gt;I need to find id say 44. how do I make a method that from this CML finds the right id and (44) and return me a line Parent = -9?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Akella</dc:creator><pubDate>Thu, 24 Feb 2011 06:59:40 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277205</link><description>&lt;p&gt;On a related note: "readable object serialization" ... the routine I've linked below doesn't convert to or from XML, but it does take your flash objects and serializes them into an easy-to-read string, from which it can recreate the object.  MUCH easier to read datafiles in this format compared to XML datafiles:&lt;/p&gt;&lt;p&gt;&lt;a href="http://kionetics.com/programmingProjects/readableSerialization/readableSerialization.html" rel="nofollow noopener" target="_blank" title="http://kionetics.com/programmingProjects/readableSerialization/readableSerialization.html"&gt;http://kionetics.com/progra...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;It's just in AS2, but I'd like to do an AS3 version some time in the future.&lt;/p&gt;&lt;p&gt;Of course, ideally you want many if not most of your parameters stored in individual database fields so this seems moot, but you may have complex data objects that need no parsing outside your program, and which you might want to inspect or view as a well formatted object, in which case it makes sense to serialize them with this routine and store it as a string for each record in a single database field.  It's nice keeping your db-field-count at a minimum too.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">davea0511</dc:creator><pubDate>Fri, 10 Sep 2010 08:18:32 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277334</link><description>&lt;p&gt;@Josh - actually I wouldn't recommend using this with as3 since it handles xml so differently and better than as2 did. Check this post for xml and as3: &lt;a href="http://www.kirupa.com/developer/flashcs3/using_xml_as3_pg1.htm" rel="nofollow noopener" target="_blank" title="http://www.kirupa.com/developer/flashcs3/using_xml_as3_pg1.htm"&gt;http://www.kirupa.com/devel...&lt;/a&gt; AS3 already does what I was looking for in this xml2object! So that's good news for you, I hope!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Evan Mullins</dc:creator><pubDate>Tue, 07 Sep 2010 15:54:07 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277208</link><description>&lt;p&gt;Hey Evan,&lt;br&gt;nice tutorial, thank you. I found this one after viewing your AS2 version. I only know AS3 and am trying to use this example but in the simplicity you did the AS2 tutorial.&lt;/p&gt;&lt;p&gt;So right now I'm trying to strip everything out and have my html page with the embedded flash simply display all the hex codes for your colour variable, in other words, just a list of the items separated by the commas.&lt;/p&gt;&lt;p&gt;Thing is I keep getting errors and cannot exactly tell what code has to stay and what can go.....any help?!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Josh</dc:creator><pubDate>Mon, 06 Sep 2010 15:00:19 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277251</link><description>&lt;p&gt;this is also worth checking out ... &lt;a href="http://indivision-codebase-as2.googlecode.com/files/indivision_codebase2-080629-all.zip" rel="nofollow noopener" target="_blank" title="http://indivision-codebase-as2.googlecode.com/files/indivision_codebase2-080629-all.zip"&gt;http://indivision-codebase-...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;look in the classes/net/indivision/data directory and there is a great XML-&amp;gt;Obj and Obj-&amp;gt; XML tool.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">davea0511</dc:creator><pubDate>Wed, 03 Mar 2010 09:56:56 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277246</link><description>&lt;p&gt;Does anyone know how to apply this class to an XML which is not a file?&lt;br&gt;I have  PHP function which imports data back into Flash in XML form, but I'm having problems parsing it.&lt;/p&gt;&lt;p&gt;Thanks in advance,&lt;br&gt;Mariano&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mariano</dc:creator><pubDate>Mon, 22 Feb 2010 20:57:22 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277243</link><description>&lt;p&gt;Not to sure about large files, I hadn't tested this too extensively. Let us know what you find if you don't mind, Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Evan Mullins</dc:creator><pubDate>Mon, 07 Dec 2009 14:20:45 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277241</link><description>&lt;p&gt;Evan,&lt;/p&gt;&lt;p&gt;Awesome class!  I'm stuck on AS2 for a project that won't move to AS3 any time soon.  I was parsing my own XML, but this is much easier.  It works great on my little XML file.  How does it do with large files?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jennifer</dc:creator><pubDate>Thu, 03 Dec 2009 22:02:53 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277239</link><description>&lt;p&gt;Wowzers..&lt;/p&gt;&lt;p&gt;I'm writing some code to deal with a massive amount of XML data and faced with bug fixing in the dark I was ready to bang my head against a brickwall until I saw your little trace function there.. that is a real life saver.. thanks a lot for that!!&lt;/p&gt;&lt;p&gt;Cheers&lt;br&gt;M.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marc</dc:creator><pubDate>Tue, 11 Aug 2009 19:22:41 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277235</link><description>&lt;p&gt;@Bart - Yes, but note this is for as2, this xml to object is pre e4x, there are multiple ways to do it, but some as2 developers still could find uses for it. Good luck with the deserialiser.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Evan Mullins</dc:creator><pubDate>Thu, 02 Jul 2009 11:42:20 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-12028235</link><description>&lt;p&gt;@Bart - Yes, but note this is for as2, this xml to object is pre e4x, there are multiple ways to do it, but some as2 developers still could find uses for it. Good luck with the deserialiser.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Evan Mullins</dc:creator><pubDate>Thu, 02 Jul 2009 08:42:20 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-12026168</link><description>&lt;p&gt;Xml to Object, is that not what e4x does? wich is available in my Flex/Air projects&lt;/p&gt;&lt;p&gt;I am looking for a deserialize to a custom type&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">wiibart</dc:creator><pubDate>Thu, 02 Jul 2009 06:54:06 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277233</link><description>&lt;p&gt;Yup, it's all ActionScript 2. Thinks like &lt;strong&gt;XMLNode&lt;/strong&gt; are not working with only 1 parameter in AS3 etc.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tekkie</dc:creator><pubDate>Fri, 08 May 2009 11:31:43 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-10985812</link><description>&lt;p&gt;Yup, it's all ActionScript 2. Thinks like &lt;strong&gt;XMLNode&lt;/strong&gt; are not working with only 1 parameter in AS3 etc.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tekkie</dc:creator><pubDate>Fri, 08 May 2009 07:31:43 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277230</link><description>&lt;p&gt;Evan,&lt;br&gt; do you have an AS3 version of this?&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael</dc:creator><pubDate>Wed, 19 Nov 2008 19:46:19 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-10985811</link><description>&lt;p&gt;Evan,&lt;br&gt; do you have an AS3 version of this?&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael</dc:creator><pubDate>Wed, 19 Nov 2008 14:46:19 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277226</link><description>&lt;p&gt;@Mark - Looks like a fun assignment! Good luck with that.&lt;/p&gt;&lt;p&gt;This &lt;a href="http://circlecube.com/2007/03/01/gravity/" rel="nofollow noopener" target="_blank" title="http://circlecube.com/2007/03/01/gravity/"&gt;post&lt;/a&gt; may help you and I'd definitely recommend &lt;a href="http://www.bit-101.com/tutorials/gravity.html" rel="nofollow noopener" target="_blank" title="http://www.bit-101.com/tutorials/gravity.html"&gt;Keith Peters for the background on gravity&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Evan Mullins</dc:creator><pubDate>Fri, 17 Oct 2008 12:13:51 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-10985810</link><description>&lt;p&gt;@Mark - Looks like a fun assignment! Good luck with that.&lt;/p&gt;&lt;p&gt;This &lt;a href="http://blog.circlecube.com/2007/03/01/gravity/" rel="nofollow noopener" target="_blank" title="http://blog.circlecube.com/2007/03/01/gravity/"&gt;post&lt;/a&gt; may help you and I'd definitely recommend &lt;a href="http://www.bit-101.com/tutorials/gravity.html" rel="nofollow noopener" target="_blank" title="http://www.bit-101.com/tutorials/gravity.html"&gt;Keith Peters for the background on gravity&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Evan Mullins</dc:creator><pubDate>Fri, 17 Oct 2008 08:13:51 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277254</link><description>&lt;p&gt;Can any one help me with this&lt;/p&gt;&lt;p&gt;Create a Flash Movie: 550 x 400 pixels.&lt;br&gt;2. Write 2 external ActionScript files, one of which MUST be the Document&lt;br&gt;Class.&lt;br&gt;3. Code a Rectangle with a Blue border and fill it with a Red and Greed Gradient&lt;br&gt;at a 45 degree angle. (Use the second ActionScript file for this)&lt;br&gt;4. Add 10 instances of this Rectangle to the stage, randomly placing them along&lt;br&gt;the TOP of the movie, one per second, for 10 seconds.&lt;br&gt;5. As soon as a square is added, it should start falling to the bottom of the&lt;br&gt;movie, where it bounces before coming to a stop.&lt;br&gt;Â· There should be NO Timeline animation of any kind, in-fact, there should be&lt;br&gt;nothing on any Frame of the .fla file at all.&lt;br&gt;Â· The Library of the .fla file should also be completely EMPTY.&lt;br&gt;Â· You are allowed to use no more than 60 lines of code, spread over the 2&lt;br&gt;allowed ActionScript Files.&lt;br&gt;Â· You must send the .fla file, together with the 2 ActionScript files in for&lt;br&gt;evaluation.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark</dc:creator><pubDate>Thu, 16 Oct 2008 10:38:57 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-10985809</link><description>&lt;p&gt;Can any one help me with this&lt;/p&gt;&lt;p&gt;Create a Flash Movie: 550 x 400 pixels.&lt;br&gt;2. Write 2 external ActionScript files, one of which MUST be the Document&lt;br&gt;Class.&lt;br&gt;3. Code a Rectangle with a Blue border and fill it with a Red and Greed Gradient&lt;br&gt;at a 45 degree angle. (Use the second ActionScript file for this)&lt;br&gt;4. Add 10 instances of this Rectangle to the stage, randomly placing them along&lt;br&gt;the TOP of the movie, one per second, for 10 seconds.&lt;br&gt;5. As soon as a square is added, it should start falling to the bottom of the&lt;br&gt;movie, where it bounces before coming to a stop.&lt;br&gt;Â· There should be NO Timeline animation of any kind, in-fact, there should be&lt;br&gt;nothing on any Frame of the .fla file at all.&lt;br&gt;Â· The Library of the .fla file should also be completely EMPTY.&lt;br&gt;Â· You are allowed to use no more than 60 lines of code, spread over the 2&lt;br&gt;allowed ActionScript Files.&lt;br&gt;Â· You must send the .fla file, together with the 2 ActionScript files in for&lt;br&gt;evaluation.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark</dc:creator><pubDate>Thu, 16 Oct 2008 06:38:57 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277248</link><description>&lt;p&gt;Very nice.&lt;/p&gt;&lt;p&gt;great for transferring info to and from Flash using xml and easily&lt;br&gt;being able to grab info.&lt;/p&gt;&lt;p&gt;Phil&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gold Coast Login</dc:creator><pubDate>Thu, 11 Sep 2008 05:57:40 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-10985808</link><description>&lt;p&gt;Very nice.&lt;/p&gt;&lt;p&gt;great for transferring info to and from Flash using xml and easily &lt;br&gt;being able to grab info.&lt;/p&gt;&lt;p&gt;Phil&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gold Coast Login</dc:creator><pubDate>Thu, 11 Sep 2008 01:57:40 -0000</pubDate></item><item><title>Re: XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial</title><link>https://circlecube.com/2008/04/xml-and-flash-actionscript-made-easy-parse-xml-to-object-tutorial/#comment-1554277247</link><description>&lt;p&gt;Wow. Thank you! In the past I've been in too much of a hurry to even try to work with ActionScript's stupidly complicated XML handling.  On one recent project, I just imported the whole XML file as text, and parsed it using string functions for the bits I needed.   (Not very elegant at all, I know.. but in terms of coding time, it was much quicker).&lt;/p&gt;&lt;p&gt;This is extremely sweet though.  (In fact, what you've done here is sort of how I thought XML handling in ActionScript *would* work before I found out otherwise).&lt;/p&gt;&lt;p&gt;Very nice. Very nice.&lt;/p&gt;&lt;p&gt;-Popo&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Free Tarot</dc:creator><pubDate>Thu, 28 Aug 2008 06:45:51 -0000</pubDate></item></channel></rss>