Skip to main content
March 24, 2010
Answered

How do I display my results in dynamic text.

  • March 24, 2010
  • 1 reply
  • 459 views

I need to show the results in my flash program. The results are working great in a trace. I get the text to show, but not the results from high1.lab, high2.lab and high3.lab.

status_txt.text = '\nAnd here are the top 3 from those categories:';
        "1. " + high1.lab;
        "2. " + high2.lab;
        "3. " + high3.lab;

This topic has been closed for replies.
Correct answer Ned Murphy

There are different ways to approach this, so here's a couple...

status_txt.text = '\nAnd here are the top 3 from those categories:\n1. "  + high1.lab +"\n2. " + high2.lab + "\n3. " + high3.lab;

or

status_txt.text = "\nAnd here are the top 3 from those categories:";
status_txt.appendText("\n1. " + high1.lab);
status_txt.appendText("\n2. " + high2.lab);
status_txt.appendText("\n3. " + high3.lab);

1 reply

Ned Murphy
Ned MurphyCorrect answer
Legend
March 24, 2010

There are different ways to approach this, so here's a couple...

status_txt.text = '\nAnd here are the top 3 from those categories:\n1. "  + high1.lab +"\n2. " + high2.lab + "\n3. " + high3.lab;

or

status_txt.text = "\nAnd here are the top 3 from those categories:";
status_txt.appendText("\n1. " + high1.lab);
status_txt.appendText("\n2. " + high2.lab);
status_txt.appendText("\n3. " + high3.lab);

March 24, 2010

Thank you..

Ned Murphy
Legend
March 24, 2010

You're welcome