first commit
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 118 B |
Binary file not shown.
|
After Width: | Height: | Size: 118 B |
+3
@@ -0,0 +1,3 @@
|
||||
on(press){
|
||||
_parent.HandlePress();
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
on(release){
|
||||
_parent.HandleRelease();
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
on(releaseOutside){
|
||||
_parent.HandleRelease();
|
||||
_parent.HandleRollOut();
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
on(rollOut){
|
||||
_parent.HandleRollOut();
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
on(rollOver){
|
||||
_parent.HandleRollOver();
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
on(press){
|
||||
_parent.OnScrollButtonPress(this);
|
||||
gotoAndStop("_down");
|
||||
play();
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
on(release){
|
||||
gotoAndStop("_over");
|
||||
play();
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
on(rollOut){
|
||||
gotoAndStop("_up");
|
||||
play();
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
on(rollOver){
|
||||
gotoAndStop("_over");
|
||||
play();
|
||||
}
|
||||
+16
@@ -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;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+16
@@ -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;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+16
@@ -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;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+16
@@ -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;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+16
@@ -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;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+16
@@ -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;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+16
@@ -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;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+16
@@ -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;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+16
@@ -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;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+16
@@ -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;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
_visible = false;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
onClipEvent(load){
|
||||
_visible = false;
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
onClipEvent(load){
|
||||
_visible = false;
|
||||
}
|
||||
+40
@@ -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;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.disabledImage,"Image",0);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.upImage,"Image",0);
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
onClipEvent(load){
|
||||
if(_parent.bttnHeight != undefined)
|
||||
{
|
||||
_height = _parent.bttnHeight;
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.overImage,"Image",0);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.disabledImage,"Image",0);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.upImage,"Image",0);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.overImage,"Image",0);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.downImage,"Image",0);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.disabledImage,"Image",0);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.upImage,"Image",0);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.overImage,"Image",0);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.downImage,"Image",0);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+69
@@ -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;
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
topPiece.gotoAndPlay("_disabled");
|
||||
middlePiece.gotoAndPlay("_disabled");
|
||||
bottomPiece.gotoAndPlay("_disabled");
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
onClipEvent(load){
|
||||
param = _parent.param.middlePiece;
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
onClipEvent(load){
|
||||
param = _parent.param.bottomPiece;
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
onClipEvent(load){
|
||||
param = _parent.param.topPiece;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
topPiece.gotoAndPlay("_up");
|
||||
middlePiece.gotoAndPlay("_up");
|
||||
bottomPiece.gotoAndPlay("_up");
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
onClipEvent(load){
|
||||
if(_parent.bttnHeight != undefined)
|
||||
{
|
||||
_height = _parent.bttnHeight;
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
topPiece.gotoAndPlay("_over");
|
||||
middlePiece.gotoAndPlay("_over");
|
||||
bottomPiece.gotoAndPlay("_over");
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
topPiece.gotoAndPlay("_down");
|
||||
middlePiece.gotoAndPlay("_down");
|
||||
bottomPiece.gotoAndPlay("_down");
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
if(!initialized)
|
||||
{
|
||||
initialized = true;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.disabledImage,"Image",0);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.upImage,"Image",0);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.overImage,"Image",0);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
ImageLoader.attachMovie(param.downImage,"Image",0);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user