I want to replace the default title of the header with my image in Flex Panel.
+1
A:
I don't actually think this is possible with the built in panel. My recommendation would be to either create your own container that allows you to put an image in the header (quite complicated) or to create a composite component that has an image for its header and an area to add content e.g.
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" >
<mx:Image src="someImage.jpg" />
<mx:Canvas>
<!-- add content here -->
</mx:Canvas>
</mx:VBox>
James Hay
2009-07-24 11:47:48
A:
I know this is old, but panels have the property titleIcon which can be set to a class to do this.
titleIcon="@Embed('img/image.png')"
invertedSpear
2009-12-28 21:47:09