Why doesn fscommand work in Internet Explorer with dynamic publishing ?
A In order to make fscommand work in Internet Explorer Adobe recommends to add a block of VBScript to capture and forward the FSCommand calls to JavaScript. However VBScript doesn’t work anymore when a Flash movie is inserted using innerHTML or outerHTML, as SWFObject’s dynamic publishing method does. Fortunately you can also use JavaScript instead of VBScript to catch the fscommand calls. A small downside is that it uses proprietary attributes (which, again, wrapped in conditional comments will keep your code valid). E.g.
Related Questions
- Why do `stage.stageWidth` and `stage.stageHeight` return `0` in Firefox or Internet Explorer when using dynamic publishing?
- Why do stage.stageWidth and stage.stageHeight return 0 in Firefox or Internet Explorer when using dynamic publishing?
- Why doesn fscommand work in Internet Explorer with dynamic publishing ?