absolutely brilliant. thank you! -b
--- In [email protected], "Michael VanDaniker" <[EMAIL PROTECTED]>
wrote:
>
> Just create the package structure for mx.core in your source folder
> and copy UIComponent to that directory. The compiler will use that
> UIComponent instead of the one in the SDK, so if you change the base
> class there everything should work as you expect. You'll need to
grab
> Version.as as well because UIComponent.as includes it.
>
> --- In [email protected], "bmilesp" <bp@> wrote:
> >
> > Hello,
> >
> > i want to extend the core FlexSprite class AND have all the
subclasses
> > (eg. UIComponent) in the flex framework use the modified
FlexSprite
> > class.
> >
> > so i would make a packager and the class would extend FlexSprite:
> >
> > class ModFlexSprite extends FlexSprite{
> >
> > //more properties here...
> >
> > }
> >
> > so i did this, and my idea was to just change the core
UIComponent.as
> > class to extend ModFlexSprite instead of FlexSprite. So this leads
to
> > question one:
> >
> > Is this the easiest way to achieve this?
> >
> > If so, the i guess i have to "recompile" the framework somehow,
since
> > building and running my app alone doesn't work. Question 2:
> >
> > how do i recompile the Flex Framework?
> >
> > thanks in advance! -b
> >
>