Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calendar Component

Status
Not open for further replies.

Sarky78

Programmer
Oct 19, 2000
878
GB
Hi,

I am using MM ColdFusion to geberate a Flash calendar component for a web page. I know that there is a style called todayColor, that is used to change the colour of todays date on the calendar. When I set this style to white (##FFFFFF), and add a colour attribute of black (##000000) I get a white box where todays date is.

Does anyone know the correct styles that I should be using, so that todays day is not highlighted, and the number for the day is still visible? Or does anyone know of some actionscript that i cau use to make the highlighting not happen at all?

TIA

Tony
 
You need to add a listener on the first frame to your instance name of the component and then set Component Colors. Probably in an IF clause. These settings you can alter (probably more.. but I hope this scores the star :) )

.face = FFFFFFFF;
.shadow = FFFFFFFF;
.darkShadow = FFFFFFFF;
.backgroundDisabled = FFFFFFFF;
.highlight = FFFFFFFF;
.highlight3D = FFFFFFFF;
.arrow = FFFFFFFF;
.foregroundDisabled = FFFFFFFF;
.dayBackground = FFFFFFFF;
.dayBorder = FFFFFFFF;
.background = FFFFFFFF;
.selectedDateBorder = FFFFFFFF;
.dateBackground = FFFFFFFF;
.emptyDateBackground = FFFFFFFF;
.emptyDateBorder = FFFFFFFF;
.selectedDateBackground = FFFFFFFF;
.dateBorder = FFFFFFFF;

greetz,
d2c
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top