Flex Component, Self Reference
Posted on 31 August 2008
I receive this questions quite often, “How do I self reference a Flex component?” — The answer is quite simple and obvious, however it is easily over looked.
Use the event object within the component along with currentTarget to set / get parameters from the current component.
An example click event to change the visibility of a component from within itself would be: