Can be done but for some reason you can't have all the code in the same block. Didn't spend much time investigating why.
ta.text = "Hey, these guys are asking me if it's possible?"; ta.setFocus(); ta.setSelection(5, 25); // this code has to be called on a timer or in a click handler or something // can't directly follow the above code var str:String = ta.text.substring(ta.selectionBeginIndex, ta.selectionEndIndex); System.setClipboard(str); HTH, Ben --- In [email protected], {reduxdj} <[EMAIL PROTECTED]> wrote: > > Hey, these guys are asking me if it's possible to automatically make a > selection of a textarea in flex and then copy that to the cliboard? Is > that even possible, doesn't seem so? I tried setSelection without much > success. Er, where's that example? > > btw, i know this can be done in js... but it seems a little invasive for > flex to have? Am i Off? > > Thanks, > Patrick >

