Created
October 4, 2010 18:55
-
-
Save squeedee/610235 to your computer and use it in GitHub Desktop.
Flex Workaround Workaround
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override public function onRegister():void { | |
addViewListener(Event.REMOVED_FROM_STAGE, onRemoved); | |
} | |
private function onRemoved(event:Event):void { | |
// On account of Robotlegs not removing mediators immediately. | |
mediatorMap.removeMediator(this); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See http://knowledge.robotlegs.org/discussions/questions/305-reparenting-support-optionally-off for what this gist is about