Thursday, March 26, 2009

Flex - Using panel ( mx:Panel ) with panel styles

Panel is like a container in the flex where we show image, text, vertical lines, horizontal lines, boxes etc.

This panel will contain the contents, where the coding will be


     MXML Code:
<mx:application mx="http://www.adobe.com/2006/mxml" layout="absolute">

<mx:panel backgroundcolor="#ff00ff">
<mx:image source="image.png">
</mx:image>
</mx:panel>
</mx:application>

No comments:

Post a Comment