The effects of spacer length on the fluorescence quantum yields of the benzofurazan compounds bearing a donor-acceptor system.