aPath = new Array();
gameName
= new Array();
gameROM = new Array();
gameController = new Array();
gameSubtitle = new Array();
gameROM = this.firstChild.childNodes;
game_total = gameROM.length;
for (var i = 0; i<game_total; i++) {
// Loop through the list and populate the
arrays
aPath.push(gameROM[i].attributes.path);
gameName.push(gameROM[i].attributes.title); gameSubtitle.push(gameROM[i].attributes.Subtitle);
gameController.push(gameROM[i].attributes.controller);
}
// Set the total_games variable to control end-of-list
looping
total_games=i;
// Load the first image
container.loadMovie(gameROM[2].attributes.picture);
container._x
= 50; container._y = 250 ;
}