A new method for actively controlling the number of internal droplets of water-in-oil-in-water (W/O/W) double-emulsion droplets was demonstrated. A new microfluidic platform for double-emulsion applications has been developed, which integrates T-junction channels, moving-wall structures, and a flow-focusing structure. Inner water-in-oil (W/O) single-emulsion droplets were first formed at a major T-junction. Then the droplets were sub-divided into smaller uniform droplets by passing through a series of secondary T-junctions (branches). The moving-wall structures beside the secondary T-junctions were used to control the number of the sub-divided droplets by selectively blocking the branches. Finally, double-emulsion droplets were formed by using a flow-focusing structure downstream. Experimental data demonstrate that the inner and outer droplets have narrow size distributions with coefficient of variation (CV) of less than 3.5% and 5.7%, respectively. Double-emulsion droplets with 1, 2, 3, and up to 10 inner droplets have been successfully formed using this approach. The size of the inner droplets and outer droplets could be also fine-tuned with this device. The development of this new platform was promising for drug delivery applications involving double emulsions.