<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-9169624808612493701.post8192536964987108038..comments</id><updated>2011-12-11T19:25:11.000-08:00</updated><category term='flash'/><category term='xml'/><category term='visualization'/><category term='mystic rose'/><category term='&quot;project runway&quot;'/><category term='ai'/><category term='AS1'/><category term='timeline'/><category term='good bugs'/><category term='programming'/><category term='generative art'/><category term='AS3'/><category term='Math'/><category term='art'/><category term='chemistry'/><category term='peotry'/><category term='fashion'/><category term='fibonacci'/><category term='color of spam'/><category term='Mathematica'/><category term='var'/><category term='geometry'/><category term='particles'/><category term='print'/><category term='stephen colbert'/><category term='particle system'/><category term='animated'/><category term='portrait'/><category term='data visualization'/><category term='python'/><category term='biology'/><category term='muse'/><category term='fla'/><category term='AS2'/><category term='spam'/><category term='structure'/><category term='mathML'/><category term='Maker Faire'/><category term='creative process'/><category term='ip address'/><category term='galaxygoo'/><category term='code'/><category term='experimental'/><category term='actionscript'/><category term='pointillism'/><category term='tween'/><category term='compiler error'/><title type='text'>Comments on Underground_Flash: array.length vs xml.length() in as3</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.underground-flash.com/feeds/8192536964987108038/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default'/><link rel='alternate' type='text/html' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html'/><author><name>Kristin Henry</name><uri>http://www.blogger.com/profile/14507405856874441165</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9169624808612493701.post-7657889734251146386</id><published>2010-10-18T20:26:47.730-07:00</published><updated>2010-10-18T20:26:47.730-07:00</updated><title type='text'>@arcane.001100

