Main.mxml
上传用户:szxykj
上传日期:2009-10-05
资源大小:322k
文件大小:1k
源码类别:

FlashMX/Flex源码

开发平台:

Flex

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" 
  3. xmlns:arcadiocarballares="com.arcadiocarballares.*"
  4. paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0" viewSourceURL="srcview/index.html">
  5. <mx:HBox width="100%" height="100%"
  6. paddingBottom="10" paddingLeft="10" paddingRight="10" paddingTop="10">
  7. <mx:VBox width="40%" height="150">
  8. <mx:HBox width="100%" height="100%" backgroundColor="#EEEEEE" horizontalAlign="center">
  9. <arcadiocarballares:Flexi id="myFlexi1" url="http://www.google.es"/>
  10. </mx:HBox>
  11. <mx:HBox>
  12. <mx:Button label="Hide" click="myFlexi1.hideIFrame()"/>
  13. <mx:Button label="Show" click="myFlexi1.showIFrame()"/>
  14. </mx:HBox>
  15. </mx:VBox>
  16. <mx:VBox width="40%" height="150">
  17. <mx:HBox width="100%" height="100%" backgroundColor="#EEEEEE" horizontalAlign="center">
  18. <arcadiocarballares:Flexi id="myFlexi2"/>
  19. </mx:HBox>
  20. <mx:HBox>
  21. <mx:Button label="Hide" click="myFlexi2.hideIFrame()"/>
  22. <mx:Button label="Show" click="myFlexi2.showIFrame()"/>
  23. </mx:HBox> 
  24. </mx:VBox> 
  25. </mx:HBox>
  26. </mx:Application>