An alert resident at a Kansas apartment complex may have prevented dozens of injuries when the building went up in flames Wednesday morning.