THANK YOU</title><content type='html'>@arcane.001100&lt;br /&gt;&lt;br /&gt;THANK YOU</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/7657889734251146386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/7657889734251146386'/><link rel='alternate' type='text/html' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html?showComment=1287458807730#c7657889734251146386' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html' ref='tag:blogger.com,1999:blog-9169624808612493701.post-8192536964987108038' source='http://www.blogger.com/feeds/9169624808612493701/posts/default/8192536964987108038' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-128151696'/></entry><entry><id>tag:blogger.com,1999:blog-9169624808612493701.post-5714694511651737541</id><published>2010-03-24T14:23:18.962-07:00</published><updated>2010-03-24T14:23:18.962-07:00</updated><title type='text'>I&amp;#39;m a little late to this party but you can fi...</title><content type='html'>I&amp;#39;m a little late to this party but you can find the length of an XML object and have it return a value higher than one.&lt;br /&gt;&lt;br /&gt;You will have to add &amp;quot;.*.length()&amp;quot; to your XML object name.&lt;br /&gt;&lt;br /&gt;eg:&lt;br /&gt;&lt;br /&gt;**************************&lt;br /&gt;var $tkrData:XML;&lt;br /&gt;    $tkrData = XML(loader.data);&lt;br /&gt;    &lt;br /&gt;    trace(&amp;quot;number of child nodes = &amp;quot;+$tkrData.*.length());&lt;br /&gt;**************************&lt;br /&gt;&lt;br /&gt;in my case this returns 13.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/5714694511651737541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/5714694511651737541'/><link rel='alternate' type='text/html' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html?showComment=1269465798962#c5714694511651737541' title=''/><author><name>arcane.001100</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html' ref='tag:blogger.com,1999:blog-9169624808612493701.post-8192536964987108038' source='http://www.blogger.com/feeds/9169624808612493701/posts/default/8192536964987108038' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1276629532'/></entry><entry><id>tag:blogger.com,1999:blog-9169624808612493701.post-8000338544437484839</id><published>2009-08-26T00:17:53.514-07:00</published><updated>2009-08-26T00:17:53.514-07:00</updated><title type='text'>yeah. i totally agree.  No matter why (of course t...</title><content type='html'>yeah. i totally agree.  No matter why (of course they&amp;#39;d valid reasons) it&amp;#39;s sort of annoying!  expecially if it doesn&amp;#39;t throw any error...&lt;br /&gt;i&amp;#39;ve been stuck 2 hours pulling my hair without understanding why i couldn&amp;#39;t get the lenght of my xmlList.  And obviously as it happens sometimes,  reading and reading the guide over and over didn&amp;#39;t help me notice those fu***ng parenthesis...  ( it&amp;#39;s LENGTH !!  why the hell it&amp;#39;s not working...  &amp;#39;coz it&amp;#39;s LENGTH&lt;b&gt;()&lt;/b&gt;  doh!! )</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/8000338544437484839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/8000338544437484839'/><link rel='alternate' type='text/html' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html?showComment=1251271073514#c8000338544437484839' title=''/><author><name>Demian</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html' ref='tag:blogger.com,1999:blog-9169624808612493701.post-8192536964987108038' source='http://www.blogger.com/feeds/9169624808612493701/posts/default/8192536964987108038' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1050777535'/></entry><entry><id>tag:blogger.com,1999:blog-9169624808612493701.post-3022775912256186578</id><published>2009-05-12T15:51:00.000-07:00</published><updated>2009-05-12T15:51:00.000-07:00</updated><title type='text'>I would suspect that it has something to do with t...</title><content type='html'>I would suspect that it has something to do with the way the data is being returned.  I would wager that is has something to do with how the XML class is implemented; using return methods for data access rather than directly letting you access the property values.  This way, should something need to be changed internally in the future, previous code/documentation should still be valid (assuming the entire format does not have to be changed).  Just my $0.02.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/3022775912256186578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/3022775912256186578'/><link rel='alternate' type='text/html' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html?showComment=1242168660000#c3022775912256186578' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html' ref='tag:blogger.com,1999:blog-9169624808612493701.post-8192536964987108038' source='http://www.blogger.com/feeds/9169624808612493701/posts/default/8192536964987108038' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1536269261'/></entry><entry><id>tag:blogger.com,1999:blog-9169624808612493701.post-5942406787208276659</id><published>2009-02-10T06:37:00.000-08:00</published><updated>2009-02-10T06:37:00.000-08:00</updated><title type='text'>Totally agree. No matter the reason it´s sort of s...</title><content type='html'>Totally agree. No matter the reason it´s sort of silly and not intuitive. If they needed to mark the diference they could have made it "nodesLength" or something. Having the same name just causes confusion. I wonder how many hours overall have been lost due to this.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/5942406787208276659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/5942406787208276659'/><link rel='alternate' type='text/html' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html?showComment=1234276620000#c5942406787208276659' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html' ref='tag:blogger.com,1999:blog-9169624808612493701.post-8192536964987108038' source='http://www.blogger.com/feeds/9169624808612493701/posts/default/8192536964987108038' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1820933789'/></entry><entry><id>tag:blogger.com,1999:blog-9169624808612493701.post-14741488443672874</id><published>2009-01-22T06:43:00.000-08:00</published><updated>2009-01-22T06:43:00.000-08:00</updated><title type='text'>Make sure you have an xmlList object instead of xm...</title><content type='html'>Make sure you have an xmlList object instead of xml object to use the length property. Otherwise you always have 1 returned.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/14741488443672874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/14741488443672874'/><link rel='alternate' type='text/html' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html?showComment=1232635380000#c14741488443672874' title=''/><author><name>crispclean</name><uri>http://crispclean.myopenid.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html' ref='tag:blogger.com,1999:blog-9169624808612493701.post-8192536964987108038' source='http://www.blogger.com/feeds/9169624808612493701/posts/default/8192536964987108038' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1781600890'/></entry><entry><id>tag:blogger.com,1999:blog-9169624808612493701.post-4638315768060630754</id><published>2008-12-22T10:52:00.000-08:00</published><updated>2008-12-22T10:52:00.000-08:00</updated><title type='text'>Thanks for that post. I agree. This post as really...</title><content type='html'>Thanks for that post. I agree. This post as really helped me. I had been stuck the last 4 hours because i couldn't display the length. Now everything works fine.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/4638315768060630754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/4638315768060630754'/><link rel='alternate' type='text/html' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html?showComment=1229971920000#c4638315768060630754' title=''/><author><name>Tc</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html' ref='tag:blogger.com,1999:blog-9169624808612493701.post-8192536964987108038' source='http://www.blogger.com/feeds/9169624808612493701/posts/default/8192536964987108038' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1764587621'/></entry><entry><id>tag:blogger.com,1999:blog-9169624808612493701.post-8490861828904982471</id><published>2008-12-14T04:02:00.000-08:00</published><updated>2008-12-14T04:02:00.000-08:00</updated><title type='text'>myXML.length() doesn't yield the same as myArray.l...</title><content type='html'>myXML.length() doesn't yield the same as myArray.length. No matter how many child nodes are in your XML object, the length property will be returned as 1.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/8490861828904982471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/8490861828904982471'/><link rel='alternate' type='text/html' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html?showComment=1229256120000#c8490861828904982471' title=''/><author><name>Jodie O'Rourke</name><uri>http://flexdeveloper.eu</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html' ref='tag:blogger.com,1999:blog-9169624808612493701.post-8192536964987108038' source='http://www.blogger.com/feeds/9169624808612493701/posts/default/8192536964987108038' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-449402093'/></entry><entry><id>tag:blogger.com,1999:blog-9169624808612493701.post-4117469307472132096</id><published>2008-02-18T20:21:00.000-08:00</published><updated>2008-02-18T20:21:00.000-08:00</updated><title type='text'>I wondered the same thing when I noticed that. My ...</title><content type='html'>I wondered the same thing when I noticed that. My guess was that it used a method because "length" could be a child node of the xml. Since parent.child is valid E4X syntax, it wouldn't really know if you wanted "length" as in a reference to the child node(s) or "length" as in the number of child nodes.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/4117469307472132096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9169624808612493701/8192536964987108038/comments/default/4117469307472132096'/><link rel='alternate' type='text/html' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html?showComment=1203394860000#c4117469307472132096' title=''/><author><name>Ben Stucki</name><uri>http://www.blogger.com/profile/11333325988101177550</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.underground-flash.com/2008/02/arraylength-vs-xmllength-in-as3.html' ref='tag:blogger.com,1999:blog-9169624808612493701.post-8192536964987108038' source='http://www.blogger.com/feeds/9169624808612493701/posts/default/8192536964987108038' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1435781815'/></entry></feed>
