- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
var muNumb:Number = 0;
for (var myAttribute in _root.levelsTexts[_root.gameWeek].childNodes[_root.weekDay].childNodes[0].attributes) {
if (myAttribute.substr(0, 7) == "product") {
myArr[muNumb] = _root.levelsTexts[_root.gameWeek][_root.weekDay].childNodes[0].attributes[myAttribute]);
//<...>
muNumb = muNumb + 1;
}
}