Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Will the index.html swf need to be re-compiled in order to embed the flexviewer app in between a html header and footer wrapper? Or it this perhaps handled in the HeaderControllerWidget.mxml?

share|improve this question
Which version of ArcGIS Flex API are you using? – Mapperz Jul 28 '11 at 16:44
I am using version 2.3 – pdog Jul 28 '11 at 16:47
up vote 1 down vote accepted

To answer your two questions:

No, it doesn't have to be re-compiled.

No, it's not handled in HeaderController.

Editing the HTML file is a good idea (like Brad mentioned in his answer). We showed an example of that at the Esri Developer Summit a few months ago. Just take care to edit both default.htm and index.html (or know which one your web server defaults to).

share|improve this answer
thanks Bjorn, that's where I got the idea from. Great trick! – pdog Jul 29 '11 at 16:15
Glad you like it. So, does this answer your question(s) or are there something you're still unclear about? In general, if you're happy with someone's answer it's good practice to award them by marking their answer as the "accepted answer" :) – Bjorn Svensson Jul 29 '11 at 23:44

I just modify the default.htm to add my content to the first map page

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.