Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
you want to display a static image of a movieclip in another browser window?
Copy link to clipboard
Copied
i want to print movie clip in printer
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
can you give me exampl?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
thank you
Copy link to clipboard
Copied
you're welcome.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now