레이블이 클래스인 게시물을 표시합니다. 모든 게시물 표시
레이블이 클래스인 게시물을 표시합니다. 모든 게시물 표시

2010년 4월 3일 토요일

AS3.0 Package 외부에 클래스 정의하기

"one class in each file can be made available to code that is external to that file. In other words, only one class in each file can be declared inside a package declaration. You must declare any additional classes outside your package definition, which makes those classes invisible to code outside that source file. The name of the class declared inside the package definition must match the name of the source file."

추가적인 클래스들을 패키지 밖에 정의할 수 있고 이렇게 정의된 클래스는 소스코드 밖에서는 보이지 않게 된다.

2009년 11월 30일 월요일

필요한 것

+ 리스트와 맵으로 자식 객체에 접근이 가능한 상위 클래스.

+ 한 컴포넌트 내에서 발생하는 마우스 이벤트를 조합하여 드래그앤드롭의 수락, 처리를 담당하는 클래스와 구현하면 이 클래스가 발생하는 정보를 넘겨 쉽게 사용할 수 있게 하는 인터페이스.