I have a array of categories, for e.g.
var categoryArray = new Array(‘value1’, ‘value2’, ‘value3’);
I would like to loop and create new arrays from each of the values in the categoryArray
I tried…
for(var i=0;i<=categoryArray.length-1;i++){
this[categoryArray*] = new Array();
}
value1[0] = “dsfsdf”;
trace(value1[0]);
It doesn’t seem to work. I am quite new to AS3, so please bear with me.
p.s. I’ve tried google, without much help
Thanks!