Wordpress changes
I found out today that I have $22 dollars in my Google adsense account dispite not using the thing for 18 months. So I thought I'd put it back into the site. Of course I can't see it as I use adblock plus, but you can click on it if you want.
I've also put in a new plugin to do code colouring. Might be useful if I even decide to share some code.
An example is below, from the flash video streamer I made at work
Actionscript:
-
function onLoaded(fp)
-
{
-
// loading is complete, so we can now adjust the current page, zoom, etc.
-
// go to page 50.
-
fp.showUIElement("PrevNext", false);
-
fp.showUIElement("Print", false);
-
fp.showUIElement("Find", false);
-
fp.showUIElement("Tool", false);
-
fp.showUIElement("Pop", false);
-
fp.showUIElement("Zoom", false);
-
fp.showUIElement("Page", true);
-
fp.showUIElement("Overflow", false);
-
fp.enableScrolling(false);
-
fp.setCurrentPage(_root.flashpaperPageNumber);
-
// change magnification to 33%
-
//fp.setCurrentZoom(33);
-
}
-
-
if (_root.presentation != "yes") {
-
_root.presentation._alpha = 0;
-
} else {
-
loadFlashPaper("presentations/"+_root.md5Short+".swf", flashpaper, flashpaper._width, flashpaper._height, this);
-
}
OK, I didn't write that first bit, it's from Adobe's 'intergrating flashpaper into flash movies', but I did the rest... honest!