Function doesnt work the 2nd time

[font=verdana, arial, helvetica][size=2]this is the xml

[/size][/font][indent][font=verdana,arial,helvetica][size=1]code:[/size][/font]



[font=OCRB]<?xml [color=#000087]version[/color]="[color=blue]1.0[/color]" ?> 
- <images>
- <Branch name="[color=blue]1[/color]">
  <Leaf [color=#000087]text[/color]="[color=blue]bilder/1/ersie.jpg[/color]" [color=#000087]url[/color]="[color=blue]bilder/1/ersie.jpg[/color]" [color=#000087]width[/color]="[color=blue]300[/color]" [color=#000087]height[/color]="[color=blue]500[/color]" /> 
  <Leaf [color=#000087]text[/color]="[color=blue]bilder/1/gbook.jpg[/color]" [color=#000087]url[/color]="[color=blue]bilder/1/gbook.jpg[/color]" [color=#000087]width[/color]="[color=blue]100[/color]" [color=#000087]height[/color]="[color=blue]19[/color]" /> 
  <Leaf [color=#000087]text[/color]="[color=blue]bilder/1/map.jpg[/color]" [color=#000087]url[/color]="[color=blue]bilder/1/map.jpg[/color]" [color=#000087]width[/color]="[color=blue]300[/color]" [color=#000087]height[/color]="[color=blue]500[/color]" /> 
  <Leaf [color=#000087]text[/color]="[color=blue]bilder/1/minime.jpg[/color]" [color=#000087]url[/color]="[color=blue]bilder/1/minime.jpg[/color]" [color=#000087]width[/color]="[color=blue]300[/color]" [color=#000087]height[/color]="[color=blue]500[/color]" /> 
  <Leaf [color=#000087]text[/color]="[color=blue]bilder/1/ztourist.jpg[/color]" [color=#000087]url[/color]="[color=blue]bilder/1/ztourist.jpg[/color]" [color=#000087]width[/color]="[color=blue]300[/color]" [color=#000087]height[/color]="[color=blue]500[/color]" /> 
  </Branch>
- <Branch name="[color=blue]2[/color]">
  <Leaf [color=#000087]text[/color]="[color=blue]bilder/2/ersie.jpg[/color]" [color=#000087]url[/color]="[color=blue]bilder/2/ersie.jpg[/color]" [color=#000087]width[/color]="[color=blue]300[/color]" [color=#000087]height[/color]="[color=blue]500[/color]" /> 
  <Leaf [color=#000087]text[/color]="[color=blue]bilder/2/map.jpg[/color]" [color=#000087]url[/color]="[color=blue]bilder/2/map.jpg[/color]" [color=#000087]width[/color]="[color=blue]300[/color]" [color=#000087]height[/color]="[color=blue]500[/color]" /> 
  <Leaf [color=#000087]text[/color]="[color=blue]bilder/2/minime.jpg[/color]" [color=#000087]url[/color]="[color=blue]bilder/2/minime.jpg[/color]" [color=#000087]width[/color]="[color=blue]300[/color]" [color=#000087]height[/color]="[color=blue]500[/color]" /> 
  <Leaf [color=#000087]text[/color]="[color=blue]bilder/2/tourist.jpg[/color]" [color=#000087]url[/color]="[color=blue]bilder/2/tourist.jpg[/color]" [color=#000087]width[/color]="[color=blue]300[/color]" [color=#000087]height[/color]="[color=blue]500[/color]" /> 
  </Branch>
- <Branch name="[color=blue]3[/color]">
  <Leaf [color=#000087]text[/color]="[color=blue]bilder/3/ersie.jpg[/color]" [color=#000087]url[/color]="[color=blue]bilder/3/ersie.jpg[/color]" [color=#000087]width[/color]="[color=blue]300[/color]" [color=#000087]height[/color]="[color=blue]500[/color]" /> 
  <Leaf [color=#000087]text[/color]="[color=blue]bilder/3/gbook.jpg[/color]" [color=#000087]url[/color]="[color=blue]bilder/3/gbook.jpg[/color]" [color=#000087]width[/color]="[color=blue]100[/color]" [color=#000087]height[/color]="[color=blue]19[/color]" /> 
  <Leaf [color=#000087]text[/color]="[color=blue]bilder/3/map.jpg[/color]" [color=#000087]url[/color]="[color=blue]bilder/3/map.jpg[/color]" [color=#000087]width[/color]="[color=blue]300[/color]" [color=#000087]height[/color]="[color=blue]500[/color]" /> 
  <Leaf [color=#000087]text[/color]="[color=blue]bilder/3/minime.jpg[/color]" [color=#000087]url[/color]="[color=blue]bilder/3/minime.jpg[/color]" [color=#000087]width[/color]="[color=blue]300[/color]" [color=#000087]height[/color]="[color=blue]500[/color]" /> 
  </Branch>
  </images>[/font]

[/indent][font=verdana, arial, helvetica][size=2]

this my main-as

[/size][/font][indent][font=verdana,arial,helvetica][size=1]code:[/size][/font]



 
//include tween extension
#include "lmc_tween.as"
//
_global.SITE = "[http://archiv/sites/flash/](http://archiv/sites/flash/)";
var data_xml = new XML();
data_xml.ignoreWhite = true;
data_xml.onLoad = function(success) {
if (success) {
trace("done loading");
makeArray(this);
slider(Menu_array);
} else {
trace("error");
}
};
function makeArray(_xml) {
if (!_global.pic_array) {
_global.pic_array = new Array();
}
this._xml = _xml;
var rootNode = _xml.firstChild;
//bilderchanger
var theNode = rootNode.childNodes;
var len = theNode.length;
var theSubNode = rootNode.firstChild.childNodes;
//array für bilderchanger
_global.Menu_array = new Array(len);
_global.Active_array = new Array(len);
//array für jedes unterbild
for (i=0; i<Menu_array.length; i++) {
var sublen = theNode*.childNodes.length;
Menu_array* = new Array(sublen);
//array für die daten jedes bildes
for (j=0; j<Menu_array*.length; j++) {
Menu_array*[j] = new Array(3);
}
}
//fertiges array durcharbeiten
// anzahl der bilderchanger
var tmp_xpos = "0";
for (i=0; i<=Menu_array.length; i++) {
//erzeuge unterbilder
for (j=0; j<theNode*.childNodes.length; j++) {
var cur = _level0.attachMovie("square", "sq"+i+"_"+j+"_mc", _level0.getNextHighestDepth(), {_y:ypos+50*j});
loadMovie(String(SITE+theNode*.childNodes[j].attributes.url), cur);
//pos and scale
var cur_xpos = tmp_xpos;
cur._x = cur_xpos;
//erste bild zeigen rest nicht ;
if (j == 1) {
	 //cur._alpha = "100";
	 Active_array* = cur;
	 } else {
	 //cur._alpha = "0";
	 }
//menu array erstellen
Menu_array*[j]['path'] = String(SITE+theNode*.childNodes[j].attributes.url);
Menu_array*[j]['mcname'] = cur;
Menu_array*[j]['xscale'] = String(theNode*.childNodes[j].attributes.width);
}
tmp_xpos = Number(tmp_xpos)+Number(spacer)+Number(Menu_array*[0]['xscale']);
//trace(Number(tmp_xpos) + Number(spacer) + Number(Menu_array*[0]['xscale']));
}
}
function callback() {
trace("callback_tween_out");
}
function acallback() {
trace("callback_tween_in");
}
function slider(array) {
//random picture group
changer_num_1 = random(array.length);
//fadeout old picture
fade_out_mc = Active_array[changer_num_1];
trace("fadeout-->"+fade_out_mc);
fade_out_mc.tween("_alpha", 0, 4, "linear", 0, callback);
//set the active pic of a pic group and show it
tween_in_mc = array[changer_num_1][random(array[changer_num_1].length)]['mcname'];
//set the new active array of a group
Active_array[changer_num_1] = tween_in_mc;
//fadein the new picture
trace("fadein-->"+tween_in_mc);
tween_in_mc.tween("_alpha", 100, 4, "linear", 1, acallback);
}
// alle 2000 ms einen bildwechsels durchführen
setInterval(function () {
slider(Menu_array);
}, 10000);
//
data_xml.load(SITE+"directory.php");
 

[/indent][font=verdana, arial, helvetica][size=2]

Homepage and main discussion thread of this tween extension [color=#800080]http://proto.layer51.com/d.aspx?f=1142[/color]

want i would like to do ?
the picture of the xml should be shown in group.(in this case 3).
in each group are x subpictures

if the user loads the script, the three group should be shown with one picture (active), after some seconds one of the group change the subpicture by using the “alpha_to” prototype.

the problem is that i can see 3 pictures but nothing happens (no change)

thx[/size][/font]