{"id":2304,"date":"2019-09-12T17:07:35","date_gmt":"2019-09-12T17:07:35","guid":{"rendered":"http:\/\/sites.la.utexas.edu\/kb\/?p=2304"},"modified":"2020-06-15T18:54:49","modified_gmt":"2020-06-15T18:54:49","slug":"how-to-extract-text-and-images-from-a-flash-module","status":"publish","type":"post","link":"http:\/\/sites.la.utexas.edu\/kb\/2019\/09\/12\/how-to-extract-text-and-images-from-a-flash-module\/","title":{"rendered":"How to extract text and images from a Flash module"},"content":{"rendered":"<p>This tutorial will explain how to take a Flash file (.swf, Small Web Format) and extract its text and images.<\/p>\n<h2><span style=\"color: #000000\"><b>Required Installations:<\/b><\/span><\/h2>\n<ol>\n<li><a href=\"https:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html\">JDK 8<\/a>\n<ol>\n<li>Since our decompiling program, FFdec is relatively old (last updated in 2018), it only lets us use JDK 8. JDK stands for Java Development Kit, which essentially allows us to not only run Java programs, but also compile and create new programs.<\/li>\n<li><strong><span style=\"color: #ff0000\">Make sure you have JDK 8 set up BEFORE you install the decompiler!<\/span><\/strong>\n<ol>\n<li>To check what version of JDK you&#8217;re using, open\u00a0<strong>Terminal<\/strong> and type in the following:\n<ol>\n<li>\n<pre><strong>java -version<\/strong><\/pre>\n<\/li>\n<li>The output should contain &#8220;1.8.0&#8221;, with any number following be acceptable. This way, you know JDK 8 is running.\n<ol>\n<li>\n<pre>java version \"<strong>1.8.0<\/strong>_221\"\r\n\r\nJava(TM) SE Runtime Environment (build 1.8.0_221-b11)\r\n\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)<\/pre>\n<\/li>\n<\/ol>\n<\/li>\n<li>If you need to uninstall another version of JDK before installing JDK 8, follow the instructions <a href=\"https:\/\/stackoverflow.com\/questions\/50056598\/how-to-uninstall-jdk-on-mac-os\">here<\/a>.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li><a href=\"https:\/\/github.com\/jindrapetrik\/jpexs-decompiler\/releases\/tag\/version11.2.0\">FFdec<\/a>\n<ol>\n<li>This is our decompiler program. Essentially, it will take in a SWF file and parse + categorize out all the information it can (text, images, sounds, scripts, etc&#8230;). This is handy because we can then easily export all the text and images and do whatever we need to on it!<\/li>\n<li>Use the\u00a0<strong>Mac OS X Application (zipped)<\/strong>\u00a0download.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h2><strong>Steps:<\/strong><\/h2>\n<ol>\n<li>Locate the SWF file that you want to extract.<\/li>\n<li>Open FFdec and click on the <strong>Settings<\/strong> tab on the top toolbar as follows:<a href=\"https:\/\/sites.la.utexas.edu\/kb\/files\/2019\/09\/Screen-Shot-2019-09-12-at-11.56.48-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2305 size-large aligncenter\" src=\"https:\/\/sites.la.utexas.edu\/kb\/files\/2019\/09\/Screen-Shot-2019-09-12-at-11.56.48-AM-1024x683.png\" alt=\"\" width=\"640\" height=\"427\" srcset=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2019\/09\/Screen-Shot-2019-09-12-at-11.56.48-AM-1024x683.png 1024w, http:\/\/sites.la.utexas.edu\/kb\/files\/2019\/09\/Screen-Shot-2019-09-12-at-11.56.48-AM-300x200.png 300w, http:\/\/sites.la.utexas.edu\/kb\/files\/2019\/09\/Screen-Shot-2019-09-12-at-11.56.48-AM-768x512.png 768w, http:\/\/sites.la.utexas.edu\/kb\/files\/2019\/09\/Screen-Shot-2019-09-12-at-11.56.48-AM.png 1521w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/li>\n<li>Click on <strong>Advanced Settings<\/strong>.<\/li>\n<li>Click on the\u00a0<strong>Export<\/strong> tab and make sure the\u00a0<strong>Export texts to single file<\/strong> checkbox is\u00a0checked.<a href=\"https:\/\/sites.la.utexas.edu\/kb\/files\/2019\/09\/Screen-Shot-2019-09-12-at-11.59.55-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2306 size-large aligncenter\" src=\"https:\/\/sites.la.utexas.edu\/kb\/files\/2019\/09\/Screen-Shot-2019-09-12-at-11.59.55-AM-1024x683.png\" alt=\"\" width=\"640\" height=\"427\" srcset=\"http:\/\/sites.la.utexas.edu\/kb\/files\/2019\/09\/Screen-Shot-2019-09-12-at-11.59.55-AM-1024x683.png 1024w, http:\/\/sites.la.utexas.edu\/kb\/files\/2019\/09\/Screen-Shot-2019-09-12-at-11.59.55-AM-300x200.png 300w, http:\/\/sites.la.utexas.edu\/kb\/files\/2019\/09\/Screen-Shot-2019-09-12-at-11.59.55-AM-768x512.png 768w, http:\/\/sites.la.utexas.edu\/kb\/files\/2019\/09\/Screen-Shot-2019-09-12-at-11.59.55-AM.png 1533w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/li>\n<li>Drag and drop your SWF file into the white box, and it should appear there with a bunch of different data formats.<\/li>\n<li>Right click on\u00a0<strong>texts<\/strong> and select\u00a0<strong>Export selection<\/strong>.\n<ol>\n<li>Keep the\u00a0<strong>Texts<\/strong>\u00a0dropdown as\u00a0<strong>Plain text<\/strong> and\u00a0<strong>Zoom<\/strong> at\u00a0<strong>100%<\/strong>.<\/li>\n<\/ol>\n<\/li>\n<li>Export it to your Desktop. Your exports should be located in a folder called\u00a0<em>texts<\/em>.<\/li>\n<li>To extract the images (some SWF files might not have images, that&#8217;s okay), do step 6 but right click on\u00a0<strong>images<\/strong> instead. Your exported results for images will be in a folder called\u00a0<em>images<\/em>.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will explain how to take a Flash file (.swf, Small Web Format) and extract its text and images. Required Installations: JDK 8 Since our decompiling program, FFdec is relatively old (last updated in 2018), it only lets us &hellip; <a href=\"http:\/\/sites.la.utexas.edu\/kb\/2019\/09\/12\/how-to-extract-text-and-images-from-a-flash-module\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":707,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[200714],"tags":[],"class_list":["post-2304","post","type-post","status-publish","format-standard","hentry","category-coding"],"_links":{"self":[{"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/posts\/2304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/users\/707"}],"replies":[{"embeddable":true,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/comments?post=2304"}],"version-history":[{"count":4,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/posts\/2304\/revisions"}],"predecessor-version":[{"id":2320,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/posts\/2304\/revisions\/2320"}],"wp:attachment":[{"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/media?parent=2304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/categories?post=2304"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sites.la.utexas.edu\/kb\/wp-json\/wp\/v2\/tags?post=2304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}