8Jul/090
Mixin’s in ActionScript 3
I was strolling through the UIComponent source code earlier today when i cam across this line of code.
//-------------------------------------------------------------------------- // // Class mixins // //-------------------------------------------------------------------------- /** * @private * Placeholder for mixin by UIComponentAccImpl. */ mx_internal static var createAccessibilityImplementation:Function;
I wasn't entirely sure what a mixin was but after reading up on wikipedia I realized they are exactly what they sound like basically just a mix of code bases. There is a really good post over on the yahoo flash blog about accessibility and the way in which Flex uses the
[AccessibilityClass(implementation="mx.accessibility.UIComponentAccImpl")]
meta data to mixin the Accessibility code into the UIComponent implementation.
Tagged as: ActionScript, Flex, Life Cycle, metadata, Mixin, UIcomponent, [AccessibilityClass]
No Comments
Applications
Recommended Reading
Blog Roll
Pages
Archives
- October 2012
- June 2012
- May 2012
- April 2012
- March 2012
- December 2011
- November 2011
- October 2011
- August 2011
- April 2011
- March 2011
- February 2011
- December 2010
- November 2010
- July 2010
- June 2010
- May 2010
- April 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- April 2009
- March 2009
- January 2009
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008



