【发布时间】:2011-11-07 13:11:00
【问题描述】:
如果{manager}为空,如何隐藏办公室经理?
<mx:Text id="lblManager" text="Office manager: {manager}" width="220" height="20"/>
【问题讨论】:
标签: flash-builder mxml
如果{manager}为空,如何隐藏办公室经理?
<mx:Text id="lblManager" text="Office manager: {manager}" width="220" height="20"/>
【问题讨论】:
标签: flash-builder mxml
试试这个。您还可以测试“manager”是否为空:
<mx:Text id="lblManager" visible="{manager.length > 0}" text="Office manager: {manager}" width="220" height="20"/>
【讨论】: