A novel dual-functional fluorescent probe based on hemicyanine molecule. Respond to HClO and SO2 derivatives with two different fluorescence signals. High selectivity, biocompatibility and relatively low detection limit. Application of monitoring and imaging of HClO within living HeLa cells.