Hi,

What is the appropriate approach to compile the Flex (3) ActionScript sources?
Actually, my original problem is the following: I need to emphasize
specific days in a DateChooser control.

Alas, as of Flex 3.0.0, the DateChooser control does not offer this
functionality. Furthermore, the DateChooser control makes usage of
unsupported API/support classes such as mx.controls.CalendarLayout
through the use of private members/mx_internal namespace.
Consequently, I can hardly make use of these classes (since they don't
apply for the OOP open/closed principle) and I need another way to
achieve my goal.
As a workaround, I found that I could create alternate implementations
of the DateChooser/CalendarLayout classes, mainly by copying the
existing ones and modifying the appropriate methods. Then I started to
rename DateChooser/CalendarLayout to MyDateChooser/MyCalendarLayout
and replacing names (s/DateChooser/MyDateChooser/ &
s/CalendarLayout/MyCalendarLayout/) ; I even copied the entire
frameworks\projects\framework\src directory (from the Flex 3 SDK) to
my build path. The problem with this approach is that my
implementation seems somehow incomplete and is missing some graphical
data (invisible buttons, wrong colors, wrong size) when added to the
project.

Any hint on how I could gain correct graphics from my implementation?
Or is there a better way to achieve my DateChooser customization?

Thanks,
Regards

-- 
Fiouz

Reply via email to