Skip to main content
April 2, 2014
Question

In Internet Explorere 8 while playing flash movie (SWF file) how to disable browser print option

  • April 2, 2014
  • 1 reply
  • 310 views

I am creating a HTML file and in that file with <object> and <embded> tag I am showing swf file. I want a feature that whenver user watching this swf file in browser he/she could not able give print command by pressing CTRL+P key. I tried to write a javascript which capture onkeydown event but this event is capture only one time when page is loaded but when I clicked on next button of flash palyer from browser and click on area where swf file is showing then this even is not captured. Reqeust you to guide me how to solve this problem. Please let me know if you require any more details. But same javascript is working in croma and mozilla broswer as per expected.

    This topic has been closed for replies.

    1 reply

    C_F_McBlob
    Inspiring
    April 2, 2014

    Can't do any of this with Flash Player.

    Additionally, with screen capture (native and with 3rd party software) available on ANY system, it's IMPOSSIBLE to prevent someone who really wants to, from printing a still frame from your Flash container... javascript or no javascript.

    Honestly, you're wasting time trying to prevent the unpreventable.

    I don't say that out of sarcasm, but to save you the time, effort and frustration that will eventually lead you to abandon this effort as futile.