小小菜鸟的web菜园子

web开发学习。好记性不如烂笔头。每天进步一点点!

导航

FLEX皮肤:经典WINDOWS

Picture 2 copy.png

 

You can see the live demo here. Window management in my demo is based in the SuperPanel extension implemented by Wietse Veenstra. Download skin ( 2027).

  1.  
  2. package {
  3.  
  4. import mx.containers.Panel;
  5. import mx.core.UIComponent;
  6. import mx.core.UITextField;
  7.  
  8. public class Fieldset extends Panel {
  9.  
  10. private var pTitleBar:UIComponent;
  11. private var t:UITextField = new UITextField();
  12. public var fieldsetLabel:String;
  13.  
  14. public function Fieldset() {}
  15.  
  16. override protected function createChildren():void {
  17. super.createChildren();
  18. this.pTitleBar = super.titleBar;
  19. t.text = fieldsetLabel;
  20. t.background = true;
  21. t.backgroundColor = 0xD4D0C8;
  22. this.pTitleBar.addChild(t);
  23. }
  24. }
  25. }
  26.  

shapeimage_2.png

 

 

来自:http://www.mindtheflex.com/?p=3

posted on 2008-09-04 17:45  『小小菜鸟』  阅读(1145)  评论(0编辑  收藏  举报