I guess I've found a theoretical solution. I'll basically just create a local java socket server and pass the file name of the video from flash to the server which will launch it. I'll probably use an AutoHotKey script to launch/close both applications if either should be closed prematurely.