Código :
onEnterFrame = function () {
for (i=0; i<num.length; i++) {
num[i].onPress = function() {
clip = this;//<<<< CLIP
_root.attachMovie("menu2", "menu2", a+1);
_root.menu2._x = _xmouse;
_root.menu2._y = _ymouse;
};
}
_root.menu2.crun.onPress = function() {
b++;
var monitos = _root.attachMovie("monito", "monito"+b, b);
trace(clip);
monitos._x = clip._x+b;
monitos._y = clip._y;
};
clip es el edificio en el que estoy
Gracias
