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.
感謝