Preston
Preston

Reputation: 2185

How to print external images from ActionScript 2?

i have this script:

on (release) {
imprime = new PrintJob();
imprime.start();
imprime.addPage(papel_mc);
imprime.send();
delete imprime;

}

But, here i only print an MovieClip on my Stage called papel_mc. My Question is: How i can print an external JPG??

Upvotes: 0

Views: 830

Answers (1)

Igor Milla
Igor Milla

Reputation: 2786

You need to load it as a Bitmap and after you can add it to your papel_mc and print.

I'm not familiar with as2, so connot provide with a code, but i think here at kirupa they almost solve the problem.

Upvotes: 1

Related Questions