--- In [email protected], "Nick Collins" <[EMAIL PROTECTED]> wrote:
>
> place code like the following within your ApplicationMediator:
>
> protected function get app():ApplicationMXMLClass
> {
> return viewComponent as ApplicationMXMLClass
> }
>
>
> where ApplicationMXMLClass is the name of your "root" class
>
Here is what I do...ecTimesheets_RowList is my mxml view component, so
in my view mediator I have to import:
import com.myapp.TestCodeGen.view.components.*;
then...
protected function get ecTimesheets_RowListVC
():ecTimesheets_RowList
{
return viewComponent as ecTimesheets_RowList;
}
I now have access to the mxml component via ecTimesheets_RowListVC...
By the way...ain't PureMVC great?