[
https://issues.apache.org/jira/browse/FLEX-34074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893309#comment-13893309
]
Maurice Amsellem commented on FLEX-34074:
-----------------------------------------
More testing. Weird results:
try the following:
- change [HostComponent("spark.components.Button")] to
[HostComponent("spark.components.SkinnableContainer")]
(and add "normal" state)
=> error disappear. Why ?
- change back to [HostComponent("spark.components.Button")], and remove
"normal" state
=> error does not reappear again.
Looks like a bug in the compiler and/or in Flashbuilder.
> Defining Actionscript skins in a library project is not working
> ---------------------------------------------------------------
>
> Key: FLEX-34074
> URL: https://issues.apache.org/jira/browse/FLEX-34074
> Project: Apache Flex
> Issue Type: Bug
> Components: .Unspecified - Compiler
> Affects Versions: Apache Flex 4.11.0
> Environment: Windows 7 64 bit
> Flash Builder 4.7 64 bit
> Reporter: Benjamin Chalupka
> Labels: compiler, library, skin
> Attachments: TestSkinLibrary.fxpl
>
>
> If I create for example a button skin the error following error occurs:
> "[HostComponent] class 'spark.components.Button' not found."
> MXML skins work correctly.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)