hitTest() problem geting me irretated

[CENTER][FONT=Tahoma][SIZE=6]HitTest(:m:)[/SIZE][/FONT][/CENTER]
[LEFT][FONT=Tahoma][/FONT]
[FONT=Tahoma][COLOR=black]My code don’t wont to work!!![/COLOR][/FONT]
[FONT=Tahoma]Heres the code:[/FONT]
[FONT=Tahoma](putted it into a movieClip called “rectangle”)[/FONT]
[FONT=Tahoma][/FONT]
[FONT=Tahoma][/FONT]

onClipEvent(enterFrame){
     if(this.hitTest(_parent.bomb)){
          _alpha=100;
     }
}

thanks
Albert:beer: [/LEFT]

[CENTER][FONT=Tahoma][SIZE=6][/SIZE][/FONT][/CENTER]

[FONT=Tahoma][COLOR=black]My code don’t wont to work!!![/COLOR][/FONT][LEFT][FONT=Tahoma]Heres the code:[/FONT]
[FONT=Tahoma](putted it into a movieClip called “rectangle”)[/FONT]

onClipEvent(enterFrame){
     if(this.hitTest(_parent.bomb)){
          _alpha=100;
     }
}

I’m notreally 100% sure, but you might want to change “_alpha = 100” to “this._alpha = 100”, and / or make sure the “_parent” is the right path. try _root… or something
[/LEFT]

you don’t need to change _alpha=100 since _alpha is in the scope of the object, so pretty much maybe you could post a .fla so i can check if _parent.bomb is the right path