掌握人類歷史上所有遊戲
搜尋
登入 註冊
Name
0 / 2730
0
通知
99

你的戶口

設定 登出

通知

你沒有新的通知。

語言

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

討論區 > 一般討論

大廳. showchatinput () 問題。

作者 alen
2012-04-27 20:19:20
#1
alen
0
(由 Microsoft 翻譯) 好吧, 所以我的舞臺上有大廳元件的 Instace, 實例名稱為 "lobby"

具有實例名稱的b_btn。

我的代碼是。

b_btn.addEventListener(滑鼠事件:點擊,顯示聊天);

功能 showChat (e: 滑鼠事件): void。
{
lobby. showchatInput ();
}

當我點擊按鈕時, 我得到聊天輸入在 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 獲取聊天泡沫的位置。我們剛剛更新了大廳模組,以有一個操作GetChatBubble位置,供您設置這個函數的名稱,我們還在手冊中包含有關此功能的解釋。
(原文) 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
刊登回覆
正在遞交......
發表回覆失敗。請再試試。 關閉