I have a dynamic text field in a movie clip called "connect"

I want 1 of 4 possible text messages to appear in that dynamic field I called "connectTxt", based on a response from a database.....

if I get just one to dynamically appear, thats great...

they are...
1) waiting
2) connecting...
3) Connection failed
4) Connected

having problems coding this...can someone help me out...?


Im using Flash 8 by the way...

Thanks so much...