Penso di aver risolto...
penso che il problema fosse il fatto che stessi utilizzando l' htmlText e poi settando il defaultTextFormat anzichè uno stylesheet.
di fatto il problema si risolveva anche così:
resomi conto che stavo di fatto usando htmlText per un buon motivo, ho aggiunto poi il supporto per lo stileCodice PHP:bodyField.htmlText = (xml != null && xml.description != null) ? String(xml.description): ""
bodyField.defaultTextFormat = bodyFormat;
e infine... al banale e immediatoCodice PHP:bodyField.styleSheet = null; //Necessario per non generare la runtime exception nella riga successiva
bodyField.defaultTextFormat = bodyFormat;
bodyField.styleSheet = defaultStyleSheet;
bodyField.htmlText = (xml != null && xml.description != null) ? String(xml.description): ""
...dev'essere stato il caldo... mea culpaCodice PHP:bodyField.styleSheet = defaultStyleSheet;
bodyField.htmlText = (xml != null && xml.description != null) ? String(xml.description): "";
Grazie a tutti, e speriamo sia stato utile a qualcuno![]()
![]()


Rispondi quotando