Robert,
After I added the your widget and then added the flex module to my project, when I go to run the build it comes back with this error....
"Encountered errors or warnings while building project IdentifyWidget.mxml.
IdentifyWidget.mxml: Access of possible undefined property selectedTitlebarButtonIndex through a reference with static type com.esri.viewer:WidgetTemplate."
Soooo what did I do wrong? 🙂
Thanks,
Ray