flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olaf Krüger (JIRA) <j...@apache.org>
Subject [jira] [Updated] (FLEX-34694) Flatspark: Setting Applications "chromeColor" style throws error
Date Sat, 27 Dec 2014 18:44:13 GMT

     [ https://issues.apache.org/jira/browse/FLEX-34694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olaf Krüger updated FLEX-34694:
-------------------------------
    Component/s: FlatSpark

> Flatspark: Setting Applications "chromeColor" style throws error
> ----------------------------------------------------------------
>
>                 Key: FLEX-34694
>                 URL: https://issues.apache.org/jira/browse/FLEX-34694
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlatSpark
>    Affects Versions: Apache Flex 4.14.0
>            Reporter: Olaf Krüger
>            Assignee: Mahmoud Ali
>             Fix For: Apache Flex 4.14.0
>
>         Attachments: screenshot-1.png
>
>
> Using the coding below results in an "ReferenceError: Error #1069: Property iconDisplay
not found on flatspark.skins.ButtonSkin and there is no default value." (see attachment)
> {code:title=mxml:|borderStyle=solid}
> <?xml version="1.0" encoding="utf-8"?>
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
> 			   xmlns:s="library://ns.adobe.com/flex/spark" 
> 			   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
> 			   xmlns:flatspark="flatspark.components.*"
> 			   creationComplete="init()" >
> 	<fx:Script>
> 		<![CDATA[
> 			import mx.core.FlexGlobals;
> 			private function init():void {
> // Without this there's no problem:
> FlexGlobals.topLevelApplication.setStyle("chromeColor", 0xFFFFFF);
> 			}
> 		]]>
> 	</fx:Script>
> 	<s:Button label="Test it"  skinClass="flatspark.skins.ButtonSkin" />
> </s:Application>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message