Log in

View Full Version : Basic code to place flash media into an html doc



evan
07-22-2008, 04:43 PM
apologies if I am duplicting a thread, but I did look.

I tried using dreamweaver's generated code for importing falsh media and it didn't work.

I tried copying the code from a published Flash html file and placing it but no good.

I there some barebones code that will run it, or a link to the documentation that discusses this topic, and how to troubleshoot?

Medyman
07-22-2008, 05:15 PM
That's Dreamweaver for you. Always finding new and incorrect ways of doing things. You want to be using SWFObject 2.0 (http://code.google.com/p/swfobject/). It's basically the industry standard to embed Flash media. In fact, Adobe plans to use it in CS4 as the default.

You can find the documentation (http://code.google.com/p/swfobject/wiki/documentation), examples (http://code.google.com/p/swfobject/wiki/test_suite), the API (http://code.google.com/p/swfobject/wiki/api), and (in case you're feeling lazy) a code generator (http://code.google.com/p/swfobject/wiki/generator) on its Google code page.

If you still need some help with it, let Lee Brimelow walk you through it (http://gotoandlearn.com/player.php?id=77).