Maestría en todos los juegos de la historia de la humanidad
búsqueda
Acceder Registrarse
Name
0 / 2730
0
Notificaciones
99

Tu cuenta

Ajustes Salir

Notificaciones

No tienes nuevas notificaciones.

Idioma

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

Foros > Discusión General

problema lobby.showChatInput()

de alen
2012-04-27 20:19:20
#1
alen
1
(Traducido por Microsoft) Muy bien, así que tengo el instace del componente del lobby en mi escenario con el nombre de instancia de "lobby"

un botón con un nombre de instancia de b_btn

mi código es

b_btn.addEventListener(MouseEvent:Click, showChat);

función showChat(e:MouseEvent):void
{
lobby.showChatInput();
}

cuando hago clic en el botón obtengo la entrada de chat en x 0, y 0 y sólo puedo ver la esquina inferior derecha de la entrada de chat.

también la pequeña flecha en la entrada de chat sigue cambiando de lado.
(Original) lobby.showChatInput() problem

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.
de alen
2012-04-27 20:19:20
Me gusta
Responder
#2
alen
(Traducido por Microsoft) El lobby llamará a getChatBubblePosition para obtener la posición de la burbuja de chat. Acabamos de actualizar el módulo de lobby para tener un actionGetChatBubblePosition para que usted pueda establecer el nombre de esta función, también hemos incluido la explicación en el manual sobre esta función.
(Original) 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.
de Novel Games
2012-04-30 11:15:11
Me gusta
Responder

Enviar una respuesta

Debe iniciar la sesión para publicar una respuesta
Acceder Registrarse
En respuesta a #1:
Por favor, introduzca un mensaje
de %s
Publicar Respuesta
Enviando…
La respuesta no ha podido ser publicada. Por favor, inténtelo de nuevo. Cerrado