Customized flex client with embedTemplate; Embed template is extracted into embed.txt file; generated embed codes are adopted to live together on one page