hi, i am new to flex.
i have made 2 mxml pages. i want to connect the two pages through the use of button.
i.e. i have button on my main page, i want when it is clicked, it should direct me to another mxml page which i have designed. can anyone tell me how>
There are various ways to implement what you want
1. You can use PopUp window code
var titleWindowInstance:ScreenName = ScreenName(PopUpManager.createPopUp(this, ScreenName , true));
PopUpManager.centerPopUp( titleWindowInstance );
2. You can use <mx:State ... />(you can search by Flex States & transitions.) then on click of button you can change currentState = "newStateName"