first commit
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
if(!initialized)
|
||||
{
|
||||
var baseMessageHeight = messageMC._height;
|
||||
messageMC.field.text = "$" + qualifyName(_parent,"Message") + "&outline";
|
||||
messageMC.field.autoSize = "left";
|
||||
messageMC.field._height;
|
||||
var actualMessageHeight = messageMC._height;
|
||||
if(actualMessageHeight > baseMessageHeight)
|
||||
{
|
||||
var heightIncrease = actualMessageHeight - baseMessageHeight;
|
||||
middleMC._height += heightIncrease;
|
||||
bottomMC._y += heightIncrease;
|
||||
backgroundMC._height += heightIncrease;
|
||||
}
|
||||
initialized = true;
|
||||
}
|
||||
stop();
|
||||
@@ -0,0 +1,22 @@
|
||||
function Close()
|
||||
{
|
||||
if(!closing)
|
||||
{
|
||||
gotoAndStop("_close");
|
||||
play();
|
||||
closing = true;
|
||||
}
|
||||
}
|
||||
function onUnload()
|
||||
{
|
||||
delete Close;
|
||||
delete onUnload;
|
||||
}
|
||||
if(!initialized)
|
||||
{
|
||||
_parent.OnContentLoaded(this);
|
||||
closing = false;
|
||||
initialized = true;
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnInitialized"),"");
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
stop();
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnClosed"),"");
|
||||
@@ -0,0 +1 @@
|
||||
stop();
|
||||
@@ -0,0 +1 @@
|
||||
Message
|
||||
Reference in New Issue
Block a user