[ https://issues.apache.org/jira/browse/FLEX-33385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean reassigned FLEX-33385: ------------------------------------ Assignee: Justin Mclean > titleText SkinPart in TitleBar is NOT Required but exception is thrown if not > implemented. > ------------------------------------------------------------------------------------------ > > Key: FLEX-33385 > URL: https://issues.apache.org/jira/browse/FLEX-33385 > Project: Apache Flex > Issue Type: Improvement > Components: Spark: WindowedApplication > Affects Versions: Apache Flex 4.9.0 > Reporter: Fabio Todaro > Assignee: Justin Mclean > Labels: easyfix > Original Estimate: 0h > Remaining Estimate: 0h > > Original: > override protected function commitProperties():void > { > super.commitProperties(); > if (titleChanged) > { > > titleText.text = _title; > titleChanged = false; > > } > if (titleIconChanged) > { > if (titleIconObject) > { > titleIconImage.source = null; > titleIconObject = null; > } > > if (_titleIcon && titleIconImage) > { > titleIconObject = new _titleIcon(); > titleIconImage.source = titleIconObject; > } > titleIconChanged = false; > } > > } > Solution: > override protected function commitProperties():void > { > super.commitProperties(); > if (titleChanged) > { > if(titleText) > { > titleText.text = _title; > titleChanged = false; > } > } > if (titleIconChanged) > { > if (titleIconObject) > { > titleIconImage.source = null; > titleIconObject = null; > } > > if (_titleIcon && titleIconImage) > { > titleIconObject = new _titleIcon(); > titleIconImage.source = titleIconObject; > } > titleIconChanged = false; > } > > } -- 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