Novel Games - Mastering All the Games in Human History
search
Log In Register
Name
0 / 2735
0
Notifications
99

Your Account

Settings Log Out

Notifications

You have no new notifications.

Language

繁體中文 简体中文 Español 日本語 Português Deutsch العربية français Русский 한국어 भारतीय
Menu

Forums > General Discussion

lobby.showChatInput() problem

by alen
2012-04-27 20:19:20
#1
alen
1
Alright, so i have the instace of the lobby component on my stage with instance name of "lobby"

a button with an instance name of b_btn

my code is

b_btn.addEventListener(MouseEvent:Click, showChat);

function showChat(e:MouseEvent):void
{
lobby.showChatInput();
}

when i click the button i get the chat input at x 0, y 0 and can only see the bottom right corner of the chat input.

also the little arrow on chat input keeps switching sides.
by alen
2012-04-27 20:19:20
Like
Reply
#2
alen
The lobby will call getChatBubblePosition to get the position of the chat bubble. We have just updated the lobby module to have a actionGetChatBubblePosition for you to set the name of this function, we have also included explanation in the manual about this function.
by Novel Games
2012-04-30 11:15:11
Like
Reply

Post a Reply

You must log in to post a reply
Log In Register
In reply to #1:
Please enter a message
by %s
Post Reply
Submitting...
Post reply failed. Please try again. Close