COM object creation

Hello, can anybody tell me about the external object creation like COM object through FLASH MX 2004, please reply ASAP its kinda urgent.