I've got a field on flash that's set by results of a web service...
I'm setting .htmlText and some of the code works, some doesn't...
I tried CSS as above, I tried using plain html for both the alignment and color.. and I tried a div instead of a span for centering.
None of it works... But the line breaks and the bold for the last line work fine.
I have the field set to allow html and I've tried setting the field's alignment (in the property inspector) to left and to center.
And lastly, I tried not quoting the attributes in the tags..
It doesn't work.
I'm setting .htmlText and some of the code works, some doesn't...
Code:
coverify.htmlText = "<span style=\"text-align: center\">" + "Verify online at:<br>" + "<span style=\"color: blue\">" + _global.DData.CVER + "</span>" + "<br><b>" + _global.DData.CNAME + "</b>" + "</span>"
I tried CSS as above, I tried using plain html for both the alignment and color.. and I tried a div instead of a span for centering.
None of it works... But the line breaks and the bold for the last line work fine.
I have the field set to allow html and I've tried setting the field's alignment (in the property inspector) to left and to center.
And lastly, I tried not quoting the attributes in the tags..
It doesn't work.