What is the right way to embed a Flash movie for XHTML compliance? -


I have a simple film that has a small part of ActionCity 2.0.

  1. What's the best way to embed Flash movie for XHTML compliance?
  2. What version should I export to?

The code that outputs automatically is so bloated, I'm not sure what I want, besides, I saw that the Macromedia URL is in the code, and now the owner of Adobe Flash I am surprised that this is a mistake.

The best way to embed a flash file in HTML is using swfobject by Google:

Finally it likes:

  & lt; Script type = "text / javascript" & gt; Var flashvars = {name1: "Hello", name 2: "world", name 3: "forbiter"}; Var params = {menu: "false"}; Var attribute = {id: "myDynamicContent", name: "myDynamicContent"}; Swfobject.embedSWF ("myContent.swf", "myContent", "300", "120", "9.0.0", "expressInstall.swf", flashvars, parameters, attributes); & Lt; / Script & gt;  

Hopes


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -