Call a function outside of an inline itemrenderer in Flex
Filed under Flex
I personally do not like using inline itemrenderers in Flex but on occasion I come across a project where they are used. If you are calling a function from within the inline itemrenderer make sure to call outerDocuemnt followed by the PUBLIC functions name. You cannot call a private or protected function. Hope this saves a couple min for someone out there :)
<mx:Button click="outerDocument.publicFunctionName()" />
Nov22








