상황
Flex 4.5 환경에서 spark.components.TextInput 를 MXML 파일로 상속받아서 새 class를 만들려고 할때에 아래와 같은 [버그 메시지]가 발생
버그 메시지
Multiple initializer values for default property, 'text', of type 'String'
해결 방법
상속 받으려는 파일을 mxml이 아닌 as 파일로 만듬
참고
http://stackoverflow.com/questions/3139486/flex-custom-component-doesnt-accept-script-multiple-initializer-values-for-def
Flex 4.5 환경에서 spark.components.TextInput 를 MXML 파일로 상속받아서 새 class를 만들려고 할때에 아래와 같은 [버그 메시지]가 발생
버그 메시지
Multiple initializer values for default property, 'text', of type 'String'
해결 방법
상속 받으려는 파일을 mxml이 아닌 as 파일로 만듬
참고
http://stackoverflow.com/questions/3139486/flex-custom-component-doesnt-accept-script-multiple-initializer-values-for-def
'개발 > Flex' 카테고리의 다른 글
Flex 3 mx:FormItemLabel 의 사용 이유 (0) | 2015.08.13 |
---|---|
Flex 3 mx:DateField 를 사용하여 range(범위)를 주기 (0) | 2015.08.13 |
Flex Drag Event 에 대한 이해 - (1) DragEvent 의 type (0) | 2011.10.17 |
FlowLayout - 자식들의 크기에 맞게 tile 형태로 배열하는 layout (0) | 2011.09.14 |
Flex 3 mx:FormItemLabel 의 사용 이유 (0) | 2011.07.13 |