Hi,

I made a custom component and I am populating an hbox with custom component
using actionscript.

so if 'coptions' is the custom component.. i am doing this

for (var i:int=0;i<10;i++){
var temp:coptions = new coptions();
hbox.addChild(temp);
}


now i can view the custom components within the hbox. but i have a public
function named 'visState' within the custom component "coption".

i want to call them through a button. How do i call them?

i tried calling like this ... hbox.getItemAt(2).visState();

but it didnt work.. i tried many other options... but none worked.. any clue
what should i be doing.. ?

also any insights on how to make global eventdispatchers..?

regards,
Varun

Reply via email to