Well isnt that encouraging :p I'm just taking a look at mx.controls.CalendarLayout and its 2000 odd lines of code, what a day I'm gonna have!
Any idea where to start? It's all a bit overwhelming. Andrew. --- In [email protected], "JesterXL" <[EMAIL PROTECTED]> wrote: > The way I'm tackling the immense challenge of extending the > not-made-to-be-extended DateChooser in Flash > (mx.controls.fateworsethandeathtoextend.DateChooser) is by replacing the > CalendarLayout's drawing mechnism to create custom class objects instead of > simple TextFields. Then, in the DateChooser, when she does a redraw of the > month, you do a run through of a dataProvider, and highlight the days > accordingly, by comparing dates. > > Looking through the docs, it doesn't look like CalendarLayout is a public > API, so you can either A> hack it anyway (you can find the methods chilling > on prototype), or B> file a wish request, or C> extend the Flash one, then > bring over the SWC. I can tell you, though, C is, at minimum, a 2 day job. > > > ----- Original Message ----- > From: "Andrew Spaulding" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Monday, May 02, 2005 11:05 PM > Subject: [flexcoders] flex calendar component > > > Hi all, > > I was wondering if anyone had a sample of a flex calendar component? > Or possibly have given any thought to extending the date chooser so > that we can highlight specific days by a given data provider? > > I have a zip file of a calendar, but god only knows where I got it > from, I can't remember. It returns a hash map of objects and draws > canvas 'day' objects in a grid. I rekcon there might be a better way > to attack such a problem. > > Does anyone have a sample or suggestions? A sample would be great :p > > Andrew Spaulding > www.flexdaddy.com > > > > > > > Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

