Using SWFRIP

The Flash file

Example of a Flash file with links to find:

example of a flash file

This file is compressed (thus protected) and only uses relative links.

Clicking on a button will redirect you to this page (except Park Schedule).

Opening the file with SWFRIP v 0.4

Copy the file in a folder (here E:\swfrip).

file button_row.swf in a folder

Open button_row.swf with SWFRIP.

file opened with SWFRIP

We have:

files created

 with two files in the subfolder button_row

files in the subfolder

The file we will use is actions.txt.
Here is its content:

getURL("rides_main_fr.htm","acmain");
getURL("assets/calendar/events_thismonth.htm","acmain");
getURL("birthday_main_fr.htm","acmain");
getURL("groups_main_fr.htm","acmain");
getURL("geninfo_main_fr.htm","acmain");

As all the links are relative, we only have to add the names of the missing files with their full paths in the Web Addresses to mirror so that the links are active in the flash file.

If you want to modify a link, SWFRIP allows you to uncompress button_row.swf (File / Save as) and therefore to use a hexadecimal editor. You will have to copy the modified file into the mirror.

SWFRIP also allows the extraction of the other resources and scripts of a Flash file (Resources / Save All Resources). Other utilities and skills will allow you to use them.

Modifying the Flash file

We save the Flash file button_row.swf as button_row2.swf with SWFRIP. Now, it is uncompressed.

example of a flash file

This file is not protected anymore and we will be able to modify the link that did not work (Park Schedule).

Thus we open button_row2.swf with a hexadecimal editor and search for the link to modify: assets/calendar/events_thismonth.htm.

button_row2 before modification

We replace assets/calendar/events_thismonth.htm with events_thismonth.htm as it is located (for this example) in the same folder as this page.

button_row2 after modification

All the links in the Flash file are now active.

With javascript

W3C XHTML 1.0
W3C CSS