Friday, April 6, 2007

metadata.Mixin

From Alex Harui of Adobe:
"...use at your own risk. [mixin] puts the class in a list of things to get called back by systemManager at startup."

The function that gets called is:

public static function init(root:DisplayObject):void

This gets called by SystemManager or FlexModuleFactory after the Flex Application or module is initialized.

Some indirect discussion of mixin can be found in the "Building and Deploying Flex 2 Applications" docs in Chapter 14: "Creating Applications for Testing."

1 comment:

Stu Stern said...

Also see http://www.adobe.com/support/documentation/en/flex/1/mixin/index.html

"Flex", "ActionScript" and possibly "MXML" are probably trademarks of Adobe Systems Incorporated.
"Adobe" is a trademark of Adobe Systems Incorporated.
This site is in no way endorsed or sponsored by Adobe Systems Incorporated.
Content Copyright © 2007 Daniel Freiman.
Site Design Copyright by its copyright holder.
The Flex Non-Docs reserves the right to remove comments for any reason.
All ActionScript and MXML code (and ONLY ActionScript and MXML code) on this website is available under the MIT License.