Hi,
I have a MC in which there is a function:
//---------------------------------------------
_global.testing = function(num:Number){
trace("Display num: " + num);
}
a.text = num; // one blank dynamic text field named “a”
//---------------------------------------------
On the scene:(main timeline 1st frame) following script is their…
var i=0;
var x = 35;
var y = 150;
while(i<2){
this.attachMovie(“mc”, “mc”+i, i)
this[“mc”+i]._x = x;
this[“mc”+i]._y = y
testing(i); // this is not working
this[“mc”+i].testing(i) //even this is not working…
i++;
x+=300;
}
//-----------------------------
text field displays bank … and function is also not getting called…
Why I am not able to call a function inspite its being initialized as _global from the main timeline…
aShIsH