I can't think of any issues that should affect you.  Make sure your
dataProvider has items.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markcavins
Sent: Thursday, March 06, 2008 10:08 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Having an issue with flex 3

 

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://
<http://rbdev.mysite.net/info_wrapper.php?url=https://>
{customer.text}.mysite.net/interface.php?action=showopen&amp;operation=s
howassets&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?

 

Reply via email to