amvian
10-19-2004, 11:08 PM
In my frame #4 I have action to attach dynamic creat button (menu_item) to my movie clip(menu_obj)
function buildList()
{
var item_spacing = 30;
var startcolumn=client_count/2;
var tmp=0;
for(var j=0; j < client_count;j++)
{
var item_mc=menu_obj.attachMovie("menu_item","item"+j,j);
item_mc._y=j*item_spacing;
item_mc.species_txt.text=clientValue[j].getName(); }
item_mc.main_btn.onfiltered = DisplayInfo(random(client_count));
}
In my frame # 7 , I try to put scrollpane component
and assign scroll content to my movie clip
scroll content=menu_obj;
Why I still cannot see scroll pane.
Anyone help please!!!
Thanks....
function buildList()
{
var item_spacing = 30;
var startcolumn=client_count/2;
var tmp=0;
for(var j=0; j < client_count;j++)
{
var item_mc=menu_obj.attachMovie("menu_item","item"+j,j);
item_mc._y=j*item_spacing;
item_mc.species_txt.text=clientValue[j].getName(); }
item_mc.main_btn.onfiltered = DisplayInfo(random(client_count));
}
In my frame # 7 , I try to put scrollpane component
and assign scroll content to my movie clip
scroll content=menu_obj;
Why I still cannot see scroll pane.
Anyone help please!!!
Thanks....