Hey Kiran,
Use bm.setTitle ("Title"); after bm.init method.
i hope it will work for you.
Thanks & Regards
Nikhil
On Jul 21, 1:13 am, Kiran Kumar Vasireddy <[email protected]> wrote:
> Dear All,
>
> It is surprising , If I add Tabnavigator to the application , the page title
> is going away . The following code doesn't display the page Title even
> though the PageTitle is defined . Did any body come across this?
> ---------------------------------------------------------------------------------------------------------
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
> pageTitle=" This Looks Crazy" >
>
> <mx:TabNavigator id="tabNavigator" height="500" width="100%">
> </mx:TabNavigator>
>
> </mx:Application>
> -----------------------------------------------------------------------------------------------------------------
>
> Work around
>
> <mx:Script>
> <![CDATA[
> import mx.managers.BrowserManager;
> import mx.managers.IBrowserManager;
> import mx.events.BrowserChangeEvent;
>
> private var bm:IBrowserManager;
>
> private function init():void {
> bm = BrowserManager.getInstance();
> bm.init("", "Welcome! ABC");
> }
> ]]>
> </mx:Script>
>
> Regards
> Kiran
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---