View Single Post
greebzilla greebzilla is offline 2009-06-28 #3 Old  
is this version/actionscript version dependent?

if I trace myTextField.text, it returns undefined
if I trace myTextField, it returns the entry (plus all the HTML formatting)

the .text part does have a blue color so it does appear to be a reserved word.

var v4:String = "Complaint/history: " + chart_comp_hist.text;
trace(chart_comp_hist.text);
trace(chart_comp_hist);

I input 1234 in the box, and from the trace output:

undefined
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">1234</FONT></P></TEXTFORMAT>
Reply With Quote