View Full Version : Best way to add flash to web page
svenjoypro
02-27-2010, 11:40 PM
I learned a long time ago the <embed> and <object> method to add flash to a web page, but I think I've seen it embedded with javascript. I just want to know the best way, is the embed/object method outdated?
it's not as bad as before because there are new browser around now but still it's only the basic way to add a swf file in a html page. Better is to use the javascript coming with Adobe products or swfObject.
tadster
03-01-2010, 12:21 AM
The best way is with the object tag only.
swfObject 2.2 will do this for you cross-browser, via its embedSWF method.
so the answer is swfObject 2.2
johnbeeby
03-29-2010, 05:35 PM
swfObject hands down. I've used ACRunActive and its fine, but for smaller lines of code, and the same results, swfObject.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.