tags:

views:

14

answers:

2

Hi I have requirement as below I want to navigate to a state of an mxmlcomponent (lets assume A) when I click on the mxmlComponentB's button.

how can this be possible?

A: 

There are plenty of ways this could be done. Given what context you've given, you could have component A listen to click event on component B's button, and the event handler could change state.

This is a pretty tightly coupled solution, though likely the most straight forward, so it depends on what else is going on with your app.

Ckhrysze
A: 

yah but that makes me to change/set current state of an mxmlcomponentB but my requirment is when ou click on some button in mxmlcomponentA its has to navigate to a particular state page of mxmlcomponentB

thanks in advance