Alright, should be easy, maybe I've been looking at it too long. I'm letting the user place a certain number of "flags" on an image (content_mc). I'm creating them with:
function newFlag(){
if(flagNum<flagTotal){
flagNum++; //this keeps track of the number of "flags" that are placed
var newFlag:flag = new flag();
contentPH_mc.addChild(newFlag);
}
}
Now, I need to be able to let the user remove a flag by clicking on it, and, when they're done, I need to test each of the flags to see if they're over another clip (target_mc) on the screen, but I'm not sure how to reference the flags...
Thanks...




Reply With Quote