मानव इतिहास में सभी गेम में निपुण होना
खोजे
लॉग इन पंजीकृत करें
Name
0 / 2730
0
अधिसूचना
99

आपका खाता

सेटिंग लॉग आउट

अधिसूचना

आपके लिए कोई नई नोटिफिकेशंस नहीं हैं।

भाषा

English 繁體中文 简体中文 Español 日本語 Português Deutsch العربية français Русский 한국어
मेनू

मंच > सामान्य चर्चा

लॉबी.showChatInput () समस्या

द्वारा alen
2012-04-27 20:19:20
#1
alen
5
(Microsoft द्वारा अनुवादित) ठीक है, तो मैं "लॉबी" के उदाहरण के नाम के साथ मेरे मंच पर लॉबी घटक का इंस्टा है

b_btn के एक उदाहरण नाम के साथ एक बटन

मेरा कोड है

b_btn.addEventListener (MouseEvent:Click, showChat);

समारोह शोचैट (ई: माउसइवेंट):शून्य
{
लॉबी.showChatInput ();
}

जब मैं बटन पर क्लिक करता हूं तो मुझे एक्स 0, वाई 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 को कॉल करेगी। हमने इस फ़ंक्शन का नाम सेट करने के लिए आपके लिए एक्शनगेटचबबलपोशन करने के लिए लॉबी मॉड्यूल को अपडेट किया है, हमने इस फ़ंक्शन के बारे में मैनुअल में स्पष्टीकरण भी शामिल किया है।
(मूल) 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
उत्तर डालें
सबमिट कर रहा है...
जवाब पोस्ट करना विफल। कृपया दोबारा प्रयास करें। बंद