Hi Corey
I have manipulated this for one of my HR applications to show positions held during employment down the Y Axis. Each row is a new position with the x axis being variations in a position over time. The key is changing the way the data provider is created. See below: var result : Array = new Array(); for(i = 0; i < model.selectedEmployee.positions.length; i++){ var entry : ColoredScheduleEntry = new ColoredScheduleEntry(); entry.startDate = posSDate; entry.endDate = posEDate; entry.label = label; entry.backgroundColor = 0x0C90DA; var row : IList = new ArrayCollection(); row.addItem( entry ); result.push( row ); } This lets you have rows of items (coloredScheduleEntries), effectively that 2d array structure Hope this helps, Justin ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Corey Smaller Sent: Friday, 14 December 2007 7:08 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Google Scheduling Framework question Mike yea that is exactly what I am using--example 6. I already tweaked it and fixed the timeline to suit my needs (basically rounded off the numbers based on the current time ) and the rowset on the left i have populating with the channels. What i did was count the channel IDs and used that for the count of rows. The only problem I see (other than changing some of the methods and the timestamps are almost all based on milliseconds), is assigning the programs in the main to the proper rows. What I am doing wiht my XML return is including the channel ID for the programs and I envision assigning the program listings to their proper rows by matching the Channel ID (so, channel 5 is row 5 and the program has the channel ID passed so it points to row 5) but again, the problem is WHERE is the AS does the schedule say the Y axis is each day (instead of each channel). does that make sense? thanks for your help you guys, Im banging my head against the monitor. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , Michael Wills <[EMAIL PROTECTED]> wrote: > > It looks like it is possible, if you are using FlexLib. Take a look at > the examples, specifically example 6. > > http://flexlib.googlecode.com/svn/trunk/examples/SchedulingFramework/Sch eduleViewer6_Sample.swf <http://flexlib.googlecode.com/svn/trunk/examples/SchedulingFramework/Sc heduleViewer6_Sample.swf> > > Source at: > > http://flexlib.googlecode.com/svn/trunk/examples/SchedulingFramework/Sch eduleViewer6_Sample.mxml <http://flexlib.googlecode.com/svn/trunk/examples/SchedulingFramework/Sc heduleViewer6_Sample.mxml> > > Is that what you are looking for? > > Corey Smaller wrote: > > > > Hi y'all, I am new here but been coding flex for a while > > My question to the group: > > I am using the Google Scheduling Framework to build a channel selector > > not unlike the guide you see on your cable lineup, Tivo, etc. > > basically the X axis (timeline) is the time starting on the current > > time rounded off to either the 00 or the 30 and the Y axis is the > > channel listings. The problem I am having is the Y axis is dependent > > on the scheduling timeline- ie- if the entry being created is for > > tomorrow it puts it on the next row, 2 days out on the third row etc. > > > > What I want is each row to be based on the channel (channel ID > > probably) and NOT the timeline. so, if I create a program that starts > > at 7PM for channel 5 (id=5) I want it to be on the 5th row. I cannot > > find the controller in the AS files that I can change to make the row > > dependent on channel ID and NOT the scheduled time. I hope this is > > clear. Does anyone know where to find this or can offer some help? any > > would be appreciated! > > thanks so much!! > > > > Corey Smaller > > > > > ##################################################################################### Note: This correspondence and any files transmitted with it are confidential. If you are not the intended recipient, you must not disclose or use the information contained in it. Any opinions expressed in this correspondence are those of the individual sender, except where the sender expressly, and with authority, states them to be the opinions of ABBOTSLEIGH. If you have received this correspondence in error please notify Abbotsleigh immediately by phone (612 9473 7900) or email ([EMAIL PROTECTED]). Neither the sender nor ABBOTSLEIGH warrants that any communication via the Internet is free of errors, viruses, interception or interference. Information is distributed without warranties of any kind. #####################################################################################