Source
bool hitTest(num localX, num localY) { if (this.bounds.contains(localX, localY)) { var commands = _getCommands(true); var context = new _GraphicsContextHitTest(localX, localY); _updateContext(context, commands); return context.hit; } else { return false; } }