converting flash to html on preveiw page