Flex 父子窗口的数据交换

阅读更多
Flex 中父窗口和子窗口的数据交换的实现如下.
1 在Flex2中弹出式窗口的API如下
Package :  mx.managers
Class   :        PopUpManager
Methods : addPopUp(window:IFlexDisplayObject, parent:DisplayObject, modal:Boolean = false, childList:String = null):void
参数解释:
window : 要弹出的对象,这对象必须实现了IFlexDisplayObject接口,比如TitleWindow.
parent        : 子窗口的父窗口对象.
modal        : 模式弹出(true)还是非模式弹出(false).
childList        : 弹出式对象在那个对象下弹出.
                 PopUpManagerChildList.APPLICATION
                 PopUpManagerChildList.POPUP     
                 PopUpManagerChildList.PARENT (默认).
2     实例







       
       
       



------------------------------



      
       
         
         
      
       
         
      
      
       
        
      
      
       
        
      
      
       
        
      


      


-------------------------------------------
package com.demo
{
[Bindable]
public class PersonVO
{
  
      public var id : String = "";
      public var name : String = "";
      public var language : String = "";
      public var email : String = "";
      public var workYears : String = "";
      public var married : Boolean = false;
  
  
}
}

你可能感兴趣的:(Flex,VB,Perl,XML,C)