Did you import mx.core.Application?

 

________________________________

From: grimmwerks [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 12, 2007 12:49 PM
To: [email protected]
Cc: Alex Harui
Subject: Re: [flexcoders] Binding component variable to application
variable?

 

 

On Aug 13, 2007, at 12:10 PM, Alex Harui wrote:





Sorry, {Application.application.mainVariable}

 

I'm trying to have  a TitleWindow's close call a main application  -- ie
close="{Application.application.closeWindow()}" -- but I'm getting
'acces of undefined property 'Application'.

 

I have to do something like this, as this component and its TitleWindow
is not added til a later state.

Reply via email to