Can someone tell me how to get this workin?
MovieClip.prototype.allButtons = function(dept) {
for (var all in this) {
if (this[all] instanceof Button) {
pass = this[all].getDepth();
if (this[all].getDepth() > dept) {
this[all].moveIt();
}
}
}
};
MovieClip.prototype.moveIt = function() {
onEnterFrame = function () {
this._y += ((posArr[dept] + 100) - this._y) * 0.2;
};
};
I’m sure the moveIte prototype will never be triggered :s can someone tell me what I’m doin wrong?
thx a lot
regards flax