人類の歴史に存在するゲームをすべてマスターしよう
検索
ログイン 登録
Name
0 / 2730
0
通知
99

ユーザーアカウント

設定 ログアウト

通知

新しい通知はありません。

言語

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

フォーラム > 一般的なディスカッション

ロビー.ショーチャット入力()問題

投稿者 alen
2012-04-27 20:19:20
#1
alen
8
(翻訳者 Microsoft) さて、私は「ロビー」のインスタンス名で私のステージ上のロビーコンポーネントのインスタシーを持っています

b_btnのインスタンス名を持つボタン

私のコードは

b_btn.addEventリスナー(マウスイベント:クリック、ショーチャット);

機能ショーチャット(e:マウスイベント):ボイド
{
ロビー.ショーチャット入力();
}

私はボタンをクリックすると、私は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
返答を投稿
送信中。。
返信されませんでした。もう1度返信してください。 閉じる