Im making a guestbook and I need to know how to declare a myText.onChanged = function. I have coded this but it doesnt seem to care about the function


loadVariables("readdb.asp",_root.myPane.myScrollPa ne.content_mc, "POST");
stop();
eval("messPaneMc"+recnum).userName.text=name;
eval("messPaneMc"+recnum).text=thecomment;
eval("messPaneMc"+recnum).userMessage.onChanged = function() {
trace("text change!"); //this never comes
eval("messPaneMc"+recnum).drawRect();
_root.myPane.myScrollPane.refreshPane();
play();
};

PLEAASE help meee out guys!!! Thanxs