Hello,

I am working on a large app using Cairngorm and am trying to develop 
a sort of copmplex component amd am curious if this is a workable 
solution.

I have created a custom component that extends a titleWindow. The 
data for this component will come from an ArrayCollection in my 
ModelLocator (ie, each of these components, there will be 30, will 
use getItemAt(an id number) to obtain the data using binding.

What I am not sure is the following. I obtain the number of days in a 
month and cycle throught to create a custom TitleWindow for each day 
using actionscript. Each of these classes are then added to another 
ArrayCollection in the ModelLocator. This ArrayCollection is then 
regenerated with new custom components when a new month is selected.

Now in my main application, I create a TileList and set the 
dataProvider to the ArrayCollection on the ModelLocator where these 
custom component classes exist. 

Will this work?? In my initial work, I seem to have a TileList that 
does contain these components, however, They are not displaying the 
title or other information that I added into each component. 

I hope it is clear what I am trying to do. I want to make a calendar 
type component with each day as a custom component. The day is 
dynamically bound to a subset of an ArrayCollection. I also need to 
have the month (ie each day of the month would need to change as the 
month and year changes).

Any help if I am on the right direction is appreciate. 

Thanks in advance

Don

Reply via email to