2 Replies Latest reply on Oct 23, 2014 1:44 AM by Bhargav

    how to insert a background image in VGroup in Flex Mobile

    Bhargav

      I want to insert a background image for this VGroup. Help me out. I'm new to Flex !!

      I'm using this code in Flex Mobile Application

       

      <s:VGroup height="100%" width="100%"

                paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">   

          <s:List id="homeList" height="100%"

                  labelField="title"

                  dataProvider="{homeNews}">

              <s:layout>

                  <s:TileLayout requestedColumnCount="1"

                                verticalGap="5"/>

              </s:layout>

             

              <s:itemRenderer>

                  <fx:Component>

                      <s:ItemRenderer>

                          <s:VGroup>

                              <s:BitmapImage source="{data.source}"/>

                              <s:Label text="{data.title}" />

                          </s:VGroup>

                      </s:ItemRenderer>

                  </fx:Component>

              </s:itemRenderer>

          </s:List>

      </s:VGroup>