Cp-s05box Wiki
SWF Tricks
2021 notice:
To avoid Adobe from blocking flash rendering, set your computer time to 2020 or earlier while decompiling and/or rendering swf files as a temporary fix.

This tutorial shows how to extract PNG images from very small SWF files.

From browser[]

  1. Open the file that you want in a web browser. You can do that in one of the following ways:
    • Opening a web browser and dragging the file from your computer to the browser's window.
    • Right click the file, choose "Open with" and select the web browser.
  2. Take a screenshot of the file (using the Print Screen button, or FN + Home if you're using a laptop), or right click and zoom in, and then take screenshots.
    • If the file is bigger than your screen, take several screenshots, and later combine them in an image editor like GIMP, for merging them into a bigger image.

You can also zoom in in the following ways:

  • Change the value of the "width" and "height" attributes of the <embed> element in your browser.
  • Set a "zoom" style property (e.g. style="zoom: 4;") for making the file bigger.

Using Kurst SWF Renderer[]

Kurst SWF Renderer has a limit for exporting PNG images of ×4 the original file's size. If you want to convert small SWF files into bigger images, follow these steps.

  1. Open SwfModify
  2. Open a very big file (like this one).
  3. Go to the Modify list. Select the big file, and press the Replace button.
  4. Choose the file that you want. If you want an object from a file, extract it using SwfModify or Trillix.
  5. Position it above the original big file. Make sure that the new file doesn't get out of the edges of the original big file.
    • To keep the proportions of the image, use the corner resizing regions rather than the regions in the middle of each border of the image.
  6. Press "Ok".
  7. Save your file. It's recommended to use "Save as" so you can later use the big placeholder file as well.
  8. Now, open the file in Kurst SWF Renderer.
  9. Select the file that you made, and export a PNG image from it (using the placeholder file from this example, a ×2.4 to ×2.7 content size will result a PNG image in a width of around 1500px or a height of 1000px.).