tap the tube of on a hard surface, or 'shake' the tube like you are shaking human baby tylenol (a back a forth motion that forces everything towards the floor due to gravity). the flies will all fall to the bottom, or near it, and then you can release them more slowly as they crawl upwards.
hope you are using the flightless kind (Hydei).