The development of magnetic materials on flexible substrates for spintronic applications