Personal and Professional Blog of Rich Hauck

Graffiti Hall of Fame

October 31, 2006

graffiti-hof.jpg

This past weekend I visited the Graffiti Hall of Fame in Harlem (106th and Park Avenue) with a friend who shall remain nameless. Overall, pretty cool, but the wall has sadly been tagged with some lower quality stuff. It’s worth a visit, but I think the 5 Pointz in Queens is still a better stop since it’s got a lot more diversity and is a lot bigger.
graffiti.jpg

Categories: NYC

The Burger Joint

October 26, 2006

burger-joint.jpg

Thanks to the cool folks at FlashCodersNY, I discovered this tucked-away hamburger haven in the ritzy Le Parker Meridien. Its graffiti-decorated walls are a complete contrast to the high-style hotel lobby, and it’s burgers are easily the best in Midtown.

Categories: NYC

Chimay Cheese

October 23, 2006

chimay.jpg

Yup, my favorite beer comes in cheese form. Just like the Belgian monks ale, it’s not cheap, but really good.

Categories: General

WTC Picture Exhibit

October 19, 2006

wtc-pictures.jpg

A client meeting had me down in the financial district where I took a stroll through Ground Zero to discover an interesting photography exhibit of the twin towers and 9/11. Check it out if you can. Can’t? Then check out the online exhibit.

Categories: NYC

405 Jazz on Walnut

October 18, 2006

jazz-405-walnut.jpg

My trip home this weekend for a wedding gave me the opportunity to check out the newest Jazz club to arrive in Harrisburg, 405 Jazz on Walnut (yes, I’m tempted to offer Web site services).

I was a bit skeptical at first, given that this joint’s run by the same crew behind Sophia’s Seafood (whose service was extremely slow and food subpar on my only visit–the sauce was broken on my entree). However, the vibe of this place was great, the bartender’s martinis were dead-on, and the location was bravely off Harrisburg’s main route of nightlife.

The acoustics aren’t for purists, and that’s fine, since it makes for a nice casual lounge, but my one complaint is that is that the “stage” is too cramped for a bigger act (say, one with a drum set) to perform, and there’s no curtain or subtle entrance; you’re liable to take the attention from the performers if you walk in at the wrong time.

All-in-all, though, at least it’s a nice addition to help diversify the town’s offerings.

Categories: Harrisburg

Target Menu Items in ActionScript

October 13, 2006

I don’t often post Actionscript code because it often falls under the “wise men don’t need it, fools won’t heed it” principle (I might be the fool, who knows), but this little bit of code is something that I happen to use fairly often in projects where I want to highlight particular menu items.

Part of the inspiration in posting this is that I’ve recently been going through a previous developer’s code where they tell all of their menu items to do one thing, then single out the selected item to do the opposite afterwards. Instead of explicitly targeting menu items to do things, it’s much cleaner to create an array of the items, make a temporary array of that list, and then target them.

// set up an array of menu items
private var menuArray:Array = new Array(mc1, mc2, mc3);

private function rollOut(id:Number):Void{
// create a temporary array based on menuArray so that we don’t damage the original
var tempArray:Array = menuArray.slice();
// now, pull the menu item we don’t want to affect
tempArray.splice(id, 1);
var len:Number = tempArray.length;
// loop through remaining menu items
for(var i:Number = 0; i
// perform menu item(s) transition here
tempArray[i].doSomething();
}
}

Hopefully this helps someone out there, and if anyone has a recommendation to make it cleaner, I’d love to hear from you.

Categories: Flash, webdesign

NetFlix Challenge

October 11, 2006

In case you missed it, Netflix is offering a $1 million prize to whomever can improve their referral system. With the likes of Dan Shiffman working on a solution, I think I’ll sit this one out.

I never pay much attention to user ratings on rental sites (I usually don’t have to with IMDB and Rotten Tomatoes around), but I wonder if Netflix ever considered taking into account the value of a good director or actor. For instance, I’d probably see any film Tom Hanks or Jared Leto is in, or any film David Fincher or Sam Mendes directs. It reminds me of when I lived in Baltimore and a nearby video store categorized not by genre, but by Director. How cool was that?!

Seriously, though, I wonder if they’d considered users tagging categories. I’d love to see what the top Sci-Fi or Gangster film would be . . .

Categories: movies

getURL() locally on CD-ROM with Flash Projector

October 6, 2006

I recently ran into a quite a bugger while transferring a Flash projector to a CD-ROM. Just like authoring an SWF, I used getURL() to call some local HTML files and a PowerPoint–with no problem running off my hard drive. When I transferred all of these files to a CD-ROM, though, all of the local links got lost. They all started dropping the parent path directory (in this case, the name of the CD and/or drive name). For instance:

file:///Volumes/resources/image_gallery/index.htm

Came out as this:

file:///resources/image_gallery/index.htm

I looked into using an fscommand, but that’s a dead end because it’ll only launch a program and not open a particular file. The real problem? It appears that if you have overrided the default browser on your computer, Flash drops the path. In my case, I have Firefox set on both my Mac and PC. The solution? After searching all over the Web, I came across this script (which I’ve strictly-typed for class use):

/**
* Corrects issue where projector wants default system browser to open local URL.
* @param path String to local file
*/
function buildLink(path:String):Void{
var poslastslash:Number = timeline._url.lastIndexOf(“\\”);
if (poslastslash == -1) {
poslastslash = timeline._url.lastIndexOf(“/”);
}
var folderurl:String = timeline._url.substr(0, poslastslash+1);
var poscolon:Number = folderurl.indexOf(“|”);
if (poscolon<>-1) {
var folderurlstart:String = folderurl.substr(0, poscolon);
var folderurlend:String = folderurl.substr(poscolon+1);
folderurl = folderurlstart+”:”+folderurlend;
}
var targeturl:String = folderurl + path;
getURL(targeturl, “_blank”);
}

Thank you OttoM, whomever you are.

I’m posting this because of how remote the documentation was for me when searching for the problem. Hopefully, it’ll help someone else out.

Categories: Flash, webdesign

Beyond Second Photo Exhibit at Midtown Scholar

October 5, 2006

Just to beat a dead horse, the Midtown Scholar Bookstore in Harrisburg is hosting an exhibit of Beyond Second photography from November 21 to December 30 to benefit Friends of Midtown. We’ve already got quite a few contributors, and I’m looking forward to hopefully meet everyone that’s involved with the site, not to mention try and get more people in the community involved. More info on Beyond Second.

Categories: Harrisburg

ALDS, Ya’ll!

October 4, 2006

alds.jpg

1 Huge Flag

2 F-18 Hornets

5 hits from Jeter

20+ ejected fans

It was an entertaining night.

Categories: NYC

About Me

Rich HauckI'm a designer, developer, and teacher based in Harrisburg, Pa. I run Hauck Interactive, Inc.




Archives