home *** CD-ROM | disk | FTP | other *** search
- var §\x01§ = 694;
- while(true)
- {
- if(eval("\x01") == 694)
- {
- set("\x01",eval("\x01") - 9);
- §§push(true);
- }
- else if(eval("\x01") == 685)
- {
- set("\x01",eval("\x01") - 239);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 57);
- }
- }
- else if(eval("\x01") == 365)
- {
- set("\x01",eval("\x01") + 79);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 133);
- }
- }
- else
- {
- if(eval("\x01") == 444)
- {
- set("\x01",eval("\x01") - 133);
- break;
- }
- if(eval("\x01") == 503)
- {
- set("\x01",eval("\x01") - 138);
- §§push(true);
- }
- else if(eval("\x01") == 311)
- {
- set("\x01",eval("\x01") + 134);
- §§push(true);
- }
- else
- {
- if(eval("\x01") == 446)
- {
- set("\x01",eval("\x01") + 57);
- break;
- }
- if(eval("\x01") != 445)
- {
- if(eval("\x01") == 493)
- {
- set("\x01",eval("\x01") + 418);
- stopAllSounds();
- break;
- }
- if(eval("\x01") == 911)
- {
- set("\x01",eval("\x01") - 543);
- if(!_global.clickx)
- {
- _global.clickx = new Object();
- }
- §§pop();
- if(!_global.clickx.ui)
- {
- _global.clickx.ui = new Object();
- }
- §§pop();
- if(!_global.clickx.ui.Scroller)
- {
- clickx.ui.Scroller extends MovieClip;
- var _loc2_ = clickx.ui.Scroller = function()
- {
- super();
- }.prototype;
- _loc2_.startDragging = function()
- {
- this.scrollDrag_mc.startDrag(false,4,20,4,275);
- this.onEnterFrame = mx.utils.Delegate.create(this,this.adjustListPosition);
- };
- _loc2_.stopDragging = function()
- {
- this.scrollDrag_mc.stopDrag();
- delete this.onEnterFrame;
- };
- _loc2_.adjustListPosition = function()
- {
- var _loc2_ = (this.scrollDrag_mc._y - 20) / 255 * 100;
- this._parent.scrollTo(Math.round(this._parent.getListMaxScrollPos() / 100 * _loc2_));
- };
- _loc2_.adjustSliderPosition = function()
- {
- var _loc2_ = this._parent.getListScrollPos() / this._parent.getListMaxScrollPos() * 100;
- this.scrollDrag_mc._y = 20 + 2.55 * _loc2_;
- };
- _loc2_.scrollUp = function()
- {
- this.scrollDrag_mc._y -= 4;
- if(this.scrollDrag_mc._y < 20)
- {
- this.scrollDrag_mc._y = 20;
- }
- this.adjustListPosition();
- };
- _loc2_.scrollDown = function()
- {
- this.scrollDrag_mc._y += 4;
- if(this.scrollDrag_mc._y > 275)
- {
- this.scrollDrag_mc._y = 275;
- }
- this.adjustListPosition();
- };
- _loc2_.startScrollingUp = function()
- {
- this.onEnterFrame = mx.utils.Delegate.create(this,this.scrollUp);
- };
- _loc2_.startScrollingDown = function()
- {
- this.onEnterFrame = mx.utils.Delegate.create(this,this.scrollDown);
- };
- _loc2_.stopScrolling = function()
- {
- delete this.onEnterFrame;
- };
- _loc2_.upReleaseOutside = function()
- {
- this.scrollUp_mc.gotoAndStop(1);
- this.stopScrolling();
- };
- _loc2_.downReleaseOutside = function()
- {
- this.scrollDown_mc.gotoAndStop(1);
- this.stopScrolling();
- };
- _loc2_.dragReleaseOutside = function()
- {
- this.scrollDrag_mc.gotoAndStop(1);
- delete this.scrollDrag_mc.onEnterFrame;
- this.stopDragging();
- };
- _loc2_.init = function()
- {
- this.scrollDrag_mc._y = 20;
- };
- _loc2_.onLoad = function()
- {
- this.init();
- clickx.util.ButtonUtil.makeFrame_R_O_Effect(this.scrollDrag_mc,10);
- clickx.util.ButtonUtil.makeFrame_R_O_Effect(this.scrollUp_mc,10);
- clickx.util.ButtonUtil.makeFrame_R_O_Effect(this.scrollDown_mc,10);
- this.scrollDrag_mc.onPress = mx.utils.Delegate.create(this,this.startDragging);
- this.scrollDrag_mc.onRelease = mx.utils.Delegate.create(this,this.stopDragging);
- this.scrollUp_mc.onPress = mx.utils.Delegate.create(this,this.startScrollingUp);
- this.scrollUp_mc.onRelease = mx.utils.Delegate.create(this,this.stopScrolling);
- this.scrollDown_mc.onPress = mx.utils.Delegate.create(this,this.startScrollingDown);
- this.scrollDown_mc.onRelease = mx.utils.Delegate.create(this,this.stopScrolling);
- this.scrollDown_mc.onReleaseOutside = mx.utils.Delegate.create(this,this.downReleaseOutside);
- this.scrollUp_mc.onReleaseOutside = mx.utils.Delegate.create(this,this.upReleaseOutside);
- this.scrollDrag_mc.onReleaseOutside = mx.utils.Delegate.create(this,this.dragReleaseOutside);
- };
- §§push(ASSetPropFlags(clickx.ui.Scroller.prototype,null,1));
- }
- §§pop();
- }
- break;
- }
- set("\x01",eval("\x01") + 48);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 418);
- }
- }
- }
- }
-