Lill
08-06-2007, 02:52 PM
hi, im having a problem with printjob on my flip-book.
I get it to work so no problem there,
but as i press the button, the swf window scales everything :O
And the strangest thing is that it turns to normal if i double click the blue swf bar at the top.
here is some screen shots:
Before printing:
http://lill.mg5.org/test/before.jpg
After printing: (BTW: in this example im "printing" a little object at 0% alpha, just to save printer paper (the visuall-scaling actully isn't that bad as this when i printed the Real page, but still a bit scaled)
http://lill.mg5.org/test/after.jpg
I dont know if it will help, but here is the actionscript for the button:
on (release) {
var printJob = new PrintJob();
if (printJob.start())
{
var numPages:Number = 0;
if (printJob.addPage("test2_mc"))
{
trace(numPages)
numPages ++;
}
// etc.
if (numPages> 0)
{
trace('sending..');
printJob.send(); // print page(s)
}
}
delete printJob;
}
Note, that this is a button inside a flip book. not sure if the flipbook ActionScript is interfering, but...
If anyone got a clue what it might be, i would gladly hear what you think:confused:
Please help...
I get it to work so no problem there,
but as i press the button, the swf window scales everything :O
And the strangest thing is that it turns to normal if i double click the blue swf bar at the top.
here is some screen shots:
Before printing:
http://lill.mg5.org/test/before.jpg
After printing: (BTW: in this example im "printing" a little object at 0% alpha, just to save printer paper (the visuall-scaling actully isn't that bad as this when i printed the Real page, but still a bit scaled)
http://lill.mg5.org/test/after.jpg
I dont know if it will help, but here is the actionscript for the button:
on (release) {
var printJob = new PrintJob();
if (printJob.start())
{
var numPages:Number = 0;
if (printJob.addPage("test2_mc"))
{
trace(numPages)
numPages ++;
}
// etc.
if (numPages> 0)
{
trace('sending..');
printJob.send(); // print page(s)
}
}
delete printJob;
}
Note, that this is a button inside a flip book. not sure if the flipbook ActionScript is interfering, but...
If anyone got a clue what it might be, i would gladly hear what you think:confused:
Please help...