I am trying to use swfobject 2.2 to display an swf, but the swf won't scale to fit the div that I'm putting it in. You can see what I've got here by clicking on the "Take the product tour" button.
Here is the code to generate both the impromptu popup and the sfobject:
$.prompt("<div id='flashContent'>Please wait...</div>",
{ prefix: "tour", top: "2%", buttons: {} });
var flashvars = { scale: "showAll" };
var params = { scale: "showAll"};
var attributes = {};
swfobject.embedSWF("/content/tour.swf",
"flashContent", "800", "600", "9.0.0", "expressInstall.swf",
flashvars, params, attributes);
If, after the flash loads, I right-click and select "Show All", it appears correct. Any ideas on what I am doing wrong? I've verified that it doesn't matter whether I'm using impromptu or not.
Thank you,