//Add this function
private function mapResizeHandler(evt:Event):void
{
if(myfloatdg){
myfloatdg.y = map.height + Number(ViewerContainer.getInstance().mapManager.top) - myfloatdg.height;
myfloatdg.x = 0;
}
}
//Add this to the init function
map.addEventListener(ExtentEvent.EXTENT_CHANGE, mapResizeHandler);
upper(ZONING_CODE) = upper('[value]')