ComboBox Label disappears - stripped down version
Hi Forum
I've made a stripped down version of my comboBox movie to debug the problem. This is what it looks like now:
///////////// _ROOT //////////////////////////////////////////////////
on the root I have two movieClips: b1 and b2
Script:
b1.onRelease = function(){
_root.attachMovie("screen1","screen",1);}
b2.onRelease = function(){
_root.attachMovie("screen2","screen",1);}
///////////// Screen1 (in the library) //////////////////////////////////////////////////
Screen 1 movieclip has one comboBox instance name combo.
Script:
combo.addItem({data:1, label:"One"});
combo.addItem({data:2, label:"Two"});
///////////// Screen2 (in the library) //////////////////////////////////////////////////
Screen 2 movieclip has one comboBox instance name combo.
Script:
combo.addItem({data:1, label:"three"});
combo.addItem({data:2, label:"four"});
The Bug:
I click on b1 and the comboBox appears as it should. the label of the comboBox is one. When I click either on b1 or b2 after that, the label of the comboBoxes disappear. The list however of the comboBox still contains the two entires ("one" "two" or "three" "four") when I click on the drop down arrow.
Any ideas where the bug lies? And what can be done to resolve this issue?
any insight or leads much appreciated.
Thank you !
Cheers
Stephank
|