i've used an xml file to load coordinats for the movieclip plattform.
duplicateMovieClip(_root.plattform, "plattform"+i, i);
_root["plattform"+i]._x = xaxel;
_root["plattform"+i]._y = yaxel;
My problem is that i cant find a way to check if my other moviclips is in line with the movieclip plattform.
tried the following for-loop:
for (r=0; r<=antalblock; r++){
if (this.hitTest( _root."plattform"+r)){
_root.test="hit";
}
else{ _root.test="miss";}
thought it might have something to do with the z_index . HELP!!!
duplicateMovieClip(_root.plattform, "plattform"+i, i);
_root["plattform"+i]._x = xaxel;
_root["plattform"+i]._y = yaxel;
My problem is that i cant find a way to check if my other moviclips is in line with the movieclip plattform.
tried the following for-loop:
for (r=0; r<=antalblock; r++){
if (this.hitTest( _root."plattform"+r)){
_root.test="hit";
}
else{ _root.test="miss";}
thought it might have something to do with the z_index . HELP!!!