Collision detection is achieved with the hitTest method...
However, the hitTest only test for the graphics bounding box so irregular shapes other than a square will create some problems. For a game with multiple enemies, it would prob be best to store the enemies in an array and use a for loop to hitTest...
Now you can employ a hitTest against a hero movieclip with something like...
As for collecting objects, you would prob use a hitTest with a custom function for either fading the alpha or toggleing the visible property of a movieclip...
Alpha fade function...
Another option is simply to toggle the coin mc's visible property...
hope it helps
A mind once stretched by a new idea never regains its original dimensions.
- Oliver Wendell Holmes