flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33716) Error: The style 'disabledAlpha' is only supported by type 'SparkSkin' with the theme(s) 'spark,mobile'
Date Tue, 17 Sep 2013 13:18:52 GMT

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

Alex Harui commented on FLEX-33716:
-----------------------------------

Where is the baked-in default theme set?  Is it in code?  Somedays, I think Falcon doesn't
have to be 100% compatible with MXMLC and shouldn't bake stuff like a default theme in code.

flex-config.xml has a <theme> tag.  air-config.xml doesn't.  All of my errors like this
in a real-world test case went away when I copied the flex-config.xml <theme> tag to
air-config.xml.  I'd say the SDK should add a <theme> tag to air-config.xml, but that
will be logistically complex when people overlay AIR SDKs.

Another option is that we teach Falcon to also find a flex-config for configname+=air and
use <theme> tag it finds there.  But having a default in code doesn't seem right to
me.

Thoughts?
                
> Error: The style 'disabledAlpha' is only supported by type 'SparkSkin' with the theme(s)
'spark,mobile'
> -------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33716
>                 URL: https://issues.apache.org/jira/browse/FLEX-33716
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Falcon
>    Affects Versions: Apache Falcon 1.0
>            Reporter: Cyrill Zadra
>            Assignee: Darrell Loverin
>             Fix For: Apache Falcon 1.0
>
>         Attachments: flex-33716.patch
>
>
> C:\dev\apache-flex\sdk\frameworks\projects\sparkskins\src\mx\skins\spark\SliderTrackSkin.mxml:32
> Error: The style 'disabledAlpha' is only supported by type 'SparkSkin' with the theme(s)
'spark,mobile'.
>     height="11" width="200" disabledAlpha="0.5">
> sdk\frameworks\projects\sparkskins\src\mx\skins\spark\SliderTrackSkin.mxml:32
> sdk\frameworks\projects\sparkskins\src\mx\skins\spark\SliderTrackHighlightSkin.mxml:31
> sdk\frameworks\projects\sparkskins\src\mx\skins\spark\RadioButtonSkin.mxml:33
> sdk\frameworks\projects\sparkskins\src\mx\skins\spark\CheckBoxSkin.mxml:33

--
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

Mime
View raw message