Hi Dana,
private variables and excluded classes can be hell.
But when you've got a job to do, extending is mostly quicker than
rewriting.
regards,
Bjorn
On 22/02/2007, at 9:04 AM, Dana Gutride wrote:
Recently on this list, somebody said that the Flex framework team
has been surprised at the resistance many developers have to
subclassing and they'd like to understand it better. I'd like to
put my 2 cents into this discussion because maybe we can come up
with some good answers.
I think the ability to extend the existing framework is fabulous,
but I find that I am hesitant to subclass or extend the existing
classes. Recently, I spent several days trying to override the
placeSortArrow function on the datagrid. I ended up ditching my
code because there were so many private variables used by the
existing placeSortArrow() function that I would need to rewrite
most of the datagrid.as file.
I've bought books and searched online for answers, but I haven't
found anything satisfactory yet. Maybe if there were more
resources (even if we had to pay for them), we would find more
developers extending the flex framework.
Dana