PDA

View Full Version : cannot add scrollpane to my movie clip


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....

CyanBlue
10-19-2004, 11:48 PM
Howdy and Welcome... :)

Do you know if that movieClip, menu_obj, is physically residing in frame 7???

amvian
10-20-2004, 12:07 AM
how to check menu_obj is physically residing in frame 7???
I am a new to flash I have no idea how to do it.

CyanBlue
10-20-2004, 12:14 AM
Do you have that menu_obj on the timeline where it says frame 7??? That's what I meant by 'physically'...

amvian
10-20-2004, 12:57 AM
I have menu_obj on the timeline where it says frame 7.
and my scrollpane still didn't show anything.

I attach files in zip.

Thank you very much for your help.