i need help with a prototype that calls another prototype… hope u get it
MovieClip.prototype.tracing = function() {
trace(this._name+"\
\ hello, how are u doing?");
};
MovieClip.prototype.calling = function(proto) {
this.proto();
};
is that ok?
if it is… how should i call the function “calling”?
1.- this.calling(tracing)
2.- this.calling(MovieClip.prototype.tracing)
none of that works
(dont worry if u think this is nonsense, im working with bigger prototypes, this was simplified to show my problem and nothing else)