Got this code whereby you drag Mc1-3 to a mouth_mc and the target_mc grows - then mc1 (or whatever) dissapears. That’s the idea anyway…
stop()
myArray = ["mc1", "mc2", "mc3"];
finalArray = new Array();
for(a=1; a<=myArray.length; ++a){
movieToAttach = myArray[a-1]
finalArray.push(this.attachMovie(movieToAttach, movieToAttach, a*10));
this[movieToAttach]._x = a*100
this[movieToAttach]._y = 100
}
code attached to actions mc
onClipEvent(enterFrame) {
for(x=0;x<finalArray.length;x++){
var cmc = finalArray[x];
if (_root.target.hitTest(cmc)) {
if (_root.target._xscale < 150) {
_root.target._xscale += 5
_root.target._yscale += 5
_root.mc1.removeMovieClip()
}
} else {
_root.isTarget(this)
}
}
}
Any idea how I can make this work?
Any help would be much appreciated! :look:
Yossarian