Luar's Flash Playground:修改ComboBox組件(v1)被選後不會Highlight
新聞(100)
觀點或評論(93)
Flash書(63)
教程(65)
Design Patterns(3)
FlashCom筆記(45)
Flash Remoting筆記(27)
Flex筆記(11)
Flash Lite筆記(14)
PHP資訊(22)
Ajax筆記(9)
習作(47)
組件(15)
酷站(31)
學習資源(28)
書籍推介(15)
本站與我(90)
RSS瀏覽器
聯絡
熱愛鑽研
Ajax
ActionScript
Flash
Flash Lite
Flex
Flash Remoting
FlashCom
Director
Lingo
PHP
Multiplayer Game

搜尋
VCASMO
修改ComboBox組件(v1)被選後不會Highlight (17-10-2004)

ComboBox組件(v1),當選擇後,仍然Highlight,外觀上十分不好。
combobox_bug.gif

打開Library,修改Flash UI Components>ComboBox,到Layer "Actions : Class",

Mouse選擇後,沒有Highlight

第296行,將:

this.fLabel_mc.drawItem(this.topLabel, flag);
改為:
this.fLabel_mc.drawItem(this.topLabel, false);

鍵盤控制,沒有Highlight

第384行,將:

this.fLabel_mc.drawItem(this.topLabel, true);
改為:
this.fLabel_mc.drawItem(this.topLabel, false);

本文章由luar發表。
意見
沒有意見。
 
同組文章

Movable Type 3.15系統支持,Luar's Production版權所有。