#1
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.
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
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