Edit "ArcGIS Viewer for Flex" text on browser tab

595
4
11-10-2011 02:45 AM
PaulSpahr
New Contributor
Hello,

I'm using the compiled version of Flex 2.4.  Is there a way to change the text that appears on the tab of the browser (ArcGIS Viewer for Flex) to the title of my app?

Thanks!
Tags (2)
0 Kudos
4 Replies
MattiasEkström
Occasional Contributor III
I think you can't change that with the compiled version.
I'm using the uncompiled version and found out that I had to change the value of the PageTitel property of <s:Application> in index.mxml, and that value in the source code looks hardcoded to me...
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Paul,

    All you need to do is open the index.html in notepad and change this line:

<title>ArcGIS Viewer for Flex</title>
save and exit
0 Kudos
PaulSpahr
New Contributor
Awesome!  Thanks Robert.
0 Kudos
PaulSpahr
New Contributor
Hello,

I made a copy of a flex app folder (Flex App A).  I renamed it Flex App B.  I want to change the text on the browser tab via the index.html described above.  However, after I change the text in the index file of App B, I am unable to save index.html.  I get an error message "The process cannot access the file because it is being used by another process". 

Is it possible to change the tab text in index.html for a file that came from the copy of another app?

Thanks,

Paul
0 Kudos