Posts by month

Python Script - maintains thumbnails in subfolder

This a very simple script (quite messy too). What is does is checks all images in a folder and creates a thumbnail version in a subfolder called “thumbs”. The script keeps all images in a list and then pickles the list into a file so when you run it again it will only create thumbs for images that weren’t there before. When the script starts it also checks for thumbnails without a big version it will delete these thumbs.

Tags: Python
0 Comments
 

XHTML into flash through Javascript (XML)

Sorry for the long title, couldn’t think of a better description. The following tutorial will show you how to pull any valid XHTML into your flash application for use as XML. We will be using Javascript and the “Unobtrusive Flash Object” or UFO to achieve. What is great about this technique is that it allows you to publish your content only once and then, depending if the user has flash installed, they will see the same information in either Flash or Plain HTML.

Tags: Flash, Javascript
4 Comments