إتقان جميع الألعاب في التاريخ البشري
بحث
تسجيل الدخول تسجيل
Name
0 / 2730
0
إشعارات
99

حسابك

إعدادات تسجيل الخروج

إشعارات

ليس لديك إشعارات جديدة.

اللغة

English 繁體中文 简体中文 Español 日本語 Português Deutsch français Русский 한국어 भारतीय
القائمة

المنتديات > الموضوعات العامة

مشكلة lobby.showChatInput()

alen بواسطة
2012-04-27 20:19:20
#1
alen
1
(تمت الترجمة بواسطة Microsoft) حسنا ، لذلك لدي instace من عنصر اللوبي على خشبة المسرح مع اسم مثيل من "اللوبي"

زر يحمل اسم مثيل b_btn

رمز بلدي هو

b_btn.addEventListener (MouseEvent: انقر فوق، showChat);

الدالة showChat(e:MouseEvent): الفراغ
{
lobby.showChatInput();
}

عندما كنت فوق الزر أحصل على إدخال الدردشة في س 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 للحصول على موقف فقاعة الدردشة. لقد قمنا بتحديث وحدة اللوبي للتو أن يكون actionGetChatBubblePosition لك لتعيين اسم هذه الوظيفة، ونحن قد أدرجت أيضا شرح في دليل حول هذه الوظيفة.
(النص الأصلي) 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 بواسطة
إضافة رد
تأكيد...
فشل نشر الرد. الرجاء المحاولة مرة أخرى. إغلاق