Drawing bounding box to a movieClip

I need to draw bounding box surrounding a movieClip with arbitrary registration point with AS3. The movieClip may be of any shape and can have it’s registration point anywhere.

I don’t know if there is any inbuilt method in AS3 for that. Please help me out.

Thank you in advance :slight_smile: