Verlanglijstje: Switch 2, PS5 Pro Most wanted: Switch 2
heb wel wat voorbeeldjes op me website, als ik thuis ben kijk ik of ik de links kan vinden, klein stukje code uit project hier:
en in PARSE_XML
HTH
code:
1
2
3
4
5
6
7
8
9
| function myLoad() {
this.callback.gotoAndPlay("PARSE_XML");
}
thisXML = new XML();
thisXML.ignoreWhite = true;
thisXML.callback = _root;
thisXML.onLoad = myLoad;
thisXML.load("artiesten.xml"); |
en in PARSE_XML
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| var numberofArtiest = thisXML.firstChild.childnodes.length;
for (i=0; i<=numberofArtiest; i++) {
var artiest = thisXML.firstChild.childnodes[i];
var artiestName = artiest.childNodes[0].childnodes[0].nodeValue;
var artiestURL = artiest.childNodes[1].childnodes[0].nodeValue;
var artiestTitle = artiest.childNodes[2].childnodes[0].nodeValue;
var isView = artiest.childNodes[3].childnodes[0].nodeValue;
if (isView == "ja") {
add_button(artiestName, artiestURL, artiestTitle);
}
} |
HTH
"You're only as good, as what you did last week."
maar wel iedereen kan XMLNitro gebruikenOp dinsdag 22 januari 2002 17:20 schreef B-Top het volgende:
thisXML.ignoreWhite = true;
owen toch, niet iedereen heeft flash 5.43
"You're only as good, as what you did last week."
ik zet de rest van de 500 regels aan code ook niet erbijOp dinsdag 22 januari 2002 17:39 schreef B-Top het volgende:
Ja, maar dat zet je er niet bij...
maar goed..omdat je het zo lief vraagt
code:
1
| #include "XMLnitro.as" |
"You're only as good, as what you did last week."
Heeft iemand ook een algemene uitleg?
Dus zonder die XMLnitro toevoeging? kWillet allemaal graag leren.
Dus zonder die XMLnitro toevoeging? kWillet allemaal graag leren.
Verlanglijstje: Switch 2, PS5 Pro Most wanted: Switch 2
Pagina: 1