Foaming between a movable mould part and the preformed part