私有函數dataLevel():無效{跟蹤運行什麼功能
//Level 2
a1=new Array(b1,b2);
a2=new Array(b3,b4);
//Level 1
allA=new Array(a1,a2);
//trace if the following level exist
//if the following level exist, create the Branch
if (allA is Array==true) {
createBranch(this);
if (allA[0] is Array==true) {
createBranch(allA[0]);
}
if (allA[1] is Array==true) {
createBranch(allA[1]);
}
}
}
private function createBranch(event:Object):void {
trace(event.target);
}
你的問題是什麼? – 2009-10-09 03:36:27
好吧,你看我有3條件運行createBranch(); 在createBranch函數我想知道它由哪個運行 – Hwang 2009-10-09 03:59:18