first commit
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 90 B |
+4
@@ -0,0 +1,4 @@
|
||||
on(release){
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnClicked"),"");
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
on(rollOut){
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnRollOut"),"");
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
on(rollOver){
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnRollOver"),"");
|
||||
}
|
||||
+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();
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
pulseCount = 5;
|
||||
play();
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
if(--pulseCount > 0)
|
||||
{
|
||||
gotoAndStop("_loop");
|
||||
play();
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
stop();
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
function Move(x, y)
|
||||
{
|
||||
var _loc3_ = _parent;
|
||||
while(_loc3_ != _root)
|
||||
{
|
||||
x -= _loc3_._x;
|
||||
y -= _loc3_._y;
|
||||
_loc3_ = _loc3_._parent;
|
||||
}
|
||||
_X = x;
|
||||
_Y = y;
|
||||
}
|
||||
function SetVisibility(visibleArg)
|
||||
{
|
||||
_visible = visibleArg != 0;
|
||||
}
|
||||
function IndicateNewness()
|
||||
{
|
||||
newness.gotoAndPlay("_play");
|
||||
}
|
||||
function GetPopUpStage()
|
||||
{
|
||||
return Pointer.encode(popUpStage);
|
||||
}
|
||||
function onUnload()
|
||||
{
|
||||
delete Move;
|
||||
delete SetVisibility;
|
||||
delete IndicateNewness;
|
||||
delete GetPopUpStage;
|
||||
delete onUnload;
|
||||
}
|
||||
if(!initialized)
|
||||
{
|
||||
primary.gotoAndPlay(category);
|
||||
bonus.gotoAndPlay(category);
|
||||
if(isBonus)
|
||||
{
|
||||
primary._visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
bonus._visible = false;
|
||||
}
|
||||
newness.gotoAndStop(1);
|
||||
initialized = true;
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnInitialized"),"");
|
||||
if(!extern.InGame)
|
||||
{
|
||||
IndicateNewness();
|
||||
}
|
||||
}
|
||||
stop();
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
onClipEvent(load){
|
||||
text = "$" + qualifyName(_parent,"Ordinal");
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
function SetIsBonus(val)
|
||||
{
|
||||
isBonus = val;
|
||||
icon.gotoAndPlay(!isBonus ? "_primary" : "_bonus");
|
||||
}
|
||||
function SetOrdinalText(val)
|
||||
{
|
||||
marker.textClip.textVar = val;
|
||||
}
|
||||
function onUnload()
|
||||
{
|
||||
delete SetIsBonus;
|
||||
delete SetOrdinalText;
|
||||
delete onUnload;
|
||||
}
|
||||
if(!initialized)
|
||||
{
|
||||
isBonus = false;
|
||||
_parent.OnContentLoaded(this);
|
||||
initialized = true;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
3
|
||||
Reference in New Issue
Block a user