views:

201

answers:

0

I am trying to develop an orkut application using the help of opensocial API. My application page would load a flash (.swf) file. I am using gadgets.flash.embedFlash function to load the swf. Code is shown below

var swfUrl="http://www.myservername.com/open-social/live/game.swf?usename=shyju";
var params = {};
params.menu = "false";
params.allowscriptaccess = "always"; 
gadgets.flash.embedFlash(swfUrl, "flashcontent", "9.0.0",params)

This is working in Firefox, Safari and Chrome. But not in IE 6 and 7 .

Can any one tell me how to solve this ? am i missing anything ?

Thanks in advance