Help with flash chat

how do i make a small flash chating program that connects the two usersthat have it. or even somthing like a shoutbox or guest book will do…