Wow... A simple google search for "Chat Application Flex" resulted in about 1.43 million results.
Results[
^]
The very first link leads to a tutorial using FlexBuilder 3. You will need to learn how to use google if you want to become a developer.
Tutorial[
^]