please help me with this script, when you click the button, print only the selected area by the black line.
http://uploaddeimagens.com.br/imagens/tst-png--2
Printable View
please help me with this script, when you click the button, print only the selected area by the black line.
http://uploaddeimagens.com.br/imagens/tst-png--2
Hi,
Look here in this forum, http://board.flashkit.com/board/show...ific-movieclip
not this printing, nothing happens, friend wanted from printing when I click the button :)
Hi,
Oh well, I don't have a printer so wouldn't know, attach your *.fla and lets see whats happening
hi I have a script just wanted to set the area that is to print it because it does not print the full picture, you know how to do?
http://uploaddeimagens.com.br/imagens/flash_001-png
print_bt.addEventListener(MouseEvent.CLICK, printThis);
function printThis(e:MouseEvent):void
{
var myPrintJob:PrintJob = new PrintJob();
myPrintJob.start();
myPrintJob.addPage(card);
myPrintJob.send();
}
var bd :BitmapData = new BitmapData(stage.stageWidth, stage.stageHeight, false);
bd.draw(stage);
var b:Bitmap = new Bitmap (bd);
var card:Sprite = new Sprite();
card.addChild(b);
Hi,
MaybePHP Code:print_btn.addEventListener(MouseEvent.CLICK, printThis);
function printThis(e:MouseEvent)
{
var myPrintJob:PrintJob = new PrintJob();
if (myPrintJob.start())
{
if (card.width > myPrintJob.pageWidth)
{
card.width = myPrintJob.pageWidth;
card.scaleY = card.scaleX;
}
myPrintJob.addPage(card);
myPrintJob.send();
}
}
gave error in Scene 1, Layer 'Panel, Table 10, line 27, column 13 1120: Undefined property access card.
http://uploaddeimagens.com.br/imagen...ulo-png--10575
Hi,
thats what you said the movieclips name was, swap it for the picture movieclip name, or call your picture card!!!
or its a path issue to your card movieclip
attach it so we can see or fiddle around with path/names
excuse worked, the problem is that this way will not work, because when I click a color and want to change only one side of the image, only when an image button above the "card" the image does not appear
Hi,
You lost me,
I think you said it worked, and I believe it will only print whatever is inside of "card" movieclip
i use CS6 so its no use attaching the *.fla either, unless you can save for CS6
the problem is that when I print the image on top of this card does not appear, and I wanted her also from printing.
http://uploaddeimagens.com.br/imagen...ulo-png--10576
Hi,
I suggest you attach all clips to be printed inside of "card" movieclip at the next highest depth, something like
card.addChildAt(myClip,1);
then add or remove stuff before printing
I need to do a simulated color
https://www.suvinil.com.br/SimuladorV2/
Hi,
Portuguese is not my languae, too much going on there for me, sorry.
I thought you just wanted help with printing a movieclip.