add randomic id to flash object