Adding an onPress function

I’m trying to add an onPress function to something that I’ve just dynamically attached to the stage.

item.attachMovie("close_btn", close_btn, this.getNextHighestDepth());

thanks for any help!