I have three symbols.
First is a Shield MovieClip, where in the first frame I have placed a stop(); Action and the second frame is where the animation starts..
Second is a Ship and third is a PowerUp.
Inside the Ship symbol, I placed the Shield MovieClip. I wanted to create a hitTest when the Ship hits the PowerUp, the Shield MovieClip inside of the Ship will start playing.
This is my code that doesn't work:
Any help or suggestions is much appreciated!
To use that type of test you need to continually execute it, otherwise it just checks the first time the code is encountered an not again. Look into using something like... though it is not clear how/where you have that code implemented, so it might have to change slightly from what is shown.
this.onEnterFrame = testForHit;