Nasif,
Because you are posting to the Flex API forum and not the Flex Viewer forum (as you should be), you have to be specific that you are speaking of the Flex Viewer Application. The Flex Viewer app will scale the map to what ever screen resolution that you are on automatically, unless you have manipulated the code and broke that capability. Do you have a screenshot of the map not scaling to full monitor width and height? Did you change the source code some where that could have broken this?
All Flex Viewer questions should be posted here:
http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex
Andrew,
Pardon me jumping in.
Nasif,
So I don't see what the issue is then the map is filling 100% of the browser?....
extent of the map changesThat's just the way it is. The map will not automatically attempt to reset to the initial extent when the map is resized. If you really think about it you would not want it to do that. Here would be the scenario if it did that: A user would open the app and pan around the map to a different location and then decides that they wanted to resize the browser which resizes the map and thus the map would automatically return to the initial extent (BAD).
Nasif,
That's just the way it is. The map will not automatically attempt to reset to the initial extent when the map is resized. If you really think about it you would not want it to do that. Here would be the scenario if it did that: A user would open the app and pan around the map to a different location and then decides that they wanted to resize the browser which resizes the map and thus the map would automatically return to the initial extent (BAD).
You have a customized map switcher in your map so there is no telling what is going wrong there.
The time widget... Hmm. do you have the x and y set in the config.xml?
Nasif,
Hmm. I would not hard code the x and y of a widget in the MXML code. the widget tag in the main config.xml can have a x and y or better yet a top or bottom and left or right value defined.