2012-07-25 6 views

답변

1

동적 VO 클래스를 만드는 당, 당신은 속성을 추가하거나 제거 할 수있는 ActionScript의 dynamic class을 정의 할 수 있습니다.

public dynamic class EntityVO 
{ 
    public function EntityVO() 
    { 
    } 
} 
회원을 추가 할 수 있습니다

:

var entityVo:EntityVO = new EntityVO();  
entityVo.property1 = "New property"; 

또는 제거 :

delete entityVo.property1; 
관련 문제