PrintJob.send() 599
// Starting at 0,0, print an area 400 pixels wide
// and 400 pixels high of frame 3 of the "dance_mc" movie clip
// in bitmap format
if (my_pj.addPage("dance_mc",
{xMin:0,xMax:400,yMin:0,yMax:400},{printAsBitmap:true}, 3))
{
pageCount++;
// Starting at 0,0, print an area 400 pixels wide
// and 600 pixels high of frame 3 of the "dance_mc" movie clip
// in vector format at 50% of its actual size
var x = dance_mc._xscale;
var y = dance_mc._yscale;
dance_mc._xscale = 50;
dance_mc._yscale = 50;
if (my_pj.addPage("dance_mc",
{xMin:0,xMax:400,yMin:0,yMax:600},null, 3))
{
pageCount++;
}
dance_mc._xscale = x;
dance_mc._yscale = y;
}
}
}
}
}
}
if (pageCount)
{
my_pj.send();
}
delete my_pj;
}
See also
PrintJob.send()
, PrintJob.start()
PrintJob.send()
Availability
Flash Player 7.
Usage
my_pj.send()
Parameters
None.
Returns
Nothing.