hi,
i have a doubt on inheritence in Component, i have two variables in comp. ie mc_array and tar_array, which i want to inherite. Pls. see down code
#initclip
dragClass=function(){
this.update()
}
dragClass.prototype=new MovieClip()
dragClass.prototype.update=function(){
for(i=0;i<this.mc_array.length;i++){
movie=targetPath(eval(this.mc_array*))
eval(movie).eval(movie).onPress=function(){
startDrag(eval(movie),true)
}
eval(movie).onRelease=function(){
stopDrag()
// here i want to get the tar_array. How i can?????
}
}
dragClass.prototype.getTarget=function(){
return this.tar_array
}
Object.registerClass("FDrag",dragClass)
#endinitclip
Thanks
Ajo.