Link to home
Start Free TrialLog in
Avatar of tomdenton
tomdenton

asked on

Copy selected text to system clipboard in actionscript 2

Hi, I would like to be able to copy a selection from a text box (txtContent)  to the system clipboard in flash

I can easily get  text on to the clipboards using: System.setClipboard(txtContent);

And I think I can get the position of the selection like this: Selection.getBeginIndex() and Selection.getEndIndex();

But here is where i got lost!
      

SOLUTION
Avatar of tomdenton
tomdenton

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tomdenton
tomdenton

ASKER

Developed the answer myself in this case - shows how much we learn and appreciate the help from experts