first commit
This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
function GetCommandListBox()
|
||||
{
|
||||
return Pointer.encode(commandList);
|
||||
}
|
||||
function OnTabRollOver()
|
||||
{
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnTabRollOver"),"");
|
||||
}
|
||||
function OnTabRollOut()
|
||||
{
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnTabRollOut"),"");
|
||||
}
|
||||
function GetTabHelpSite()
|
||||
{
|
||||
return Pointer.encode(tabHelpSite);
|
||||
}
|
||||
function OnContentLoaded(contentClip)
|
||||
{
|
||||
if(contentClip == commandList)
|
||||
{
|
||||
commandList.buttonSlotWidth = 52;
|
||||
commandList.numColumns = 4;
|
||||
commandList.numVisibleRows = 5;
|
||||
}
|
||||
}
|
||||
function onUnload()
|
||||
{
|
||||
delete GetCommandListBox;
|
||||
delete OnTabRollOver;
|
||||
delete OnTabRollOut;
|
||||
delete GetTabHelpSite;
|
||||
delete OnContentLoaded;
|
||||
delete onUnload;
|
||||
}
|
||||
if(!initialized)
|
||||
{
|
||||
_parent.OnChildLoaded(this);
|
||||
commandList.loadMovie("TacticalHUDCommandListBox.swf");
|
||||
initialized = true;
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnInitialized"),"");
|
||||
}
|
||||
stop();
|
||||
Reference in New Issue
Block a user