RTS game in Flash

I’m making a mini RTS game, I have a group of 5 soldiers. To move all in a group, I double-click on which highlights all of them, I then click anywhere on the map to move all as a group. However, all 5 move to the exact same spot and stack up against each other. I want each soldier to move with spacing between each other like they do in the commercial RTS games. Does this make sense? Any ideas?