Yea I know, it's a bug in the historymangager(sdk 3.2), you have to set the
pagetitle manual after pressing the tab..
work around:
private var browserManager:IBrowserManager;
private function initApp():void
{
browserManager = BrowserManager.getInstance();
browserManager.setTitle('your page title');
browserManager.addEventListener(BrowserChangeEvent.APPLICATION_URL_CHANGE,
uRLChange);
}
private function uRLChange(event:BrowserChangeEvent):void
{
browserManager.setTitle(browserManager.title);
}
--- In [email protected], "ynotob" <t...@...> wrote:
>
> I've added a TabNavigator to a flex application.
>
> The application is launched from html that is generated by a java server page
> (main.jsp). The generated html includes a html page title.
>
> Up until I added the TabNavigator to the application, the generated html page
> title would display as expected when the flex application is run in the
> browser.
>
> Now that I've added a TabNavigator, the html page title shows as expected
> until the flex application shows the TabNavigator. Then the page title
> changes to that of the jsp (main.jsp) along with the full url to main.jsp.
>
> Any idea of how to stop the TabNavigator from changing my page title?
>
> Tony
>