OK I've seen some of the errors

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

<mx:TileList dataProvider="{_xlcMyListData}"
width="344" backgroundColor="#000000" color="#ff0000" fontSize="27"
borderColor="#000000" columnWidth="300" rowHeight="50"
themeColor="#808080" fontWeight="bold" allowMultipleSelection="true"
id="TileList1" height="0" y="202" x="178"/>

<mx:Script>
<![CDATA[


import mx.rpc.Events.ResultEvent;
import mx.rpc.AsyncToken;
import mx.collections.XMLListCollection;

[Bindable]
private var _xlcMyListData:XMLListCollection;


var oRequest:Object = new Object();
oRequest.Arg1 = "value1";
var callToken:AsyncToken = tempXML.send(oRequest);
token.callId = "myQuery1";

private function onResult(oEvent:ResultEvent):void {
var xmlResult:XML = XML(event.result);
var xlMyListData:XMLList = xmlResult.myListData;
_xlcMyListData = new XMLListCollection(xlMyListData);
trace(_xlcMyListData.toXMLString());
var callToken:AsyncToken = oEvent.token;
var sCallId = callToken.callId;
switch(sCallId) {
case "myQuery1":
doQuery2();
break;
}


}

]]>
</mx:Script>

that cut the errors is half



1120: Access of undefined property event.
1120: Access of undefined property oRequest.
1120: Access of undefined property token.
1180: Call to a possibly undefined method doQuery2.

Reply via email to