Archive for February 11th, 2007

Anyone using WP and iG:Syntax Hiliter plugin?

The iG:Syntax hiliter plugin for WordPress wants to swap out my > (greater than), < (less than) symbols for > and <. I haven’t posted code in awhile, so I’m not sure if this is something that popped up after I upgraded to WP 2.1 (from 1.5) or from the recent updating of the iG plugin.

Anyone have any suggestions? I found the line of code in the PHP doing the swap, but don’t want to hack it if I can figure out whats going on.

[UPDATE]
Well.. I fixed it for now. I just turned off the visual editor for my WP profile. Users > Your Profile > Use the visual editor when writing.

Scale image proportionally

A buddy of mine had asked me how to make Flash scale an image to fit the entire background, but keeping the image aspect ratio. I knew it wouldn’t be hard to figure out, but I also hadn’t really done it before. I’m posting it here for his benefit and just in case I need to look back sometime in the future. I make no promises that this is the most efficient way either, but it definitely works. The real “trick” is scaling the background image movieclip to the width and height of the Stage and then checking to see which scale (xscale or yscale) is bigger and scaling the other to match.
Read more

Return top