import flash.external.ExternalInterface;
import flash.text.*;
import fl.text.*;
";
}
}
this.multi.wordWrap = true;
this.multi.multiline = true;
this.multi.selectable = true;
this.multi.defaultTextFormat = tFormat;
this.multi.x = 180;
this.multi.width = this.width - 306;
this.multi.direction = canvas.isrtl ? 'rtl' : 'ltr';
this.multi.htmlText = t;
this.multi.height = this.multi.textHeight + 12;
this.header_user.setAttribute('height', this.multi.height);
this.bg.setAttribute('height', this.multi.height - 1);
this.bg_main.setAttribute('height', this.multi.height - 1);
if ($debug) Debug.write("chatTabItemEmoticons::oninit 4", this.multi.width, this.multi.textHeight);
this.sprite.addChild(this.multi);
]]>
38) {
//If bigger then containter then scale it
var width = this.width/(this.height/38);
this.setAttribute('height',38);
this.setAttribute('width',width);
}
if (this.width > 38) {
var height = this.height/(this.width/38);
this.setAttribute('height',height);
this.setAttribute('width',38);
}
]]>
this.setAttribute('visible', false);
parent.setAttribute('visible', false);
parent.rawMessage.length = parent.rawMessage.length - 1;
parent.rawMessage[parent.rawMessage.length - 1] = false;
//if ($debug) Debug.write("!!!!!!!!!!!!! allow message ", parent, parent.rawMessage);
hib.sendChatMessageWithClient.sendMessage(parent.rawMessage);
ExternalInterface.call(func, this.userId);
if ($debug) Debug.write("Add to contacts");
parent.callJsFunction("addContact");
if ($debug) Debug.write("New Private message");
parent.callJsFunction("privateMessage");
if ($debug) Debug.write("Show info");
parent.callJsFunction("showUserInfo");
if ($debug) Debug.write("Invite user");
parent.callJsFunction("inviteUser");