How to add a method to a movie clip(H5)
I'll use arrays.
Like what:
var sz=[this.mc0,this.mc1]
Array.prototype.myUcase=function(){
xs=0.1
for (i=0;i<this.length;i++){
this[i].x=100
}
}
sz.myUcase()
But I don't know
How
Add a method to a movie clip
lib.prototype.myUcase=function(){
this.x=100
}
this.mc1.myUcase()
This operation fails.
It bothers me.
