Hello, I've got a problem that I know there must be a simple answer to--something basic I'm overlooking...
WHAT I'M DOING:
I'm dynamically loading images from a JSON feed into individual movie clips and then adding the clips to the stage(both by addChild)--basically creating thumb tiles.
I've added a click handler to do something when the MC is clicked.
WHAT'S MY PROBLEM:
The problem I have is that the MC is clickable, but the content is not.
For instance, the clip has a white box in it, and the loaded image is made slightly smaller and centered to give a white border around the pic.
An empty clip loaded to the stage works fine, and the white border around the image is clickable, but the image is not.
Thanks in advance!
You are looking for the mouseEnabled property.
So, for instance, where image is the instance name of the image on the border:
image.mouseEnabled = false;