google-code-export / swfobject

Automatically exported from code.google.com/p/swfobject
1 stars 1 forks source link

How to set "scale" option with swfobject.js? #577

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I need to set "scale" option as "showall".
But don't know how to set with swfobject.js.

it's my script source below.

swfobject.embedSWF("myFlash.swf", "main_topDiv", "994", "458", "9.0.0", 
"expressInstall.swf", { flag:"n", .... status:"off" }, { wmode:"transparent", 
bgcolor:"#fff", base:"...somePath/", allowScriptAccess:"always" }, { 
id:"main_topFla", name:"main_topFla" },{scale:"showall"});

As you see I added {scale:"showall"} param, but it doesn't work.

Please teach me where to add this param. I've been trying hard to find a 
solution, but it won't come out. Thank you..!

Original issue reported on code.google.com by dr.Gordo...@gmail.com on 21 Jul 2011 at 7:24

GoogleCodeExporter commented 9 years ago
This is not a bug. Please post authoring questions to the mailing list.

The parameters which you can set are documented here: 
http://kb2.adobe.com/cps/127/tn_12701.html

BTW - show all is the DEFAULT scale mode, and you do not need to set the scale 
param value for this.

If you are not seeing the correct behavior, perhaps there is code in the swf 
itself which is overriding the value set on the page.

Original comment by aran.rhee@gmail.com on 21 Jul 2011 at 10:21