又係AS3 問題...關於 ARRAY

我有3個BUTTON , instant name 係about, portfolio, contacts; 我想ROLLOVER 是但一個BUTTON 佢都會RUN showMenu.

var menuList:Array = ["about", "portfolio", "contacts"];

for(var i:int = 0; i<2; i++){

logo.menuList[i].addEventListener(MouseEvent.MOUSE_OVER, showMenu);
logo.menuList[i].addEventListener(MouseEvent.MOUSE_OUT, hideMenu);
}

但我有尼個error
TypeError: Error #1010: 詞彙未定義且沒有屬性。
        at main2_fla::MainTimeline/frame1()

有無ching 可以教下我呀?
thanks!

logo.menuList[i]
改成
logo.getChildByName ( menuList[i] )

TOP