result(s)
private function productServiceResultHandler(event:ResultEvent):void
{
//HTTPService returns an ArrayCollection for nested arrays
var products:ArrayCollection = event.result.catalog.product;
var temp:ArrayCollection = new ArrayCollection();
var cursor:IViewCursor = products.createCursor();
while (!cursor.afterLast)
{
var product:lib_flex_store_samples_flexstore_Product = new lib_flex_store_samples_flexstore_Product();
product.fill(cursor.current);
temp.addItem(product);
cursor.moveNext();
}
catalog = temp;
}