How to trigger a function
In stage Number of MovieClips is there.
and MovieClips inside some functions is there .
iam giveing dynamic property to MovieClips same as function name.
because iam click the MovieClip call the function.
mc.functionName="dosome()"
mc.addEventListener(MouseEvent.CLICK,call_inside_function)
function callinsidefunction(event:MouseEvent){
/// event.target.functionName
}
/// mc inside function
function dosome(){
trace("hi")
}
// end of mc inside function