first commit
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
on(press){
|
||||
if(isEnabled)
|
||||
{
|
||||
SetState("_down");
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
on(release){
|
||||
if(isEnabled)
|
||||
{
|
||||
SetState("_over");
|
||||
TriggerGlow();
|
||||
}
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnClicked"),"");
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
on(rollOut){
|
||||
if(isEnabled)
|
||||
{
|
||||
SetState("_up");
|
||||
}
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnRollOut"),"");
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
on(rollOver){
|
||||
if(isEnabled)
|
||||
{
|
||||
SetState("_over");
|
||||
}
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnRollOver"),"");
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
on(release){
|
||||
_parent.OnOpenButtonClicked();
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
on(rollOut){
|
||||
_parent.OnRollOutOpenButton();
|
||||
if(_parent._parent.openAdvancedCommandsButtonEnabled)
|
||||
{
|
||||
gotoAndStop("_up");
|
||||
play();
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
on(rollOver){
|
||||
_parent.OnRollOverOpenButton();
|
||||
if(_parent._parent.openAdvancedCommandsButtonEnabled)
|
||||
{
|
||||
gotoAndStop("_over");
|
||||
play();
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
on(release){
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(_parent,"OnPortraitRelease"),"");
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
on(rollOut){
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(_parent,"OnPortraitRollOut"),"");
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
on(rollOver){
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(_parent,"OnPortraitRollOver"),"");
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
function OnCurrentFactionChanged(faction)
|
||||
{
|
||||
gotoAndPlay(faction);
|
||||
}
|
||||
function onUnload()
|
||||
{
|
||||
_root.DetachFactionObserver(this);
|
||||
delete OnCurrentFactionChanged;
|
||||
delete onUnload;
|
||||
}
|
||||
if(!factionSkinned)
|
||||
{
|
||||
gotoAndPlay(_root.GetCurrentFaction());
|
||||
_root.AttachFactionObserver(this);
|
||||
factionSkinned = true;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+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(!factionSkinned)
|
||||
{
|
||||
gotoAndPlay(_root.GetCurrentFaction());
|
||||
_root.AttachFactionObserver(this);
|
||||
factionSkinned = true;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+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(!factionSkinned)
|
||||
{
|
||||
gotoAndPlay(_root.GetCurrentFaction());
|
||||
_root.AttachFactionObserver(this);
|
||||
factionSkinned = 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(!factionSkinned)
|
||||
{
|
||||
gotoAndPlay(_root.GetCurrentFaction());
|
||||
_root.AttachFactionObserver(this);
|
||||
factionSkinned = true;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+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(!factionSkinned)
|
||||
{
|
||||
gotoAndPlay(_root.GetCurrentFaction());
|
||||
_root.AttachFactionObserver(this);
|
||||
factionSkinned = true;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+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(!factionSkinned)
|
||||
{
|
||||
gotoAndPlay(_root.GetCurrentFaction());
|
||||
_root.AttachFactionObserver(this);
|
||||
factionSkinned = true;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+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(!factionSkinned)
|
||||
{
|
||||
gotoAndPlay(_root.GetCurrentFaction());
|
||||
_root.AttachFactionObserver(this);
|
||||
factionSkinned = true;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+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(!factionSkinned)
|
||||
{
|
||||
gotoAndPlay(_root.GetCurrentFaction());
|
||||
_root.AttachFactionObserver(this);
|
||||
factionSkinned = true;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+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(!factionSkinned)
|
||||
{
|
||||
gotoAndPlay(_root.GetCurrentFaction());
|
||||
_root.AttachFactionObserver(this);
|
||||
factionSkinned = true;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+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(!factionSkinned)
|
||||
{
|
||||
gotoAndPlay(_root.GetCurrentFaction());
|
||||
_root.AttachFactionObserver(this);
|
||||
factionSkinned = true;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+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(!factionSkinned)
|
||||
{
|
||||
gotoAndPlay(_root.GetCurrentFaction());
|
||||
_root.AttachFactionObserver(this);
|
||||
factionSkinned = true;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+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(!factionSkinned)
|
||||
{
|
||||
gotoAndPlay(_root.GetCurrentFaction());
|
||||
_root.AttachFactionObserver(this);
|
||||
factionSkinned = true;
|
||||
}
|
||||
+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