Side notes for monkey patching...

1.  You can use it in your regular applications to override the classes in the 
flex sdk.

2.  You will need to keep the path of the files package.  You can find this by 
browsing through folders or looking up its ASDOC page.  A button would be 
listed under "spark.components" adding a directory from your project source 
folder for "spark" and a folder inside that for "components".  You would place 
your modified button file there.

3.  You may be required to copy child classes for some of the larger components 
to properly set it up.

4.  If you use RSLs,  you will need to reference/instantiate(only need to be 
done 1 time, not each planned use) your modified class on frame 1.  The classes 
are loaded as sort of a first-in-wins kind of scenario.  If the RSL loads 
before your first use of the class (frame 2+), it will use the one from the RSL 
instead.


/stirs pot


-Mark

Reply via email to