2 Replies Latest reply on May 10, 2010 11:43 AM by rob1717

    Preventing users from capturing the screen


      Is there anyway to disable the Print Screen key or stop users from capturing the screen.


      I've tried the fallowing method


      private function init():void


           this.addEventListener(Event.ENTER_FRAME, onEnterFrame);



      private function onEnterFrame(event:Event):void


              System.setClipboard("Copy/Paste functionality has been disabled.");



      but it gives me this error, anyway to make this work?


      Error: Error #2176: Certain actions, such as those that display a pop-up window, may only be invoked upon user interaction, for example by a mouse click or button press.

      at flash.system::System$/setClipboard()


      Any help is greatly appreciated.