Hot products of combustion are provided beside an outer surface of a load to be heated, and are given a non-uniform temperature profile in a control direction extending across the outer surface of the load. The present flame-retarding epoxy resin composition exhibits a high heat-resistance and excellent adhesion and is useful as adhesive agent in flexible printed circuit board. Accordingly, the quality of the semiconductor device can be improved.