actionscript - How do you stop Copy/Paste in a flash form -


I work for a medical transcription company and in our medical transcription test, we operate our applicants, an old Flash form is a app that closes the copy and when you enter the form, then empty the clipboard and paste it has worked great in IE 7, but recently it has come to my attention that it is so good in Firefox Saturate Does not work. Or maybe it's a version of Flash because the flash browser should be independent. I'm not a flash developer in any way, in fact I'm quite awesome on that. So what should I know is how to stop and paste the copy using the action script.

Depending on the comments, some additional information is essential. In reality, this test plays a sound file (Basic MP3), which is written to listen to them. Copy and paste problem occurs when their transcriptor The friend has already taken the exam and has sent the email to his friend so that he can leave it on. You may be able to "disable paste" such as (without being able to host Flash Control, you may not be able to say, in a Windows app, or in some type of browser extension), but You can of course make a good estimate of how to use the app with a small timer based math. An example of a Flex app that I mean:

  & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Mx: application xmlns: mx = "http://www.adobe.com/2006/mxml" layout = "full" xmlns: local = "*" creation end = "this_creation complete (event)" & gt; & Lt; Mx: script & gt; & Lt ;! [Cdata [private tier: timer; Import flash.events.Event; Private function this_cruration complete (event: event): zero {timer = new timer (1000); Timer AddEventListener (TimerEventTMER, timer_tick); Timer.start (); } Private Function timer_tick (Event: Timer Event): Zero {var elapsedTimeInminutes: number = timer.currentCount / 60; Var Average WordLength: Number = 4; Var humanitarian potential: number = 200; Var thisPersonsSpeed: number = (txtTest.text.length / averageWordLength) / elapsedTimeInMinutes; If (this is the PeopleSap speed> possible for humans) {txtSpeed.text = "Wait," + Math.floor (thisPersonsSpeed) .toString () + "Word per minute? This Joker is probably fraud."; TxtTest.enabled = false; Timer.stop (); } And {txtSpeed.text = "Currently typing" + Math.floor (thisPersonsSpeed) .toString () + "wpm. Hurry! Fast!"; }}]] & Gt; & Lt; / Mx: script & gt; & Lt; Mx: VBox & gt; & Lt; Mx: textairia id = "textist" width = "600" height = "300" /> & Lt; Mx: text id = "txtSpeed" /> & Lt; / Mx: VBox & gt; & Lt; / Mx: Applications & gt;  

Basically, this is just a timer that calculates words per minute; If this number exceeds a certain limit, the timer stops, and the form is disabled.

Sure, this is not an iron sheet, and if I was applying it myself, then I would like some additional time-oriented security measures (eg, stop timer after the period of inactivity, etc.), but It should clarify the point. I'm sure there are other solutions, but in this way something simple can work quite well for you.


Update: Some people have mentioned the event. The APTE, which will work but is not present in Action Script 2 / Flash Player 9. Provided you were able to ensure Flash Player 10 and could create scripts in Action Script 3, which would be another option.


Comments