Select to view content in your preferred language

HeaderController Background Image

638
1
04-17-2011 02:27 PM
MGSethe
Deactivated User
Dear all, I have managed to change my headercontroller to a differerent background color.
I need to have the Image on the background as well, Has anyone managed to get this right, Please help.

Golden
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Golden,

   You have to embed the assets in the BorderContainer's backgroundImage property.

This code that is in the HeaderControllerWidget.mxml

<s:BorderContainer id="headerContent"
         width="100%"
         height="{headerGroup.height - 45}"   
         backgroundAlpha="{getStyle('contentBackgroundAlpha')}"
         backgroundColor="{getStyle('contentBackgroundColor')}"
         backgroundImage="@Embed(source='assets/images/de.png')">


Be sure to post Flex Viewer questions like this to the Flex Viewer forum.

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex
0 Kudos