Set flash object data attribute