joshtynjala commented on issue #1131:
URL: https://github.com/apache/royale-asjs/issues/1131#issuecomment-915403087
@estanglerbm I cannot reproduce this issue. I tried the following code, and
the compiler correctly reported that the two skin states were missing:
```actionscript
// MyComponent.as
package
{
import mx.core.UIComponent;
[SkinState("test1")]
[SkinState("test2")]
public class MyComponent extends UIComponent
{
public function MyComponent()
{
}
}
}
```
```mxml
// MySkin.mxml
<spark:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:spark="library://ns.apache.org/royale/spark">
<fx:Metadata>
[HostComponent("MyComponent")]
</fx:Metadata>
</spark:SparkSkin>
```
Could you have forgotten the `[HostComponent]` metadata? Which component
were you trying to create a skin for?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]