Oh, I thought you have to re-define all the functions. I think I was mistaking "extending" vs "implementing" :)
Thanks, Alex! As always :D --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Aw, c'mon it should look like: > > <mx:ComboBox> > <mx:Script> > <![CDATA[ > override protected function updateDisplayList(w:Number, > h:Number):void > { > super.updateDisplayList(w,h); > textInput.y = ??? > } > ]]> > </mx:Script> > </mx:ComboBox> > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of williamkusumo > Sent: Wednesday, September 26, 2007 3:02 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Trouble skinning ComboBox that is shorter than > default one... > > > > Hmm, that means I have to extend ComboBox, right? Hmm...that sucks, I > wish there's an easier way. > > Thanks! > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > , "Alex Harui" <aharui@> wrote: > > > > Sure, set its position in updateDisplayList > > > > ________________________________ > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > ] On > > Behalf Of williamkusumo > > Sent: Wednesday, September 26, 2007 11:54 AM > > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > > Subject: [flexcoders] Re: Trouble skinning ComboBox that is shorter > than > > default one... > > > > > > > > Is there a way, maybe, to adjust the postiion of TextInput inside the > > ComboBox, but not the height of it? > > > > Thanks! > > > > --- In flexcoders@yahoogroups.com > <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> > > , "williamkusumo" <williamkusumo@> > > wrote: > > > > > > Calling all skinners! > > > > > > I am skinning a ComboBox using some vector images in Flash and the > > > ComboBox is shorter in height than the default ComboBox. I notice > that > > > I have to explicitly set the height of the skinned ComboBox, > otherwise > > > it'll stretch the skin to its default height. > > > > > > SO, that's fine...annoying that's all. The problem is, after I set > the > > > height, the text on the ComboBox becomes cut-off. Any idea how I > might > > > resolve this issue? > > > > > > Thanks! Appreciate the help! > > > > > >