James WrightMainWorkInfo

Archive for the ‘Web’ Category

Bayer CropScience Flash

Tuesday, January 15th, 2008

I have spent the last little while working on a lot of Bayer CropScience Flash stuff. Here are links to some of it, with more coming in the near future.

InVigor Microsite:
I did the banner on the home page which creates shows how quickly and problem-free their hybrid seeds grow. This banner was also re-worked to be used in a Google adwords campaign. I also created a standalone video player as well as a video player that toggles between 4 different videos on the "Growers Talk" page.

Infinity Microsite:
The Infinity site is another Microsite that uses a similar video player setup and also has an "FMA" to grab attention towards the product and its features.

Herbicide Resistance:
For the Herbicide Resistance site I created an educational Flash "FMA" that gives a brief overview of "Herbicide Resistance" and a possible solution.

There are a few other items launching soon, so stay tuned!

Ric Kokotovich Portfolio Site

Tuesday, January 15th, 2008

I recently built a web-site for Ric Kokotovich, it is a portfolio site to showcase this artists amazing work. Some of the images take a while to load but it is worth the wait. They were very insistent on quality for this site even if it meant some sacrifices on load times.

View Site

Google AdWords doesn’t allow Math.random() in its files

Wednesday, November 7th, 2007

Google AdWords Math.random() Error

I created a banner for a site a month or 2 ago and the company decided they wanted to re-work it for their AdWords campaign, so a designer here at work used the class I built to re-build the ad in a bunch of AdWords sizes. All seemed peachy... Then upon uploading the ads our media person was given the error "Encountered flash error - ad cannot have random numbers".

We contacted their customer support via phone and the only reason they could give us was that "it is possible that random numbers can be used maliciously". They would not give us anymore information beyond that. I really do not see how a random number can be used maliciously other than calling a random script, but AdWords already throws an error for calling outside scripts.

I suppose I could generate out a list of random numbers and use them in an array as follows:

 
var _counter:Number = -1;
 
var _random:Array = [
 
0.404158900026232,
 
0.717061429284513,
 
0.776794651523232,
 
0.924381226301193,
 
0.349322804249823,
 
0.271397457458079,
 
0.840603074524552
 
];
 
function randomNumber():Number {
 
 _counter++;
 
 return _random[_counter];
 
}

Theoretically I should be able to just do a find and replace of Math.random() with randomNumber() . It won't be different every time but at least I should be able to maintain the "random" look of how the items are positioned.