Archive for the ‘Web’ Category

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 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 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.

(more...)

August 22, 2010 0

Showcase of 25 MORE Winery Website Designs

By Karey in Food, Inspiration, Showcase, Web

winery-webdesign-02-09
Merus Wines

(more...)

August 13, 2010 0

Weekly Web Design Inspiration 08_13_10

By Karey in Inspiration, Web

WeeklySites08_13_10-02
Scotch & Soda

WeeklySites08_13_10-01
James Newman

WeeklySites08_13_10-03
Home de Caramel

August 6, 2010 0

Weekly Web Design Inspiration 08_06_10

By Karey in Inspiration, Web

WeeklySites08_06_10-01
Noah Stokes

WeeklySites08_06_10-02
Blossom

WeeklySites08_06_10-03
Blush Berry

July 30, 2010 0

Weekly Web Design Inspiration 07_30_10

By Karey in Inspiration, Web

WeeklySites07_30_10-01
SinclairBrook

WeeklySites07_30_10-02
Pline Studios

WeeklySites07_30_10-03
Emily Whitesmith

July 24, 2010 0

Showcase of 25 Art Gallery Website Designs

By Karey in Art, Inspiration, Showcase, Web

gallery-showcase-08
Phillips

(more...)

July 23, 2010 0

New Work: Monticello Wine Trail

By Karey in Flash, Web, byK

monticello-wine-trail-01

Today I launched the full website redesign and development for Jeffersonian Wine Grape Growers Society, also know as the Monticello Wine Trail. The site's new and modern aesthetic focuses on the strategic use of images from the vineyards and wineries on the Monticello Wine Trail. The captivating images promote and place emphasis on the quality of wines associated with the wine trail while providing a dynamic and visually appealing user experience.

The full Flash (ActionScript 3.0 with XML) site uses a PHP content management system and MySQL database. The database outputs an edited XML file for the Flash site to read, but also creates a HTML site for SEO (Search Engine Optimization) and non-Flash users (iPhones, etc). A primary goal of the website's new development includes the ability for wineries to update their individual information via the content management system. Google maps is also incorporated into the Trails content pages, enhancing the site's dynamic and interactive components.

Hopefully within the next week I will be able to go more in depth with how to utilize Google Maps in Flash and discuss the content management system I decided to use. In the mean time, view more images after the jump or visit the site below.

www.monticellowinetrail.com

(more...)