这些代码来至www.flash8.com
combobox:
www.flash8.net/bbs/dispbbs.asp?boardID=47&ID=183328&page=1
//*************************************************
myList.addItem({label: "Super-Tomato Programmer", iconField : "a1"}); //加入label和所指定的圖示(步驟2所建立的名字), 記得沒有label的話就只會出現圖示名字而已喔, 我在這裡嚐試了很多此才知道要這樣做...天資比較差 ^^"
myList.addItem({label: "KoaQiu Programmer", iconField : "a2"});
myList.addItem({label: "PLMM 1 Programmer", iconField : "a3"});
myList.addItem({label: "PLMM 2 Programmer", iconField : "a4"});
myList.dropdown.rowHeight = 55; //設定每筆記錄的高度(配合圖示的高度)
myList.dropdown.iconFunction = function(item) { //使用iconFunction指定回傳每筆記錄的圖示連接
return item.iconField; //回傳...:)
}
stop()
list:
www.flash8.net/bbs/dispbbs.asp?BoardID=47&ID=171499
combobox:
www.flash8.net/bbs/dispbbs.asp?boardID=47&ID=183328&page=1
//*************************************************
myList.addItem({label: "Super-Tomato Programmer", iconField : "a1"}); //加入label和所指定的圖示(步驟2所建立的名字), 記得沒有label的話就只會出現圖示名字而已喔, 我在這裡嚐試了很多此才知道要這樣做...天資比較差 ^^"
myList.addItem({label: "KoaQiu Programmer", iconField : "a2"});
myList.addItem({label: "PLMM 1 Programmer", iconField : "a3"});
myList.addItem({label: "PLMM 2 Programmer", iconField : "a4"});
myList.dropdown.rowHeight = 55; //設定每筆記錄的高度(配合圖示的高度)
myList.dropdown.iconFunction = function(item) { //使用iconFunction指定回傳每筆記錄的圖示連接
return item.iconField; //回傳...:)
}
stop()
list:
www.flash8.net/bbs/dispbbs.asp?BoardID=47&ID=171499
回复Comments
作者:
{commentrecontent}