OK, I changed tack with this, as follows:
*<fx:Declarations>
<mx:HTTPService id="service" resultFormat="text"
url="http://127.0.0.1:3001/blockchain"
result="onJSONLoad(event)" />
</fx:Declarations>
private function creationCompleteHandler(event:FlexEvent):void
{
service.send();
}
private function onJSONLoad(event:ResultEvent):void
{
//get the raw JSON data and cast to String
var rawData:String = String(event.result);
trace("RAWDATA = " + rawData);
}
*
Which returns the JSON data as a String
--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/