There's an example in the Flex docs that does this using the
ExternalInterface API here:

http://livedocs.macromedia.com/flex/2/docs/00001009.html

hth,

matt horn
flex docs 

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews
> Sent: Tuesday, September 26, 2006 4:14 PM
> To: [email protected]
> Subject: [flexcoders] Re: changing the pageTitle programmatically?
> 
> can you provide me with a sample? The code below DOES change 
> then contents of the statusbar in my browser, but doesn't 
> impact the page
> title:
> 
> var u:URLRequest = new URLRequest("javascript:window.title='" 
> + station + "';void(0)"); navigateToURL(u, "_self"); // var 
> u2:URLRequest = new URLRequest("javascript:window.status='" 
> + station + "';void(0)");
> // navigateToURL(u2, "_self");
> 
> --- In [email protected] 
> <mailto:flexcoders%40yahoogroups.com> , "Ralf Bokelberg" 
> <[EMAIL PROTECTED]> wrote:
> >
> > You could use the externalAPI and Javascript.
> > Cheers,
> > Ralf
> > 
> > On 8/8/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote:
> > > I have a use case where I need to change the pageTitle of my 
> > > application to change based on a selection in a combo box. Is
> this
> > > possible? It looks like the pageTitle tag is used to generate
> the HTML
> > > at run-time, and isn't dynamic in nature as I need.
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.t
> xt <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> 
> > > Search Archives: http://www.mail-archive.com/flexcoders% 
> > > <http://www.mail-archive.com/flexcoders%>
> 40yahoogroups.com
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > 
> > 
> > --
> > Ralf Bokelberg <[EMAIL PROTECTED]>
> > Flex & Flash Consultant based in Cologne/Germany
> >
> 
> 
> 
>  
> 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to