How To Make SWF file for Chatroom

I have a chat room, I want make “.swf” file of this format , anyone tell me how to make swf file for emmotions…