first commit
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
gotoAndPlay(_parent.factionLabel);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
onClipEvent(load){
|
||||
text = "$" + qualifyName(_parent._parent,"Text") + "&Outline";
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
gotoAndPlay(_parent.factionLabel);
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
@@ -0,0 +1,36 @@
|
||||
function SetEndGameType(endGameType)
|
||||
{
|
||||
panel.gotoAndPlay(endGameType);
|
||||
}
|
||||
function SetFaction(faction)
|
||||
{
|
||||
panel.factionLabel = faction;
|
||||
panel.imageMC.gotoAndPlay(faction);
|
||||
}
|
||||
function onUnload()
|
||||
{
|
||||
delete SetEndGameType;
|
||||
delete SetFaction;
|
||||
delete onUnload;
|
||||
}
|
||||
if(!initialized)
|
||||
{
|
||||
_parent.OnContentLoaded(this);
|
||||
var backgroundX = _root.displayLeft;
|
||||
var backgroundY = _root.displayTop;
|
||||
var ancestor = this;
|
||||
while(ancestor != _root)
|
||||
{
|
||||
backgroundX -= ancestor._x;
|
||||
backgroundY -= ancestor._y;
|
||||
ancestor = ancestor._parent;
|
||||
}
|
||||
panel.background._x = backgroundX;
|
||||
panel.background._y = backgroundY;
|
||||
panel.background._width = _root.displayWidth;
|
||||
panel.background._height = _root.displayHeight;
|
||||
loopCount = 7;
|
||||
initialized = true;
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnInitialized"),"");
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
if(--loopCount > 0)
|
||||
{
|
||||
gotoAndStop("_loop");
|
||||
play();
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
stop();
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnClosed"),"");
|
||||
Reference in New Issue
Block a user