1 Reply Latest reply on Mar 6, 2008 11:16 AM by Tigomark

    Issue with upgrading to Flex 3

    Tigomark
      I have recently upgraded to Flex 3 and an app that I wrote with the beta version of 3 that was working fine is not working with the release candidate. Most of the stuff has been cosmetic which I expected however a major issue is that the TileList info is not being displayed.

      Code

      <mx:HTTPService id="tempXML" resultFormat="e4x" result="onResult(event)" url=" http://rbdev.mysite.net/info_wrapper.php?url=https://{customer.text}.mysite.net/interface. php?action=showopen&amp;operation=showassets&amp;format=xml&amp;opstatus=crit&amp;username ={username.text}&amp;password={password.text}" />

      <mx:TileList dataProvider="{_xlcMyListData}" labelField="fleet" left="35" right="15"
      width="350" backgroundColor="#000000" color="#ff0000" fontSize="27" borderColor="#000000" columnWidth="315" rowHeight="50" themeColor="#808080" fontWeight="bold" allowMultipleSelection="true" id="TileList1" height="0" y="202" x="178"/>

      <mx:Script>
      <![CDATA[
      //Setting the TileList display
      import mx.collections.XMLListCollection;

      [Bindable]
      private var _xlcMyListData:XMLListCollection;

      private function onResult(Event:ResultEvent):void {
      var xmlResult:XML = XML(Event.result);
      _xlcMyListData = new XMLListCollection(xmlResult..asset);
      }

      ]]>
      </mx:Script>


      As stated before the app was displaying the data before with both flex2 and the beta of flex 3. Is there something that I'm missing now?