1 Reply Latest reply on May 19, 2010 3:18 AM by manpakhong

    <flexlib:MDICanvas backgroundImage="@Embed(source='/imgFolder/imgFile.png')/> compatability problem

    manpakhong


      Dear all,

       

      We have a project that doing migration from flex 3 to flex 4. We use flexlib the latest version of
      flexlib - 2.5 - flex4.zip.

       

      However we confronted problems that several of attributes that flex 4 doesn't support:
      Constraints are listed as follows:

       

      1) <flexlib:MDICanvas backgroundImage="@Embed(source='/imgFolder/imgFile.png')/>
      2) <flexlib:MDICanvas backgroundSize="auto"/>
      3) <mx:ApplicationControlBar barColor="#000000">

       

       

       

      original error message:
      ====================================================
      Description    Resource    Path    Location    Type
      The style 'backgroundImage' is only supported by type 'flexlib.mdi.containers.MDICanvas' with the theme(s) 'halo'.    MainView.mxml    /osss/flex_src/hk/gov/labour/osss/view    line 242    Flex Problem

       

      Description    Resource    Path    Location    Type
      The style 'backgroundSize' is only supported by type 'flexlib.mdi.containers.MDICanvas' with the theme(s) 'halo'.    MainView.mxml    /osss/flex_src/hk/gov/labour/osss/view    line 242    Flex Problem

       

      Description    Resource    Path    Location    Type
      The style 'barColor' is only supported by type 'mx.containers.ApplicationControlBar' with the theme(s) 'halo'.    MainView.mxml    /osss/flex_src/hk/gov/labour/osss/view    line 227    Flex Problem

       


      Regards,
      Man Pak Hong, Dave
      manpakhong
      manpakhong@hotmail.com