인류 역사에 존재하는 모든 게임 마스터하기
검색
로그인 등록
Name
0 / 2730
0
알림
99

내 계정

환경설정 로그아웃

알림

새 알림 없음.

언어

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

토론방 > 일반 토의

lobby.showChatInput () 문제

글쓴이 alen
2012-04-27 20:19:20
#1
alen
4
(번역 - Microsoft) 좋아, 그래서 나는 "로비"의 인스턴스 이름으로 내 무대에 로비 구성 요소의 instace가

인스턴스 이름이 b_btn 버튼

내 코드는

b_btn.addEventListener (마우스 이벤트:클릭, showChat);

기능 쇼챗(e:MouseEvent): 무효
{
lobby.showChat입력();
}

버튼을 클릭하면 x 0, y 0에서 채팅 입력을 얻고 채팅 입력의 오른쪽 하단 모서리만 볼 수 있습니다.

또한 채팅 입력의 작은 화살표는 측면을 전환 유지합니다.
(원본) 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.
글쓴이 alen
2012-04-27 20:19:20
좋아요
댓글
#2
alen
(번역 - Microsoft) 로비는 채팅 버블의 위치를 얻기 위해 getChatBubblePosition를 호출합니다. 우리는 방금 로비 모듈을 업데이트하여 이 함수의 이름을 설정하는 데 필요한 작업GetChatBubblePosition을 가지고 있으며 이 기능에 대한 설명에도 포함되어 있습니다.
(원본) 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.
글쓴이 Novel Games
2012-04-30 11:15:11
좋아요
댓글

답글 게시

답변을 게시하려면 로그인해야 합니다
로그인 등록
#1에 대한 답변
내용을 입력하세요
글쓴이 %s
댓글 올리기
입력 중...
답변 게시 실패. 다시 시도하세요. 닫기