Skip navigation
zotick
Currently Being Moderated

Spark TextField

Nov 24, 2012 1:54 PM

So in a regular mx TextField i can use it so output an array like so

 

textFieldName.htmlText += Array[i].name + "\n"

 

how can i do this with a spark textfield?

 

I tried doing this but it doesn't work

 

chatTxt2.textFlow += spark.utils.TextFlowUtil.importFromString("Test");

 
Replies
  • Currently Being Moderated
    Nov 30, 2012 3:05 AM   in reply to zotick

    txt.textDisplay.insertText("text1");

    txt.textDisplay.insertText("text2");

     

    this output like text1text2

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points