Peter Kahrel has written a script for embed jpg and png format of pic into java.
Is that possibly embed a swf file into java?
var infile = File ("/d/test_jpg/icon.png");
var outfile = File ("/d/test_jpg/icon.txt");
infile.open ("r"); infile.encoding = "binary";
var temp = infile.read(); infile.close();
outfile.write (temp.toSource ());
There is a swf Loader in ScriptUI but given the abandon of Flash support within CC apps and ScriptUI implementation by the way, this is probably not a way to go anyway.
Thank you Loic.