Flash htmlText with tabstops. Help please!

  • Frandelsan
  • Born
  • Born
  • Frandelsan
  • Posts: 3

Post 3+ Months Ago

I have an html text field in a flash movie that has a <textformat> with tabstops in it. I am getting newlines in entries that could easily fit in the space I have defined for the tabs. Has anyone encountered this before?

Code: [ Select ]
mainlist.html = true;
mainlist.htmlText = "<textformat tabstops='[300,400]'>";
mainlist.htmlText += "Name/\tStarts\tEnds\nType\n\n";
mainlist.htmlText += listingtitle+"\t"+startdate+"\t"+enddate+"\n"+listingtype+"\n\n";
  2. mainlist.html = true;
  3. mainlist.htmlText = "<textformat tabstops='[300,400]'>";
  4. mainlist.htmlText += "Name/\tStarts\tEnds\nType\n\n";
  5. mainlist.htmlText += listingtitle+"\t"+startdate+"\t"+enddate+"\n"+listingtype+"\n\n";

This should give me 3 colums and 1 column on the next line, no? I am getting line breaks in the first column (listingtitle) on entries that are too long. The actual column should be able to fit all the text as there's plenty of room. What am I missing?

Thanks to anyone who answers.

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 3 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.