Is there a way to print the contents of a richtextbox? I have tried the following but it does not work:
var tempstr:String = "<b>Hello World</b>";
tb_print.textFlow = TextConverter.importToFlow(tempstr, TextConverter.TEXT_FIELD_HTML_FORMAT);
var printJob:FlexPrintJob = new FlexPrintJob();
if (printJob.start() != true)
return;
printJob.addObject(tb_print, FlexPrintJobScaleType.NONE);
printJob.send();
The rich text box is defined as follows:
<s:RichText id="tb_print" x="21" y="305" width="757" height="345" />
North America
Europe, Middle East and Africa
Asia Pacific