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,3 @@
on(press){
_parent.HandlePress();
}
@@ -0,0 +1,3 @@
on(release){
_parent.HandleRelease();
}
@@ -0,0 +1,4 @@
on(releaseOutside){
_parent.HandleRelease();
_parent.HandleRollOut();
}
@@ -0,0 +1,3 @@
on(rollOut){
_parent.HandleRollOut();
}
@@ -0,0 +1,3 @@
on(rollOver){
_parent.HandleRollOver();
}
@@ -0,0 +1,5 @@
on(press){
_parent.OnScrollButtonPress(this);
gotoAndStop("_down");
play();
}
@@ -0,0 +1,4 @@
on(release){
gotoAndStop("_over");
play();
}
@@ -0,0 +1,4 @@
on(rollOut){
gotoAndStop("_up");
play();
}
@@ -0,0 +1,4 @@
on(rollOver){
gotoAndStop("_over");
play();
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!initialized)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
initialized = true;
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!initialized)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
initialized = true;
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!initialized)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
initialized = true;
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!initialized)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
initialized = true;
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!initialized)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
initialized = true;
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!initialized)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
initialized = true;
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!initialized)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
initialized = true;
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!initialized)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
initialized = true;
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!initialized)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
initialized = true;
}
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!initialized)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
initialized = true;
}
@@ -0,0 +1,40 @@
function SetHeight(newHeight)
{
frame._height = newHeight;
background._height = newHeight;
bttnHeight = newHeight;
if(bttn != undefined)
{
bttn._height = bttnHeight;
}
}
function HandlePress()
{
}
function HandleRelease()
{
_parent.OnSliderBarClicked(this);
}
function HandleRollOver()
{
gotoAndStop("_over");
play();
}
function HandleRollOut()
{
gotoAndStop("_up");
play();
}
function onUnload()
{
delete SetHeight;
delete HandlePress;
delete HandleRelease;
delete HandleRollOver;
delete HandleRollOut;
delete onUnload;
}
if(!initialized)
{
initialized = true;
}
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.disabledImage,"Image",0);
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.upImage,"Image",0);
@@ -0,0 +1,6 @@
onClipEvent(load){
if(_parent.bttnHeight != undefined)
{
_height = _parent.bttnHeight;
}
}
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.overImage,"Image",0);
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.disabledImage,"Image",0);
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.upImage,"Image",0);
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.overImage,"Image",0);
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.downImage,"Image",0);
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.disabledImage,"Image",0);
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.upImage,"Image",0);
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.overImage,"Image",0);
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.downImage,"Image",0);
@@ -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");
@@ -0,0 +1,4 @@
if(!initialized)
{
initialized = true;
}
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.disabledImage,"Image",0);
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.upImage,"Image",0);
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.overImage,"Image",0);
@@ -0,0 +1 @@
ImageLoader.attachMovie(param.downImage,"Image",0);
@@ -0,0 +1,16 @@
function OnCurrentFactionChanged(faction)
{
gotoAndPlay(faction);
}
function onUnload()
{
_root.DetachFactionObserver(this);
delete OnCurrentFactionChanged;
delete onUnload;
}
if(!initialized)
{
gotoAndPlay(_root.GetCurrentFaction());
_root.AttachFactionObserver(this);
initialized = true;
}

Some files were not shown because too many files have changed in this diff Show More