This content has been marked as final. Show 5 replies
copy and paste the code that caused undefined to appear in your output panel.
var userName:String = "fred";
post a link to your fla that contains that code.
kglad, i think i have identified the problem.
at first i unknowingly opened up a new document from template (Advertising), which appears to be just a blank doc sized to certain dimensions. the code does NOT work.
but when i open a new plain flash document, the code that i posted works fine.
i'm not sure what specifically about the advertising templates makes good code not work. but now i know not to ever use them.
thanks for your replies. appreciate it.
you're welcome. (and merry christmas!)