Creating and importing and swf-File into an html-File.

<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="mso-ansi-language: EN-GB;" lang="EN-GB"><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: Times New Roman;">If you want to create an animation that can be shown on the internet, you often choose to work with Adobe Flash. </span></span></span></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="mso-ansi-language: EN-GB;" lang="EN-GB"><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: Times New Roman;">Rendering an animation in Flash creates an swf-File.</span></span></span></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="mso-ansi-language: EN-GB;" lang="EN-GB"><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: Times New Roman;">In this challenge I want to know how I can implement this swf-File into a website, including it&rsquo;s own fonts. </span></span></span></span></p>
1 answer

Importing swf to html, including fonts

While creating the flash-file you have to define the export-options. Those can be found at file – publishing options, like the size or quality of the film. When integrating a text in the flash-file, the text options have to be defined separately. There exist the options of using the computer fonts. You just have to set a mark at the options while the text is selected. The flash-file itself has to be embedded in html like this:  <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve..." width="550" height="400" id="test" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="test.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="test.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="test" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object> With the parameters you can also change the backgroundcolour or quality after exporting the swf-file.

Taggings: