You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mahmoud Ali (JIRA)" <ji...@apache.org> on 2014/12/18 23:12:13 UTC

[jira] [Assigned] (FLEX-34694) Flatspark: Setting Applications "chromeColor" style throws error

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

Mahmoud Ali reassigned FLEX-34694:
----------------------------------

    Assignee: Mahmoud Ali

> 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
>    Affects Versions: Apache Flex 4.14.0
>            Reporter: Olaf Krüger
>            Assignee: Mahmoud Ali
>         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)