[AS 2.0 MX 2004 PRO] How do I fix the expected a field name after "." operator

here is the code that I have a problem with:

ln 52 var my_so:SharedObject = SharedObject.getLocal(“savedText”, “/”);
ln 53 fn_txt.text = my_so.data.fn_txt;
ln 54 if(fn_txt.text == undefined){
ln 55 fn_txt.text = “”;
ln 56 }
ln 57 fn_txt.onKillFocus = function(null){
ln 58 my_so.data.fn_txt = fn_txt.text;
ln 59 }

The error that appears is:
Error Symbol=slide2, layer=script, frame=1:Line 54: Expected a field name after ‘.’ operator.
if (fn_txt.text == undefined) {

Any ideas? I appreciate any assistance that can be given!