On 5/2/07, Vinoth <[EMAIL PROTECTED]> wrote:

> when button `Load page2 from main' or `Load page1 from main' selected
> corresponding page will get load in the main
>
> How to load page2 when `Load Page2 from page1' button selected ?

  <mx:Button label="Load Page2 from page1"
    click="parent.selectedIndex = 2" />

But better you dispatch a custom event here, handle it in the main
app, and change the view there.

Reply via email to