flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxime Cowez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33404) Compile error with Apache Flex 4.9 and not Adobe 4.1
Date Tue, 19 Feb 2013 09:55:12 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13581169#comment-13581169

Maxime Cowez commented on FLEX-33404:

When I compile your test case with 4.9 the compiler gives me a clear message of what's wrong
with the code:
The skin part type 'spark.components:TabBar' must be assignable to '*'.

So you just replace that '*' with 'Object' and it'll compile just fine.
That said, I would tend to be more specific when defning the types of SkinParts: if you have
absolutely no idea what kind of visual component your skinpart will be, the most generic interface
is IVisualElement.
> Compile error with Apache Flex 4.9 and not Adobe 4.1
> ----------------------------------------------------
>                 Key: FLEX-33404
>                 URL: https://issues.apache.org/jira/browse/FLEX-33404
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions: Apache Flex 4.9.0
>         Environment: WinXP 32bit
>            Reporter: tom chiverton
>         Attachments: src.zip, test skin.fxp
> I'm trying to build a project that is fine with the Adobe 4.1A SDK using the Apache 4.9
SDK, but we have a Skin that says
>     <fx:Metadata>
>         [HostComponent("com.ev.global.view.components.Dashboard")]
>     </fx:Metadata>
> Adding CDATA inside the Metadata doesn't appear to change things. 
> Attached is a reproducible test case - this compiles out of the box with the Adobe 4.1
compiler, but throws an error with the Apache 4.9 release.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message