Domanda

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>
È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top