Hi guys,
This is my first time emailing this list so apologies if I make mistakes
in terms of etiquette.
My problem seems simple but I must be missing something:
I have inherited some code, quite a large MVC based project. There's one
place where a dialog is constructed to display some html formatted text
which is being pulled from a soap web service. It's Terms & Conditions
text so it's a fair amount of text.
The problem is that there's a large chunk of text missing from the start
of the t&c and a large chunk from the end (paragraphs worth of text, not
just a word or two).
Could anybody hint at what kind of things might cause flash 8 to do that?
My feeling is that flash is choking on some characters but it's not
evident to me which characters could be causing that.
Cheers,
John
P.S.:
Here are some properties of the problem and things I've checked:
- Using condenseWhite fixes it the problem (but introduces formatting
issues and I'd really like to understand why it's not working properly)
- The html formatting is sent as html entities in the xml, not in a
CDATA block e.g.
<h2>§ 1 General Information</h2>
<p> ...
- But, as expected the WebService class returns proper html. e.g.
<h2>§ 1 General Information</h2>
<p> ...
- The space, which the text would take up, is there i.e. there's a large
blank at the start and end of the text.
- All the text is definitely being retrieved, (I've traced it and it's
definitely all there)
- In terms of content it doesn't matter if the text is assigned to the
.text or .htmlText property of the field, there is still text missing
from the start and end
- Confusingly, less is missing when the HTML is assigned to the
.text property but there is still text missing (and of course one can
see all the tags)
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders