flex - When do the properties in a mxml declaration get committed to the object? -


अगर मैं ऐसा कुछ करता हूं:

  & lt; myComponent id = "foo" title = "बार" / & gt;  

पैरामीटर घटक के भीतर तत्काल उपलब्ध नहीं दिखता है। जब नहीं वे उपलब्ध हो जाएं?

फ़्लेक्स डॉक्स से:

  फ्लेक्स निर्माण को तैयार करता है घटक के लिए एक बार पूरी तरह से तैयार किया जाता है घटक के बाद निर्मित और आरम्भ किया जाता है  

एक बार एक घटक बनाया और आरम्भ किया गया है, आप इसके गुणों का उपयोग कर सकते हैं। याद रखें, सभी बच्चों के घटक उनके माता-पिता के पहले बनाए जाते हैं और आरम्भ होते हैं।


Comments

Popular posts from this blog

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net - getting a value of selected radiobutton in LoadViewState -