list - How to get the viewport element index -


मैं फ्लेक्स 4 सूची का उपयोग करता हूं:

  & lt; घटक: स्मूटसक्रोलिंग लिस्ट x = "200" y = "180" डेटाप्रदाता = "{myProvider}" आइटम रेंडरर = "myitemdrender.FriendPageItemRender" id = "मित्रापृष्ठ" माउसडाउन = "मित्रापृष्ठलेख_माउसडाउनहैंडलर (इवेंट)" & gt; & LT; घटक: लेआउट & gt; & Lt; s: क्षैतिज लेटआउट अनुरोध किया गया कॉलम कोट = "6" / & gt; & Lt; / घटक: लेआउट & gt; & Lt; / घटक: SmoothScrollingList & gt;  

जैसा कि आप देख सकते हैं, व्यूोर्ट में 6 तत्व दिखाई दे सकते हैं।

तो मैं वर्तमान व्यूपोर्ट तत्व इंडेक्स कैसे जान सकता हूँ?

पूर्व:

currentViewPortIndex है: [7] [8] [9] [10] [11] [12] < P> जहाँ तक मुझे पता है, मैं केवल उस सूचकांक को जान सकता हूँ जो मैंने पहले से ही फ़ंक्शन द्वारा चुने हैं

list.selectedIndex

ने flex4 proivde को कुछ अन्य मैं उपयोग कर सकते हैं कि समारोह?

धन्यवाद।

क्षैतिज लेटआउट में एक संपत्ति है


Comments

Popular posts from this blog

Is there an open source WebSockets (JavaScript) XMPP library? -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

iphone - How do I make a UIPickerView in a UIActionSheet -