home *** CD-ROM | disk | FTP | other *** search
- function alone_mov(nu)
- {
- var i;
- var num;
- slide.alone.pos = nu;
- num = nu;
- slide.alone.step = num;
- slide.alone.end = num;
- slide.alone.gap = slide.alone._x - slide.alone.end;
- slide.alone.onEnterFrame = function()
- {
- this._x -= (this._x - this.end) / 5;
- if(Math.abs(this._x - this.end) < 0.9)
- {
- this._x = this.end;
- this.star = this.end;
- delete this.onEnterFrame;
- }
- if(this.ferma == 1)
- {
- this.gotoAndPlay("close");
- delete this.onEnterFrame;
- }
- mb = 1 - (this._x - this.end) / this.gap;
- this.gotoAndStop(Math.round(mb * 15));
- };
- }
- function slide_mov(nu)
- {
- var i;
- var num;
- if(pos + nu + 3 > maxbutton)
- {
- return undefined;
- }
- if(pos + nu < 1)
- {
- return undefined;
- }
- pos += nu;
- num = nu * 45.05;
- slide.step = num;
- slide.end -= num;
- slide.onEnterFrame = function()
- {
- this._x -= (- this.end + this._x) / 10;
- if(Math.abs(this._x - this.end) < 0.5)
- {
- this._x = this.end;
- delete this.onEnterFrame;
- }
- };
- }
- slide.end = slide._x;
- slide.alone.star = slide.alone._x;
- slide.alone.end = slide.alone._x;
- slide.alone.pos = 1;
- i = 1;
- while(i <= maxbutton)
- {
- slide["b" + i]._visible = 1;
- slide["n" + i]._visible = 1;
- i++;
- }
- if(maxbutton < 4)
- {
- }
- slide.alone._visible = 1;
- stop();
-