Problem extending a ComboBox in Flash

Hi all,

I’m currently working on a project, and in it I’m extending a ComboBox like so:

package test.dropdowns {
    
    import fl.controls.ComboBox;
    
    public class Propertytypes extends ComboBox {
        
        public function Propertytypes() {
            //populate here       
        }
        
        private function databind(){
                        
        }
    }    
}

I’ve stripped the class down to the basics to make sure its all working, but I’m getting the following error:

1017: The definition of base class ComboBox was not found.

Any ideas?

Thanks in advance,

Dave