you should be parsing the xml to display to users, not displaying the raw xml in a textfield.
thank you, kglad. Can you show me an example of the right way? I don't quite understand what you mean by parsing the xml to display to users? Does it always need to go through a dynamic text field?
1 person found this helpful
no, there are a number of ways to present the loaded datat including in textfields, datagrids, comboboxes etc. but i've never seen the raw xml displayed in a textfield.
i can feature that being helpful during development if you can't use a trace function, but otherwise can't envision any other time that would be beneficial.
how you display the data and what you display is a design decision.
paste a sample of the raw xml here and explain what you want to display to the user.
I'm using the XML games here: Search Results
I have question text similar to this inside question tag:
You are quoting a homeownerӳ policy in Texas. The Customer has disclosed the following information:
- Built 1960
- Heat- Electric- Installed in 1991
- Roof- Asphalt shingles- Installed in 2005
- Plumbing- Copper- Original- Good condition
- Electrical- Circuit breakers- Copper wires- Partial replacement 1998
Based on this, ...
Each new line has a big space between lines that it spans too long vertically. I'd like to control it so bullet points has no space between them.
so you probably just need to strip blank lines:
var sep:String = '*$%';
sep += '%*&'
Thank you again for the script. I later found if the text is in TLF text, then there is no extra blank lines between text lines. For now, it solves my problem even though I have to stay with Flash CS6.