Latest work

I was woundering what everyone thought of this? I some times think less of myself and what I produce. Sort of the designer mentality? Is it ever good enough!? Anyway, I have been with iMart 2 years now and recently we took on a client that sells drugs. Nutrilite had a pretty bad website before!

Most of the peice is class driven, this is actualy my first production peice. Hit me with your honasty. I did ALL flash work. The site just won a pretty big award on the design aspect, it sucks that the techies never get much recognition.

Heres a little code snippet :slight_smile:


 
//ConstructMenu
 //Comment: Constructs re-usable array for retrieving URL from xml data source and builds menu dynamicly.
 public function ConstructMenu(){
 
   var intHeight:Number = 25;//Height of initial menu item;
 
   xmlDSReturn = mx.xpath.XPathAPI.selectNodeList (xmlDataSource.firstChild, strXPath);
   for (var intCnt:Number = 0; intCnt < xmlDSReturn.length; intCnt++)
    { 
     _root.languageSelector.menuItem.duplicateMovieClip("menuItem" + intCnt, intCnt);
     _root.languageSelector["menuItem"+intCnt]._y = intCnt * 17 ; //menu item spacing
     intHeight = intHeight + _root.languageSelector["menuItem" + intCnt]._height; //Sets background height based on items in menu
 
     _root.languageSelector["menuItem"+intCnt].txtLabel.text = xmlDSReturn[intCnt].attributes["Translated"].toString();
     _root.languageSelector.menuBackground._height = intHeight;
    }
 }
 
 

www.nutrilite.com