Simeon,

You are a LEGEND... Been wacking my head on this.  That did the 
trick.

BTW, why is it that it one has to do a double cast.  In 
PhoneCairngorm from Benoit, the compiler didn't need this extra 
casting.  Is this some sort of bug do you think?


Tim

--- In [email protected], "Simeon Bateman" <[EMAIL PROTECTED]> 
wrote:
>
> for the first part of your problem I think you need to cast the 
results as
> an array
> 
> change
> model.categoryList = new ArrayCollection(event.result);
> to
> model.categoryList = new ArrayCollection(event.result as Array);
> 
> I have something similiar in my app and this is how I get around 
the
> implicit type cast.
> 
> simeon
> 
> 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to