Frage

i implement a container by extending SkinnableContainer, but when i use the container in a mxml application, i can't add components with diffrent namespace into the container.

<local:MyCustomContainer>
    <s:Label text="aaa"/>   //error occurs at this line.
</local:MyCustomContainer>
War es hilfreich?

Lösung

try <local:Label text="aaa"/>

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top