embed flash using data from db