# Onclick

**URL:** <https://forum.kirupa.com/t/onclick/310837>\
**Category:** Uncategorized\
**Created:** [June 21, 2010, 2:38am UTC](https://forum.kirupa.com/t/onclick/310837 "2010-06-21T02:38:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![punk123123123](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@punk123123123](https://forum.kirupa.com/u/punk123123123)\
**Post date:** [June 21, 2010, 2:38am UTC](https://forum.kirupa.com/t/onclick/310837/1 "2010-06-21T02:38:45Z")

</div>

how do you apply onclick events for an image of either JPG or PNG format pictures in actionscript 3

within one symbol name cookie, i double click it and went into the next layer.  
Then i insert 4 frames and each frame contain different pictures.  
So now i need to apply onclick events to click on it for it to score and lose points.  
first 2 pictures is scoring points pictures while the next 2 is losing points pictures.

so how do i do it??  
i have no idea and i need help.  
or is there another simpler way to do it?  
as in follow a example online, they insert pictures within frames and run it then each time i click on it it score points…

I need an example …as i am very weak in codings…Please show me an example…  
Thank you very much
