A Distance Scale for Planetary Nebulae Based on Emission-Line Fluxes.