Building Database-Driven Flash Applications