// IE 4 and above specific execCommand methods
// are used to get access to the clipboard
// the innerText property of a hidden textarea (id="hiddenBox")
// is used to manipulate the text range

function flashToClipBoard(flashInput) {
        // the argument of this function is passed from Flash
        Form1.hiddenBox.innerText = flashInput;
        copiedText = Form1.hiddenBox.createTextRange();
        copiedText.execCommand("Copy");
}