2 Replies Latest reply on Feb 9, 2015 4:19 AM by Teetan VK

    Is that possibly embed a swf file into java?

    Teetan VK Level 1

      Hi everyone

       

      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?

       

      thanks

      Regard

       

      Teetan

       

      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.open ("w");

      outfile.write (temp.toSource ());

      outfile.close ();