Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loadvars problem

Status
Not open for further replies.

mancroft

Programmer
Oct 26, 2002
267
GB
loadvars problem

Hello

I haven't had this problem before. Am using Flash 8 AS2.

Code:
    loginbutton.onPress = function(){

    var myLoadVars:LoadVars = new LoadVars();

    myLoadVars.thecartlogin = theloginvar;
    
    trace(myLoadVars.thecartlogin);

    etcetera

theloginvar is the var name of an input text entry box.

If I type sss into the text box, trace(myLoadVars.thecartlogin); shows:

<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="11" COLOR="#003399" LETTERSPACING="0" KERNING="0">sss</FONT></P></TEXTFORMAT>

How do I get rid of the garbage and just leave sss?

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top