[flexcoders] Re: How to access module app. controls from within module?

2009-02-23 Thread spinglittery
Thanks. Putting event in as a parameter solved it. --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > Not sure I understood. I would think you would get an exception give than > you didn't pass any parameters into clickHandler() > > Alex Harui > Flex SDK Developer > Adobe Systems Inc.

[flexcoders] Re: How to access module app. controls from within module?

2009-02-23 Thread sanjay_ruparellia
--- In flexcoders@yahoogroups.com, "spinglittery" wrote: > > When I call > itemclick="parentApplication.clickHandler();" > from my Module to the main App. where clickHandler = > > public function clickHandler(event:ItemClickEvent):void { > _modUrl = "modules/" + event.label + ".swf"; > moduleHand