http://www.holaflex.com/?p=46
tell us that the two buttons are declared internally as mx:internal which prevents us from accessing them directly but the site (in spanish) gives this example of a subclass that implements the overridden updateDisplayList method to set those buttons invisible. maybe change the package to fit your needs. I hope this helps you out. regards, Brian //DateChooserNoMonthButtons.as bajo fólder skins package skins { import mx.controls.DateChooser;import mx.core.mx_internal; // Paso 1: Usar decirle a ActionScript que use el namespace mx_internal use namespace mx_internal; public class DateChooserNoMonthButtons extends DateChooser { override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{ super.updateDisplayList(unscaledWidth, unscaledHeight); // Usar la sintaxis this.mx_internal:: para hacer referencia a propiedades bajo el namespace mx_internal // translation: Use the syntax this.mx_internal:: to reference properties in the namespace mx_internal this.mx_internal::fwdMonthButton.visible=false; this.mx_internal::backMonthButton.visible=false; } } } and gives the use example: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:calendario="skins.*"> <calendario:DateChooserNoMonthButtons /> </mx:Application> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of vivek Sent: Monday, February 04, 2008 7:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Datechooser Sorry can you be more clear. Probably with an example. Thanks, Vivek --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , Sherif Abdou <[EMAIL PROTECTED]> wrote: > > u can set the skins to mx.skins.ProgrammtingSkin which just leaves u with needing to stop the click of the buttons from happening. > > > ----- Original Message ---- > From: vivek <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > Sent: Monday, February 4, 2008 8:59:52 PM > Subject: [flexcoders] Datechooser > > Hi, > > First of all thanks for looking into my message. Does anyone know how > to remove forward and back arrow button ( which is used to navigate > month) from the header of the datechooser. > > Thanks > > Vivek > > > > > > __________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ >