I need to be able to tell if a certain movieclip named sqr0, instance of mc square, is touching any other instance of square on the stage, preferably with hitTest.
Thanks,
ap
Printable View
I need to be able to tell if a certain movieclip named sqr0, instance of mc square, is touching any other instance of square on the stage, preferably with hitTest.
Thanks,
ap
look like this
for(n in _root){
if(_root[n]._name != "sqr0" and _root[n]._name !="" ){
if(sqr0.hitTest(_root[n])){
trace("touch "+_root[n]._name);
}
}
}
dude you posted this before, an i answered http://www.flashkit.com/board/showth...73#post3500473