I figured it out:
For some reason backgroundImage compiles fine, but actually the right
property is background-image.
So I did
.LeftPanel {
background-image: Embed(source=
"../img/leftPanelBg.gif",
scaleGridLeft="29",
scaleGridTop="26",
scaleGridRight="270",
scaleGridBottom="32");
}
and it worked great.
Austin Kottke wrote:
Hi, Im setting a scale 9 that is being set to a vbox. The vbox itself is
not doing any scale 9 even though I have set the background image style
to the the vbox.
<mx:VBox styleName="LeftPanel" />
.LeftPanel {
backgroundImage: Embed(source="../img/leftPanelBg.gif",
scaleGridLeft="29",
scaleGridTop="26",
scaleGridRight="270",
scaleGridBottom="32");
}
The width of the vbox is not working correctly because it shows the
background without scaling the image.
What is the problem here?