Wednesday, March 10, 2010

Storing in ArrayCollection if the result is only one object

if(flash.utils.getQualifiedClassName(acSubcatTemp[j].product).toString()=="mx.collections::ArrayCollection")
{
arraycollection = arraycollectiondemo[i]
}
else
{
arraycollection = new ArrayCollection(ArrayUtil.toArray(acSubcatTemp[j].product));
} }

No comments:

Post a Comment