Catching PASTE events

Hello,
I want to read the content of the clipboard of the user but for security reasons, Adobe doesn’t want the clipboard to be readable outside a paste event.
I tried catching a paste event like it’s done in this AS3 code : http://stackoverflow.com/questions/8877574/how-to-paste-selected-text-in-as3 but I didn’t get any result (my paste function was never called).
I am targeting flash and I use haxeflixel.

Do you use flixel.text.FlxText or openfl.text.TextField?
If second option look here

Actually I solved my problem by using the paste item in a context menu, it allows me to read the content of the clipboard.
It should probably work with a TLFTextField too, I didn’t test it because I didn’t know about them.
thanks