give the text field a var of textfield and then in the same level as that you can reference it with textfield and say like
code:
this.onEnterFrame = function() {
textfield = random(100);
};
also if you want to put the actions on a higher level that the text field you can reference it like this make the instance name of the mc buttonmc and then on the same level as the mc you could say
code:
this.onEnterFrame = function() {
buttonmc.textfield = random(100);
};
![]()




Reply With Quote