Longitudinal structure of ballooning MHD disturbances in a model magnetosphere