Hi and thanks for your reply.

Well - it showed me that Flex receives what AMF says it sends. Here's
the trace:
  serverInfo = (Object)#1
    columnNames = (Array)#2
      [0] "data"
      [1] "label"
    cursor = 1
    id = "7257952bcaf0cee796b5bd243450930c"
    initialData = (Array)#3
      [0] (Array)#4
        [0] 1
        [1] "Moduler"
      [1] (Array)#5
        [0] 2
        [1] "Hylder"
      [2] (Array)#6
        [0] 3
        [1] "Skuffer"
      [3] (Array)#7
        [0] 4
        [1] "Hvidlakerede bakker"
      [4] (Array)#8
        [0] 5
        [1] "Andet"
    serviceName = "PageAbleResult"
    totalCount = 5
    version = 1

The problem is that after I convert it into an arraycollection, it has
zero elements/length.

Why is that ?? 

Thanks for your time in this matter.

Best wishes,
Mark

--- In [email protected], "Muzak" <[EMAIL PROTECTED]> wrote:
>
> Use ObjectUtil.toString() to see what type the result really is in
the Console, my guess is it's an Array though.
> 
>     import mx.utils.ObjectUtil;
> 
>     public function onResult( result:Object ):void {
>         trace(ObjectUtil.toString(result));
>         selInventoryGroups.dataProvider = new ArrayCollection(result
as Array);
>     }
> 


Reply via email to