3 Replies Latest reply on Jul 31, 2008 11:53 AM by josh_aries

    Change Browser title

    josh_aries Level 1
      Hi ,

      I want to change the browser title for my application. I have the deep linking turned on.

      <mx:Application pageTitle="Title for the Page" creationComplete="isReloaded();"
      verticalGap="0" width="100%" xmlns:mx=" http://www.adobe.com/2006/mxml" layout="vertical"
      height="100%" >

      Thanks in advance.

      Josh
        • 1. Re: Change Browser title
          Rob Rusher Level 1
          Because the Application class sets the pageTitle property but does not make it accessible via ActionScript, you must BrowserManager or SWFAddress.

          The BrowserManager function would look like this:
          private function changeTitle():void
          {
          BrowserManager.getInstance().setTitle("My new title");
          }
          • 2. Re: Change Browser title
            Level 7

            "Rob Rusher" <robrusher@gmail.com> wrote in message
            news:g6q9qv$cl2$1@forums.macromedia.com...
            > Because the Application class sets the pageTitle property but does not
            > make it
            > accessible via ActionScript, you must BrowserManager or SWFAddress.
            >
            > The BrowserManager function would look like this:
            > private function changeTitle():void
            > {
            > BrowserManager.getInstance().setTitle("My new title");
            > }
            >

            Could probably also use ExternalInterface to call js...


            • 3. Re: Change Browser title
              josh_aries Level 1
              Thanks a lot. It worked