0
谢谢你的时间。Flex中的数学:我如何将数字和显示结果添加为标签?
我有两个数值的标签,我想加在一起。
<s:Label id="cost_1" x="261" y="138" text="150" />
<s:Label id="cost_2" x="280" y="138" text="220"/>
<s:Label id="totals" x="291" y="138" text=""/>
我需要第三个标签(id =“totals”)来直观地显示前两个标签的总和。 (150 + 220 = totals.text)
谢谢!
谢谢!像梦一样工作! – Daynis