An optoelectric device including a deformable membrane with an outer reflecting surface and an inner surface whereon a plurality of permanent magnets are fixed, and having a bottom surface entirely coated with a continuous layer of a flexible material; and a support including a plurality of electromagnets placed opposite the permanent magnets to exert an electromagnetic force thereon, locally displacing a zone corresponding to the deformable membrane.