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.
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.