Allow Ctrl|V within an input text field
Copy link to clipboard
Copied
Hello,
I've run across another problem that I cannot solve. This is the problem.
I have a text field called myText_txt and it is formatted as an Input field. I want the user to be able to copy information from a web page (it will go to the clipboard) and then paste the information copied into the input text field, which is in a .swf file that is not contained in a browser, it is open using javascript to remove the browser and have it in a certain window size, etc.
Any help would be greatly appreciated.
Copy link to clipboard
Copied
what's the problem?
Copy link to clipboard
Copied
the problem is that nothing happens - when the user clicks in the field and performs the Ctrl|V, nothing pastes in the text field.
stage.addEventListener(KeyboardEvent.KEY_UP, pasteText);
function pasteText(e.KeyboardEvent):void
}
if((e.ctrlKey && (e.keyCode == Keyboard.C)) {
gotoAndPlay("26");
}
Copy link to clipboard
Copied
that code has 4 errors in 7 lines. don't you see error messages?
or copy and paste your code.

