A stochastic acceleration model, endowed with a suitable escape term, reproduces the observed soft-hard-soft behaviour of flare looptop sources and predicts pivot-point type spectral evolution.