Month: December 2008

Troubleshooting Jeroen Wijering’s FLV player in your HTML

There are some errors that come up time and time again when working with Jeroen Wijering’s Flash Video Player. Here’s how to troubleshoot them. I’ll keep adding to the list as time permits. Click the images to see a larger view.

Continue reading

Batch resizing in Photoshop, step by step

One important element that is often left out of beginner Dreamweaver courses is how to make your photos web-ready. Today’s cameras turn out multi-megapixel images that are several feet wide when dropped into a web page at web resolution. Here’s how to take a folder of high-resolution images and turn them into smaller files that will display at about 5-6″ wide at 72dpi using Photoshop.

  1. Select Scripts > Image Processor from the File menu
Continue reading

A brief complaint about Microsoft Windows Media Player!

A colleague at work needed to know how to turn on captions in Windows Media Player. I started to write her a note explaining it, but needed to check exactly how to get to the setting since I knew how to do it in older versions but not 11.

This turned out to be just another opportunity to experience Microsoft’s creative approach to usability.

Here’s a snapshot of the the player. Note, there is no "File" menu, no Open command, nothing that appears useful unless you are purchasing music from their store or ripping from an old CD. And really, aren’t "Rip" and "Burn" SO 2006? Who even cares about ripping CD’s anymore?

ifLooksLikethis.jpg

Continue reading

Associative Arrays

If you’ve used javascript much, you are probably familiar with arrays. Typically arrays are used to manage lists of items. I frequently use arrays for maintaining information about the state of pages and quiz questions in learning modules, storing a series of properties for each item.

But, there is a problem. To find the particular item you want to use, you must loop through the whole array. Sometimes you can get yourself into a situation requiring multiple loops to get one item of information and performance will suffer.

I recently got to wondering if there weren’t a way to jump straight to the desired item, if the ID of the item were known. Yes there is!

Enter “associative arrays“. Associative arrays allow you to index items by any string key, not just the usual arbitrary index numbers. So you can go straight to the exact item by name without testing for property matches while looping through the array.

Continue reading

Video Recording on the iPhone

There are many iPhone applications available, but so far, no one has come out with an official application that does video recording. To get that functionality, you must jailbreak the iPhone and install one of the unofficial video recorder apps, and some type of networking so you can transfer the video files back to your computer.

The main problem with jailbreaking the iphone is that it is no longer in a standard, supportable condition afterward, and so things may not work as expected. I found that my syncing setup was all messed up, and I was basically starting from square one in terms of settings. There are some things it still does not do well, like syncing to iPhoto. However, there are enough benefits to a jailbroken phone to try it out, and hopefully (haven’t tried it yet!) it can be restored if it no longer seems worth all the effort.

Continue reading