Ciao Ramapo,
sostituisci il tuo Script con questo:
on (press) {
var myPrintJob:PrintJob = new PrintJob();
var result:Boolean = myPrintJob.start();
if (result) {
pWidth = myPrintJob.pageWidth;
pHeight = myPrintJob.pageHeight;
_root._width = pWidth;
_root._yscale = _root._xscale;
if (_root._height>pHeight) {
_root._height = pHeight;
_root._xscale = _root._yscale;
}
myPrintJob.addPage(0, {xMin:0,xMax:pWidth,yMin:0,yMax:pHeight}, true, _currentframe);
myPrintJob.send();
_root._xscale = _root._yscale = 100;
}
delete myPrintJob;
}
001design.it ® è un marchio registrato.
© 2004-2020 Molfese Paolo - P.Iva: 03430820617 - All rights reserved | Tutti i diritti sono riservati.