I have only found this info, but it is an example for the opposite direction data transfer:
https://decibel.ni.com/content/docs/DOC-14775But if you program your flash application to be controllable by keyboard strokes, you can just use my examples above...
I guess there are other ways to programmatically interact, someone skilled might come to this post and give more ideas...