...

View Full Version : Problem with ComboBox with the assignment of the select item.



spyros
07-23-2007, 12:29 AM
Hello



I am creating a static ComboBox.
The problem is that I canít assign to the ComboBox a selectedItem


Please help
Thank you




combomm.themeColor = 0xCCCCCC;
combomm.rollOverColor =0xCCCCCC;
combomm.borderColor = 0xCCCCCC;
combomm.selectionColor = 0xCCCCCC;


combomm.addItem("hello","script");
combomm.addItem("32432","script");
combomm.addItem("sdfsdf","script");
combomm.addItem("234sdfsdf2","script");


combomm.selectedItem = combomm.length-1;

rafiki
07-23-2007, 02:08 AM
is this a javascript problem? :S

spyros
07-23-2007, 02:17 AM
Sorry
Accidentally I post it to php forum

Its an actionscript problem



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum