A space-resolving flux detector (SRFD) is developed to measure the X-ray flux emitted from a specified region in hohlraum with a high resolution up to 0.11mm for the first time. This novel detector has been used successfully to measure the distinct X-ray fluxes emitted from hot laser spot and cooler re-emitting region simultaneously, in the hohlraum experiments on SGIII prototype laser facility. According to our experiments, the ratio of laser spot flux to re-emitted flux shows a strong time-dependent behavior, and the area-weighted flux post-processed from the measured laser spot flux and re-emitting wall flux agrees with that measured from Laser Entrance Hole by using flat-response X-ray detector (F-XRD). The experimental observations is reestablished by our two-dimensional hydrodynamic simulations and is well understood with the power balance relationship.