1
我有一个使用Actionscript的语法问题。我可以从ArrayColletion中创建新的对象吗?FLEX:Actionscript:我可以从ArrayColletion中创建新的对象吗?
var tagsList:TagsListModel = new TagsListModel(new ArrayCollection([
{new TagModel("News", 36, yearPopularity, false, true)},
{new TagModel("Information", 18, yearPopularity, false, true)}
]);
这是我的错误:
1084: Syntax error: expecting colon before rightbrace.
感谢