Roli189
Mitglied
Hallo zusammen!
Ich möchte in dem Textfeld in dem ich die XML Datei ausgeben lasse eine neue XML Datei per Knopfdruck laden (ist für eine Homepage).
Ich habe ein Arraymenü angepasst und da verstehe ich nicht wie ich das einbinden muss
äähhm... Das das Arraymenü noch nicht stimmen kann weiss ich aber ich habe einfach keine Ahnung wie ich eine neue XML Datei in das erstellte XML Objekt reinladen kann.
Ich hoffe die angaben sind nicht zu schlecht gemacht...
Grüsse
Roli
Ich möchte in dem Textfeld in dem ich die XML Datei ausgeben lasse eine neue XML Datei per Knopfdruck laden (ist für eine Homepage).
PHP:
textStil = new TextField.StyleSheet();
textStil.load("style.css");
feld.styleSheet = textStil;
vorstellungText = new XML();
vorstellungText.load("datei.xml");
vorstellungText.ignoreWhite = true;
vorstellungText.onLoad = function(klar) {
if (klar) {
feld.text = vorstellungText;
delete vorstellungText;
} else {
feld.text = "Die XML-Datei konnte nicht gefunden werden!";
}
};
PHP:
var link = new Array(9);
for (i=1; i<=9; i++) {
clip.duplicateMovieClip("clip"+(i+0), +i);
height = _root.clip._height+53;
_root["clip"+(i+0)]._x = _root.clip._x+height*i;
_root["clip"+(i+0)]._alpha = 15;
_root["clip"+(i+0)].names = names[i];
_root["clip"+i].link = _root["url"+i];
_root["clip"+i].onPress = function() {
feld.text = (this.link);
};
}
Ich hoffe die angaben sind nicht zu schlecht gemacht...
Grüsse
Roli