Accessing the clipboard

Is there any way to access the clipboard from openfl? The class flash.desktop.Clipboard isn’t found in openfl.
In Flash I simply used a TextField, which automatically allowed copy and paste, but in openfl there were many problems with TextField, so now I’m writing my own, but I need a way to implement copy and paste.

1 Like

if you are using cpp/neko
there’s a library called systools

1 Like

There’s an easy API for it in SDL, I’d love to see it exposed in the Lime 2 API

Thank you, AG_w, that worked.

Yes, it would be nice to have a single API for all targets.