A few assumptions on how you have things set up...
Originally Posted by Maupa
I assume all of this code is on the main timeline.
Then on the stage in frame 1, you have houses_mc.
Inside houses_mc you have other MovieClips (I'll assume underground_mc) you want to turn into buttons.
When you use "this" in your code, you are refering to the main timeline, not child objects... so if you want to add an event listener to your underground_mc you will need to "dig" into the houses_mc object. aka
You will also probably want to do a few "basic" things usually done for turning MovieClips into buttons...
// NOTE: You do not need "this." at the beginning
You also may run into a further issue so at the beginning of your code, you may want to put...
houses_mc.underground_mc.buttonMode = true; // This makes the mouse cursor turn into the pointer finger on MouseEvent.MOUSE_OVER
houses_mc.underground_mc.mouseEnabled = true; // This should default to true, but always good to make sure
This code allows children of this object to recieve their own events independent of the parent. (aka, if this is false, because "underground_mc" is technically "part" of "houses_mc", when you mouse over "underground_mc", you will not get a seperate event from "houses_mc".
houses_mc.mouseChildren = true;