The print is always has black background on the pager.
protected function print_clickHandler(event:MouseEvent):void
{
try{
var printUI:PrintUIOptions = new PrintUIOptions();
printUI.disablePageRange = true;
printjob.start2( printUI, false );
printjob.addPage( printContent, new 
Rectangle(0,0,printContent.width,printContent.height) );
printjob.send();
}catch(e:Error){
}
}




<s:Group includeIn="print" verticalCenter="0" horizontalCenter="0">
<s:BitmapImage y="-87" width="486" height="661" horizontalCenter="0"
  source="@Embed('assets/PrintPanelState/printBg.png')"/>
<s:RichText id="printContent" width="458" height="549"  
horizontalCenter="0" y="-66" fontFamily="Aab" fontSize="24"  />
<s:Image horizontalCenter="0" y="505" click="print_clickHandler(event)"
source="@Embed('assets/PrintPanelState/print.png')" buttonMode="true"/>
</s:Group>

Reply via email to