I dont even see anything that has to do with scrolling/scrollBar?? am I missing something?
here is attaching them both inside another clip:
Code:
createTxt = function(){
this.createEmptyMovieClip("textContainer", this.getNextHighestDepth());
for(var i=0; i<arr.length; i++){
mc = textContainer.attachMovie("item", "item_"+i, depth++);
mc.item_txt.text = arr[i];
mc.item_txt.setTextFormat(txt_fmt);
mc._x = xOffset;
mc._y = yOffset;
mc.autoSize = true;
mc._visible = false;
yOffset = yOffset + mc._height;
}
yOffset = 60;
for(var i=0; i<ww_arr.length; i++){
mc = textContainer.attachMovie("item", "sec_item_"+i, depth++);
mc.item_txt.text = ww_arr[i];
mc.item_txt.setTextFormat(txt_fmt);
mc._x = xOffset + 100;
mc._y = yOffset;
mc.autoSize = true;
mc._visible = false;
yOffset = yOffset + mc._height;
}
}