Who know how to make a Whack a mole game with AS3

Hi

I’m having a problem with AS3. I’m very new with programming and it’s difficult for me to understand what to do. This is my school assignment.

Like this, I’m doing a game like whack a mole but I’ll do it as easy as I can. I’ll use only mouse to click on the object, then get 1 point. And I want the object/figure show up by random and then disappear like whack a mole.

I could make it shows up and then disappear but my problem is I can’t stop it and I don’t know what function I should use for counting point when I click on the object.

I have searched tutorials on internet but I can’t find any.

As I siad I’m very new with AS3 and programming. Who can give me some advice or tell me how to do?

Thank you