Copy link to clipboard
Copied
In order to make my Flex application more accesible to those using screen reader software, I need to change the browser title bar text as the user selects different tabs. I thought I could use FlexGlobals.topLevelApplication.pageTitle ="xxx" to to this or define a public function in the application MXML file and use topLevelApplication to call it. However, this doesn't seem to work, the title bar is not changed. I am wondering if this requires flex 4.6 (I am currently using 4.5). Any thoughts on how I might accomplish this would be appreciated.
Hi,
Use BrowserManager to change to browser title and header text.
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7cbb.html
Copy link to clipboard
Copied
Hi,
Use BrowserManager to change to browser title and header text.
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7cbb.html
Copy link to clipboard
Copied
Thanks! I’ll give this a try. I have also gotten some results from using the following code:
Public static function updateBrowserTitleBar(title:String):void
{
Var titleStr:String = “document.title=’” + title + “’”;
ExternalInterface.call(“eval(‘” + titleStr + “’)”);
}
But BrowserManager might be a much cleaner way of handling this.