Hi All.
I'm trying out Flex 4. But facing one issue.
I have created one AIR application. So the main file is WindowedApplica tion. I want to add one image which scales it. I added BorderContainer and embeded the image. Image is getting added but it is not scaling. I used CSS, but it is also not working. Please can anybody help me in fixing this...?
I'm adding the image i'm trying to use. Please anybody help me in fixing the issue.
I'm trying out Flex 4. But facing one issue.
I have created one AIR application. So the main file is WindowedApplica tion. I want to add one image which scales it. I added BorderContainer and embeded the image. Image is getting added but it is not scaling. I used CSS, but it is also not working. Please can anybody help me in fixing this...?
I'm adding the image i'm trying to use. Please anybody help me in fixing the issue.
Code:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
showStatusBar="false"
width="770" height="500">
<s:BorderContainer width="100%" height="100%"
backgroundImage="@Embed('/Images/Top_Bottom_Bar.png',
scaleGridLeft='150', scaleGridRight='650',
scaleGridTop='25', scaleGridBottom='27')">
</s:BorderContainer>
</s:WindowedApplication>