QUOTE
Is this possible in any way?
Yes, but it will be time consuming.
Minimal requirements (to make it good):
Flash (As2 or 3, doesn't matter)
PHP (or any other server side language)
Database (be it MySQL or otherwise)
Idea for sending messages:
You have the swf displayed on pages. It will need to know what member it is being displayed on at the time, as well as the member who is viewing the page (this will be done through HTML and sending Flash a variable upon loading) (this should be 2 different people, but may be the same in some cases)
People type in text
They click submit
Flash connects to PHP and sends the data (Person id who typed the message, person id who will recieve the message, and message)
PHP places it in the database
Idea for viewing messages:
When the user views the page which they can view the stuff from they type in their login information (into flash)
Flash sends it to PHP
PHP checks if it is valid (against the members database/table)
If it is PHP goes to the other database/ table and gets all messages to that user
PHP sends the messages back to flash
Flash displays the messages in some fashion.
Hopefully that makes sense.