我使用標籤綁定對象。它給了我這個警告。 我已經寫了follwing代碼Flex警告:多個標記..數據綁定將無法檢測到對象的分配
S:標籤寬度= 「296」 HEIGHT = 「20」 fontSize的= 「18」 文本= 「{} obj.companyParty_Name」
其中companyParty_Name是在OBJ的場我想要在標籤上顯示
上述警告是什麼意思?
我使用標籤綁定對象。它給了我這個警告。 我已經寫了follwing代碼Flex警告:多個標記..數據綁定將無法檢測到對象的分配
S:標籤寬度= 「296」 HEIGHT = 「20」 fontSize的= 「18」 文本= 「{} obj.companyParty_Name」
其中companyParty_Name是在OBJ的場我想要在標籤上顯示
上述警告是什麼意思?
財產companyParty_Name是不可綁定的。
爲了使報警消失,你需要添加屬性定義上面的註釋[綁定]。像這樣:
[Bindable]
private var companyParty_Name:*;
我有同樣的警告,此代碼
<mx:DateField id="buy_expiry_date" disabledRanges="{[{
rangeEnd: new Date(today.year,today.month,today.date - 1)
}]}"/>
於是我改成了
<mx:DateField id="buy_expiry_date" disabledRanges="{[{
rangeEnd: new Date(today.getFullYear(),today.getMonth(),today.getDate() - 1)
}]}"/>
它停止警告我。