embed flash in HTML / AC_RunActiveContent

in order to embed a flash (swf) animation in a HTML page i use AC_RunActiveContent.js

you can download it from here (it’s a very old file that i’ve been using for years – not sure where i got it from and where to get a new version from 😀 – didn’t need one so far). just right-click on the link and choose save link as (chrome)

upload it to your server

in the head section include this line:

then include this piece of code where you want to show the animation

  • filename is name of the animation file without the .swf extension; you need to change this in 3 places
  • path_to is the path to the file relative to public_html
  • the width and the height are the numbers right after ‘width’ and ‘height’

open and read .p7s files in ubuntu linux

did you receive a doc or docx file with an extra .p7s extension ? it’s a digitally signed document
in order to read it in ubuntu you’ll have to transform it back to the regular .doc or .docx file

here’s how to do this:

  • download the file
  • open a terminal (CTRL+ALT+t)
  • use cd to get to the folder where you downloaded the file

  • copy this line in the terminal (mouse right click) and modify the .p7s file name

now you have the file without the .p7s extension in the same folder you have the original file