I made a login component for my flex 4 application, and i load this component from my main flex application with:
<ns1:Login id="page_login" visible="true"></ns1:Login>
Now i want to change the visibility from true to false, from the login component. Is there a way to do this kind of interaction?
Thanx!
From within
Login, you’d just setvisible:From within the parent, you could set
visibledirectly:or you could bind visible to some other property: