# Latest work

**URL:** <https://forum.kirupa.com/t/latest-work/217859>\
**Category:** Uncategorized\
**Created:** [March 2, 2007, 2:54pm UTC](https://forum.kirupa.com/t/latest-work/217859 "2007-03-02T14:54:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![broneah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/broneah/32/1000_2.png) [@broneah](https://forum.kirupa.com/u/broneah)\
**Post date:** [March 2, 2007, 2:54pm UTC](https://forum.kirupa.com/t/latest-work/217859/1 "2007-03-02T14:54:28Z")

</div>

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 🙂

```auto

 
//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](http://www.nutrilite.com)
