-
1. Re: force a combobox to "dropup"
kglad Nov 10, 2012 9:20 PM (in response to rahimhaji)it will do that automatically if the dropdown is positioned to go off-stage. otherwise, you'll need to create your own combobox.
-
2. Re: force a combobox to "dropup"
rahimhaji Jan 13, 2013 10:15 AM (in response to kglad)hi kglad,
thks for the answer, i tried and kept the combo button in the bottom of the screen, working fine. When i maximise the screen or zoom the screen, again the combo box is droping down, instead of dropup.
pls help me,
Thanks in advance..
-
3. Re: force a combobox to "dropup"
kglad Jan 13, 2013 10:17 AM (in response to rahimhaji)you'll need to create your own combobox if the default combobox drop down direction doesn't work for you.
-
4. Re: force a combobox to "dropup"
moccamaximum Jan 14, 2013 2:18 AM (in response to rahimhaji)The default behavior of the ComboBox can be tailored to your needs by overriding some of its protected functions, try to override the positionList() function similar to this example.
override protected function positionList():void {
super.positionList();
if(
stage.displayState == StageDisplayState.FULL_SCREEN){list.y -= list.height;
}
}



