I’m still working on my scrolling product bar, and it works great when I publish in flash 6 or higher, but prototype does not work when I publish for flash 5.
MovieClip.prototype.easeTo = function(x) {     
		if (x != this._x) {
                _root.isSliding = 1;
                this.onEnterFrame = function() {
                        //this would be used to ease x position
                        this._x = x-(x-this._x)/1.2;
                        if (this._x<x+1 && this._x>x-1) {
                                _root.isSliding = 0;
		      if(mainmenu._x > 255 && mainmenu._x < 295){
			mainmenu._x = mainmenu._x -821;
		      }								      else if(mainmenu._x < -930 && mainmenu._x > -985){
		      	mainmenu._x = mainmenu._x + 821;
		      };
	           texta.text = mainmenu._x;
                        delete this.onEnterFrame;
                        }
                };
        }
};
The movieclip mainmenu is sitting on the root and this prototype is in my first frame. Can anyone see why it’s not moving the mainmenu mc? This is the line I use to call the prototype:
 mainmenu.easeTo(mainmenu._x+137.7);
Any help would be appreciated.