Skip to main content
Known Participant
November 29, 2020
Question

print movie clip from time line

  • November 29, 2020
  • 1 reply
  • 332 views

Hello!

i want to print Movie clip from timeline 

 

I found this code in the forum 

how can i changh the code to prind movie clip name "bingoBoard"

 

this.stop();

print_voucher();

function print_voucher() {

  var win = window.open();

  win.document.write("<br><img src='" + canvas.toDataURL() + "'/>");

  win.print();

  //win.location.reload();

}

 

Thanks

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
November 29, 2020

you want to display a static image of a movieclip in another browser window?

Yigal0D4BAuthor
Known Participant
November 29, 2020

i want to print movie clip in printer

kglad
Community Expert
Community Expert
November 30, 2020

that doesn't make sense.  you mean you want to print an image of whatever frame of the movieclip is showing at a particular time? 

 

if so, that makes sense but i don't think that would be easy because javascript is pretty limited in its abillity to access a user's printer.  you'd need to copy the movieclip's image to a new window and then print that window.