AS3 Change to hit-test

Hi,
I’ve followed this tutorial on the internet
and everthing works fine
but I’d like to use hit-tests instead of the intersect-code

I’d really appreciate if someone could help me change the code so it works just the same with hit-tests.

It is really important for my grade in school…The problem with this code is that I dont fully understand it.so hittests would be a better way.

Also intersects works only with rectangles and I also want to use other shapes…

I’ve tried so many different ways but I dont get the same result.

I attached my .fla and .as-files

Thanks in advance!