개발/FLEX & AIR
BorderContainer image background 활용
내가지니
2011. 8. 24. 23:35
<?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">
<fx:Style>
.backgroundImage {
color: #808080;
fontWeight: bold;
fontSize: 18;
fontStyle: italic;
contentBackgroundColor: #FFFFFF ;
backgroundImage: Embed(pattern_143.gif);
backgroundImageFillMode: repeat;
}
</fx:Style>
<s:BorderContainer width="100%" height="600" styleName="backgroundImage">
<s:Label text="hai hai hai" />
</s:BorderContainer>
</s:Application>
<s:BorderContainer width="100%" height="100%"
backgroundImage="images/bkg/grey_grid.gif"
backgroundImageFillMode="repeat" >