In this study, the effect of magnetic field, viscous dissipation, nonuniform heat source, and/ or sink and thermal radiation onflow and heat transfer in a hydromagnetic liquid film over an unsteady stretching sheet with prescribed heat flux condition is investigated. The governing equations are transformed into a set of ordinary differential equations with six free parameters by using a similarity transformation before being solved numerically. The temperature profiles depending on the governing parameters are displayed in graphical form and the relevant thermal characteristics are depicted in tabular representation. It is found that the dimensionless temperature profile, sheet temperature, and free surface temperature, with a specific unsteadiness parameter, are enhanced as the increase in magnetic parameter, Eckert number, space-and temperature-dependent parameters, and they are reduced for increasing effective Prandtl number.