An absorbent article such as a diaper, panty diaper, panty liner, sanitary napkin or incontinence device, wherein at least one part of the absorbent article carries a film having at least one monomolecular layer of a polymer having a functional group and an active agent, in particular to an absorbent article wherein the film is obtainable by layer-by-layer deposition of at least a first polymer having a first functional group and a second polymer having a second functional group capable of interacting with the first functional group. Moreover, the use of a film obtainable by the layer-by-layer deposition of at least one first polymer having a first functional group and a second polymer having a second functional group capable of interacting with the first functional group for releasing an active agent contained in the film upon wetting of the film by body fluids. Preferably the first polymer having a first functional group is a polycationic polymer and the second polymer having a second functional group is a polyanionic polymer.