- <xml
version=”1.0″ encoding=”utf-8″?> - <mx:Application
- xmlns:mx=”http://www.adobe.com/2006/mxml”
- layout=”vertical”>
- <mx:Button
label=”hide text” - click=”myText.visible=false;
- myText.includeInLayout=false;”
/> - <mx:Text
id=”myText” text=”hello, - this
text will be hidden or shown, - depending
on the buttons” /> - <mx:Button
label=”show text” - click=”myText.visible=true;
- myText.includeInLayout=true;”
/> - </mx:Application>
Flex隐藏空间
最新推荐文章于 2023-03-03 15:02:21 发布