September 6, 2010 0

Gray Bearded Stocking Hat

By Karey in Fashion, Life

Genius. The gray bearded stocking hat will most definitely be a Christmas gift for my boyfriend, who is on the light side of the facial hair spectrum. =)

beard-hat

View all bearded hats by Etsy seller taraduff.

September 3, 2010 0

Google Maps API for 2 Domains (in Flash, AS3)

By Karey in ActionScript, Application, Flash, Web

Google Maps can be easily integrated into Flash with an API key for the application's domain. Though, since each Google Maps API key can only be assigned to one domain, if your website contains two domains reading the same server (example: www.mysite.com and www.mysite.org), you will need two separate API keys for each domain. While ideally I'd prefer to redirect one domain to the other, this isn't always the case for how a client wants their site to read. In order for the SWF file containing Google Maps to load successfully in multiple domains, the ActionScript file needs to be edited accordingly. Though the final result can also be achieved using a combination of JavaScript and ExternalInterface in Flash, I found it easiest to use AS3's LocalConnection to convert the SWF's domain into a String and then indexed with an if/else statement to decide with API key ActionScript should use:

 
import flash.net.LocalConnection;
var lc:LocalConnection = new LocalConnection();
var domain:String = lc.domain;
 
if (domain.indexOf("com") != -1) {
	map.key = "key-A";
} else {
	map.key = "key-B";
}
 
map.setSize(new Point(P1, P2));
map.addEventListener(MapEvent.MAP_READY, onMapReady);
swfMovieClip.addChild(map);
 

More information on Google Maps API.

September 3, 2010 0

Weekly Web Design Inspiration 09_03_10

By Karey in Inspiration, Web

WeeklySites09_03_10-01
Adlucent

WeeklySites09_03_10-02
Eolo Perfido

WeeklySites09_03_10-03
Grain & Gram

August 30, 2010 0

Colour-In Dress

By Karey in Art, Fashion, Interactive

The 'Colour-In' Dress by Berber Soepboer and Michiel Schuurman brings a playful attitude to interactive fashion, allowing each dress to become a one-of-a-kind piece of wearable art reminiscent of elementary school days. The 'Colour-In' Dress is available for 238 Euro - textile markers included. See Soeboer's website for information on how to order.

Read the rest of this entry »

August 27, 2010 1

Weekly Web Design Inspiration 08_27_10

By Karey in Inspiration, Web

WeeklySites08_27_10-01
Catered by Kate

WeeklySites08_27_10-02
area-22

WeeklySites08_27_10-03
The BRIC Project

August 23, 2010 0

Summer & Droid Camera

By Karey in Photography

summer

Sad to be on the tail end of summer, but loving my new Droid's camera, especially with the Vignette (demo) app.

August 23, 2010 2

New Work: Fat Pants

By Karey in Food, Washington DC, Web, Wordpress, byK

fat-pants-01

Not quite 'work', seeing as my new second blog, Fat Pants, is a personal self-initiated project, documenting my food life in the DC area. I modified the free Shaken Grid theme and added a couple extra functionalities (ie: comments). Check it out for mouthwatering pics and great DC area restaurant recommendations.

Read the rest of this entry »

August 22, 2010 0

Showcase of 25 MORE Winery Website Designs

By Karey in Food, Inspiration, Showcase, Web

winery-webdesign-02-09
Merus Wines

Read the rest of this entry »

August 20, 2010 0

New Work: Pioneer Capital Services

By Karey in byK

New website for Pioneer Capital Services, LLC. Designed around their existing logo, the small HTML/PHP website utilizes minimal graphics and stock photography for a clean and professional aesthetic. Additional functionality of the site includes a PHP contact form for potential clients to request information.

pcs-01

Read the rest of this entry »

August 15, 2010 0

AS3, XML, CDATA – <strong> instead of <b>

By Karey in ActionScript, Flash, XML

With a recent Flash project, I was struggling to find a solution to display bolded HTML text from XML files that uses the <strong> tag. The reason I wanted to use <strong> instead of <b> was because the XMLs were being generated from MODx content management system. Since Flash cannot read the <strong> tag, I used the RegExp class in AS3 to find and replace <b> with <strong> in the XML content text before sending it to my htmlText in Flash to read. Below is the snippet of code is used:

 
var myPattern:RegExp = /strong/g;
var str:String = xml.content.toString();
contentTxt.htmlText = str.replace(myPattern, "b");
 

Though a simple solution, took me awhile a bit of research to arrive at the above conclusion. Therefore hope this saves some time for others!