question to know the event in which image?

stack's Avatar
Light Poster
hi,
i have a question:ex: if i have 4 images (image1, image2, image3, image4) and i want message1 appear if i click in image1, message2 appear if i click in image2, message3 appear if i click in image3, and message4 appear if i click in image4

how can I know if the mouse event in image1 or 2 or 3 or 4 without using the position of these images in the board?

i want a method to tell me the event in which image...
0
stack's Avatar
Light Poster