That works for me:
import mx.core.*;
private var mainApp:Object = new Object();
mainApp = mx.core.Application.application;

--- In flexcoders@yahoogroups.com, "jovialrandor" <jovialran...@...> wrote:
>
> I am writing a custom component.  I need to access a function from a parent 
> application.   
> 
> How can I go about implementing this?   
> 
> Here's what I've tried:
> 
> <mx:Script>
>       <![CDATA[
>         import mx.core.Application;
>         private var ParentApp:* = Application.application;
> 
>       ]]>
> </mx:Script>
>


Reply via email to