first commit
This commit is contained in:
+31
@@ -0,0 +1,31 @@
|
||||
function SetEnabled(enable)
|
||||
{
|
||||
if(enable != isEnabled)
|
||||
{
|
||||
if(enable)
|
||||
{
|
||||
gotoAndStop("_up");
|
||||
play();
|
||||
}
|
||||
else
|
||||
{
|
||||
gotoAndStop("_disabled");
|
||||
play();
|
||||
}
|
||||
isEnabled = enable;
|
||||
}
|
||||
}
|
||||
function onUnload()
|
||||
{
|
||||
delete SetEnabled;
|
||||
delete onUnload;
|
||||
}
|
||||
if(!initialized)
|
||||
{
|
||||
if(!isEnabled)
|
||||
{
|
||||
gotoAndStop("_disabled");
|
||||
play();
|
||||
}
|
||||
initialized = true;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
gotoAndStop("_up");
|
||||
play();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
Reference in New Issue
Block a user