| Author |
Adding Icon
|
Booma Devi
Ranch Hand
Joined: Nov 02, 2011
Posts: 61
|
|
Hi,
Can any one tell me how to display the image to the right side of alert box...
I can display the icon in the alert box through the property titleIcon.. But i want to display that icon to the right side..
|
 |
Booma Devi
Ranch Hand
Joined: Nov 02, 2011
Posts: 61
|
|
]]>
</fx:Script>
<!-- layer 1: border -->
<s:Rect left="0" right="0" top="0" bottom="0" bottomLeftRadiusX="5" topLeftRadiusX="5" topRightRadiusX="5" bottomRightRadiusY="5">
<s:fill>
<s:SolidColor color="0x4a494a" />
</s:fill>
</s:Rect>
<!-- layer 2: background fill -->
<s:Rect id="background" left="1" top="" right="1" bottom="0">
<s:fill>
<s:SolidColor color="black" id="bgFill" />
</s:fill>
<s:stroke>
<s:SolidColorStroke color="0" alpha="0.50" weight="6" />
</s:stroke>
</s:Rect>
<!-- Layer 3: background fill with color -->
<s:Rect id="back" left="1" top="1" right="1" bottom="1" bottomLeftRadiusX="5" topLeftRadiusX="5" topRightRadiusX="5" bottomRightRadiusY="5">
<s:fill>
<s:LinearGradient>
<s:entries>
<mx:GradientEntry color="0x4a494a"/>
</s:entries>
</s:LinearGradient>
</s:fill>
</s:Rect>
<mx:HBox right="0" top="4" height="26" verticalAlign="middle" buttonMode="true" useHandCursor="true" mouseChildren="false">
<s:Image id="img" source="@Embed('assets/icon_close.gif')" click="close(event)"/>
<s:Button id="closeButton" label="Close" color="white" fontSize="10"
skinClass="skins.TransparentButton"/>
</mx:HBox>
<!-- layer 4: title bar highlight -->
<s:Rect left="1" right="1" top="1" bottom="1" height="30" bottomLeftRadiusX="5" topLeftRadiusX="5" topRightRadiusX="5" bottomRightRadiusY="5">
<s:stroke>
<s:LinearGradientStroke rotation="90" weight="1">
<s:GradientEntry color="0xe4e6e4" />
<s:GradientEntry color="0xe4e6e4" />
</s:LinearGradientStroke>
</s:stroke>
</s:Rect>
<!-- layer 5: control bar background -->
<s:Rect id="cbbg" left="1" right="1" bottom="1" height="20" bottomLeftRadiusX="5" topLeftRadiusX="5" topRightRadiusX="5" bottomRightRadiusY="5">
<s:fill>
<s:SolidColor color="0xe4e6e4" />
</s:fill>
</s:Rect>
<!-- layer 6: control bar divider line -->
<s:Rect id="cbdiv" left="1" right="1" bottom="20" height="1" topLeftRadiusX="5" topRightRadiusX="5" bottomLeftRadiusX="5" bottomRightRadiusY="5">
<s:fill>
<s:SolidColor color="0xe4e6e4" />
</s:fill>
</s:Rect>
<!-- layer 7: content filling with color -->
<s:Rect id="backrev" left="1" top="30" right="1" bottom="1">
<s:fill>
<s:LinearGradient>
<s:entries>
<mx:GradientEntry color="0xe4e6e4"/>
</s:entries>
</s:LinearGradient>
</s:fill>
</s:Rect>
</s:SparkSkin>[/code]
|
 |
 |
|
|
subject: Adding Icon
|
|
|