".in the creationComplete="init() of the PopUp?" Yes. 

 

Full syntax of what?  This: "[Bindable]private var _app:MyMainAppFileName;"
is full syntax.

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of [email protected]
Sent: Friday, August 07, 2009 2:25 PM
To: [email protected]
Subject: [flexcoders] Re: PopUp databinding - possible?

 

  

Tracy:

What do you mean by?

In a creation complete handler, assign:
_var =Application.application as MyMainAppFileName;

Do you mean in the creationComplete="init() of the PopUp? If so, what is the
full syntax?

Thanks!
Lee

--- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
"Tracy Spratt" <tr...@...> wrote:
>
> Sure. In the pop-up, define a bindable variable, say
> 
> [Bindable]private var _app:MyMainAppFileName;
> 
> 
> 
> In a creation complete handler, assign:
> 
> _var = Application.application as MyMainAppFileName;
> 
> 
> 
> Now you can bind to any bindable property in MyMainAppFileName
> 
> 
> 
> If that is backwards to what you want, then I advise dispatching events
from
> the Pop-up. Remember, binding is just an event mechanism that is created
by
> the compiler.
> 
> 
> 
> 
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
> _____ 
> 
> From: flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com
[mailto:flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com]
On
> Behalf Of Dave Cates
> Sent: Friday, August 07, 2009 10:01 AM
> To: flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com
> Subject: [flexcoders] PopUp databinding - possible?
> 
> 
> 
> 
> 
> Hi all,
> 
> I have an mxml component that I am displaying via the popup manager
method.
> 
> But, I have data that is sent to this popup that needs to be data bound -
> database updates etc.
> 
> So, how do you databind to the vars inside the popup? If the MXML
component
> was on the stage as normal I'd have no problems but the popup, my nature,
is
> created at run-time.
> 
> So is it possible and if so, how?!
> 
> Thanks!
> Dave.
>



Reply via email to