The thermoelastic dynamic response of a clamped Bernoulli beam was studied when it was irradiated by a movable, temporally non-Gaussian, laser pulse. Both the energy absorption depth and the time decaying effects were considered. The temperature distribution, deflection, vibration acceleration, and stress of the beam were derived analytically, and the variations of them with time and space were illustrated. It was shown that the vibration frequency is independent of the scanning speed of the laser pulse. It is important to notice that, although the deflection of the beam is small, high vibration acceleration can be induced in microbeams, which is important for failure and fracture of the beam. Moreover, compressive stress is induced in the beam, but the importance of temperature-induced stress and deformation-induced stress may be different according to the duration time and moving speed of the laser pulse.