Skip to main content
Known Participant
November 29, 2020
Question

print movie clip from time line

  • November 29, 2020
  • 1 reply
  • 324 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
December 1, 2020

OK

i am working on bingo game

i made all the game and it is working

i created a option to print bingo boards.

 

so i have movie clip on the timeline 

the movie clip include texts and pictures

the movie clip name is  bingo_board

i want to print only the movie clip (the bingo board) with no buttons or other elements on the window.

in this link you can see what i am doing 

http://hebrewgames.org/bingo/game

 


create a main timeline frame that displays your bingo board and prints the page (window.print() ) and in your print listener go to that frame.