2 Replies Latest reply on Aug 19, 2010 3:40 AM by Sudhir Jena

    Query: How does scale9grid work with bitmap images?

    Sudhir Jena

      I have a custom component I use as website header built in flash catalyst. Below is the code for the component.


      <?xml version="1.0" encoding="utf-8"?>
      <s:Group xmlns:s="library://ns.adobe.com/flex/spark" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:d="http://ns.adobe.com/fxg/2008/dt">
           <s:BitmapImage smooth="true" source="@Embed('/assets/images/TIBB/Header.png')" d:userLabel="Header" width="100%" />

      The problem is that it doesn't scale according to 9 slice scaling. How do I use scale9grid for the bitmap image?