# Combobox won't function

**URL:** <https://forum.kirupa.com/t/combobox-wont-function/310530>\
**Category:** Uncategorized\
**Created:** [June 12, 2010, 5:25pm UTC](https://forum.kirupa.com/t/combobox-wont-function/310530 "2010-06-12T17:25:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![williamtcundiff](https://avatars.discourse-cdn.com/v4/letter/w/71e660/32.png) [@williamtcundiff](https://forum.kirupa.com/u/williamtcundiff)\
**Post date:** [June 12, 2010, 5:25pm UTC](https://forum.kirupa.com/t/combobox-wont-function/310530/1 "2010-06-12T17:25:31Z")

</div>

okay…here is the setup:

i am working on a project that has separate swf files serving as different sections (students, faculty, etc). for each section, on the first frame i have a combobox that lists the different values within that particular section. when a user clicks on the value, it takes them to the specific frame within that swf.

there are two problems:

1. when the user selects a value, everything functions correctly but an error is thrown that says:

TypeError: Error #1009: Cannot access a property or method of a null object reference.  
at fl.containers::BaseScrollPane/drawBackground()  
at fl.controls::List/draw()  
at fl.core::UIComponent/drawNow()  
at fl.controls::List/scrollToIndex()  
at fl.controls::SelectableList/scrollToSelected()  
at fl.controls::ComboBox/open()  
at fl.controls::ComboBox/onToggleListVisibility()

1. when i click on a button that links to each section from the cover swf, i am directed to the desired page but when i click on the combobox, the same error is thrown and the combobox does not function at all…

any ideas??
