first commit
This commit is contained in:
+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();
|
||||
Reference in New Issue
Block a user