hi, i’m a little bit stumped here, appreciate it if someone could help
the story:
i want to build this xml-based menu. up until animating the menu is fine, basically
- took the menu data from xml, put them into array,
- attach a template mc, duplicate & rename accordingly.
init = function(){
menuArr = ["a", "b", "c", "d"];
var len = menuArr.length;
this.attachMovie("tmpl", "menu", 1, {_x: 20, _y: 100});
for(i=0; i <len; i++){
menus = menu.duplicateMovieClip(menuArr*, (menu.getDepth()+i)*2);
trace(menus); // output: _level0.a, _level0.b, _level0.c, etc
}
}
init();
no problem there. the problem lies in animating those mcs so that they slide in as menu starts… like in the attchment.
so, what’s the logic… i mean, do i put the mc coord in separate array/multidimensional array and go from there,
or
i dunno…
any help is great, guys, thx :hr: