Hi, how can I stretch an image horizontally only using scale-9?

 

I'm using the following MXML:

 

<mx:Image source="@Embed(source='/assets/TopPageSeparator.swf',
scaleGridTop='0', scaleGridBottom='39', scaleGridLeft='732',
scaleGridRight='733')"

                        y="53" width="100%" height="70"/>

 

But it's not working - the image is 39 pixels high, and for the width to
scale I must also increase the height (notice it's set to 70).

How do I get an image to scale with scale-9 horizontally? I'm not
bothered about vertical, that can just stretch as normal if required.

 

Thanks,

 

Mark

 

 

 

Reply via email to