Title: Can I pass a reference to the Application into a component and bind to its content?

I know Ican pass a reference to any variable or component from the Application into a typed property in a subcomponent and successfully bind to it.

Can I pass a reference to the Application levelitself into a subcomponent and then bind to application level variables and objects?

In mxApplication:

        <mx:TextInput id=tiTest  />

<myComponent app={this} />

And in myComponent:

Public var app:mx.core.Application;

        <mx:Text label={app.tiTest.text} ../>

I cant seem to get it to work.

Tracy

Reply via email to