On 11/19/05, yaagcur <[EMAIL PROTECTED]> wrote:
> For the record I get compiler errors on this line
> public var cities:IList = new
> ArrayCollection({mx.utils.ArrayUtil.toArray(result)});
>
> of
> Expecting colon before dot
> Expecting primary expression before rightbrace
> Expecting rightbrace before semicolon
Have you imported mx.utils.* ?
And I think you want to pass an array to ArrayCollection, while you're
passing an object:
public var cities:IList = new ArrayCollection(ArrayUtil.toArray(result));
Manish
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->
--
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/