1 Reply Latest reply on May 30, 2007 10:54 PM by JabbyPandaUA

    Background image repeat in Flex

    Guillaume_R
      Hi,

      I come from traditionnal html design where i normally get an image of
      a certain height with 1 pixel large. I put this image in a table cell
      and i set the css property "background-repeat:repeat-x;".
      This way my image splits horizontally depending on the windows width.

      I did not find out how to do the same in flex can someone help?
      I tryed to do something like that but without success...

      .imgBg
      {
      background-image: "img/bg_bleu.jpg" ;
      background-repeat: repeat-x; <!--This is not proposed by the flex
      builder ide completion tool -->
      }

      <mx:HBox width="100%" height="150" paddingLeft="0" paddingRight="0"
      styleName="imgBg">

      Thanks