2 Replies Latest reply on Nov 12, 2009 9:28 AM by mo.le

    How to convert ArrayCollection to MXLListCollection?




      I use BlazeDS to get an ArrayCollection from a database.  There's no problem getting the ArrayList but I need to convert

      it to XMLListCollection.  What's the easiest way to do it?  If not too much trouble please complete the sample handler function below.  Thank you.


                  private function myHandler(event:ResultEvent):void

                     var myColl:XMLListCollection = new XMLListCollection();

                     var myAC:ArrayCollection = event.result as ArrayCollection;

                     myColl = how to populate from myAC?????