🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.programy.flash-5
Article #33975

Re: tutorial XML

#33975
From: Mr.Jack
Date: Wed, 07 Mar 2007 17:00
25 lines
1558 bytes
Dlaczego:

var my_xml:XML = new XML();
my_xml.ignoreWhite = true;

my_xml.onLoad = function(success:Boolean):Void {
 setInterval(
    function(){

     var tablica:Array = my_xml.firstChild.childNodes;
     for (var i:Number = 0; i < tablica.length; i++) {
     my_txt.text += tablica[i].firstChild.firstChild.nodeValue + "\n";

        }
    }, 1000);
};
my_xml.load("test.xml");

... wyrzuca "null" do pola tekstowego (my_txt)?


-- 
Jacek "Mr.Jack" Sawicki
http://www.motocykl.org
http://www.motocykl.org/portfolio/mrjack_portfolio.rar 
Technical Details
Message-ID: <esmrbu$mg0$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <esmnlf$ckc$1@nemesis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: "Mr.Jack" <mrjack@WYTNIJTOCOTUJESTmotocykl.org>
Newsgroups: alt.pl.programy.flash-5
Subject: Re: tutorial XML
Date: Wed, 7 Mar 2007 18:00:59 +0100
Organization: tp.internet - http://www.tpi.pl/
Lines: 27
Message-ID: <esmrbu$mg0$1@nemesis.news.tpi.pl>
References: <esmnlf$ckc$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: aasb124.neoplus.adsl.tpnet.pl
X-Trace: nemesis.news.tpi.pl 1173287102 23040 83.5.213.124 (7 Mar 2007 17:05:02 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Wed, 7 Mar 2007 17:05:02 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Response
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit