first commit

This commit is contained in:
2026-06-14 01:40:04 +02:00
commit 5511354783
4787 changed files with 103543 additions and 0 deletions
@@ -0,0 +1,69 @@
function SetHeight(newHeight)
{
var _loc1_ = topPiece._height + bottomPiece._height;
if(newHeight < _loc1_)
{
newHeight = _loc1_;
}
middlePiece._height = newHeight - _loc1_;
bottomPiece._y = middlePiece._y + middlePiece._height;
bttnHeight = newHeight;
if(bttn != undefined)
{
bttn._height = bttnHeight;
}
}
function HandlePress()
{
gotoAndStop("_down");
play();
if(ourMouseListener == undefined)
{
dragStartY = _Y;
dragStartYMouse = _root._ymouse;
this.createEmptyMovieClip("ourMouseListener",0);
ourMouseListener.onMouseMove = function()
{
this._parent.HandleMouseMove();
};
ourMouseListener.onMouseUp = function()
{
delete this._parent.ourMouseListener;
this.removeMovieClip();
};
}
}
function HandleRelease()
{
gotoAndStop("_over");
play();
}
function HandleRollOver()
{
gotoAndStop("_over");
play();
}
function HandleRollOut()
{
gotoAndStop("_up");
play();
}
function HandleMouseMove()
{
_parent.OnThumbDrag(this,dragStartY + (_root._ymouse - dragStartYMouse));
}
function onUnload()
{
if(ourMouseListener != undefined)
{
ourMouseListener.removeMovieClip();
delete ourMouseListener;
}
delete SetHeight;
delete HandlePress;
delete HandleRelease;
delete HandleRollOver;
delete HandleRollOut;
delete HandleMouseMove;
delete onUnload;
}
@@ -0,0 +1,3 @@
topPiece.gotoAndPlay("_disabled");
middlePiece.gotoAndPlay("_disabled");
bottomPiece.gotoAndPlay("_disabled");
@@ -0,0 +1,3 @@
onClipEvent(load){
param = _parent.param.middlePiece;
}
@@ -0,0 +1,3 @@
onClipEvent(load){
param = _parent.param.bottomPiece;
}
@@ -0,0 +1,3 @@
onClipEvent(load){
param = _parent.param.topPiece;
}
@@ -0,0 +1,3 @@
topPiece.gotoAndPlay("_up");
middlePiece.gotoAndPlay("_up");
bottomPiece.gotoAndPlay("_up");
@@ -0,0 +1,6 @@
onClipEvent(load){
if(_parent.bttnHeight != undefined)
{
_height = _parent.bttnHeight;
}
}
@@ -0,0 +1,3 @@
topPiece.gotoAndPlay("_over");
middlePiece.gotoAndPlay("_over");
bottomPiece.gotoAndPlay("_over");
@@ -0,0 +1,3 @@
topPiece.gotoAndPlay("_down");
middlePiece.gotoAndPlay("_down");
bottomPiece.gotoAndPlay("_down");