We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4980
    • 26 Posts
    am using 1.04 swfobject in 0.9.6.3. works fine, except when i attempt to use the &flashParam - only get part of the parameter to output to the header.

    snippet call:
    [!SWFObject? &mode=`dynamic` &flashVersion=`8.0.0` &objId=`slideshow` &objWidth=`450` &objHeight=`330` &swfFile=`assets/templates/ashco/media/ashland.swf`[glow=yellow,2,300] &flashParam=`wmode:"transparent"`[/glow]!]

    output in the header:
    <script type="text/javascript" defer="defer">
    swfobject.embedSWF("assets/templates/ashco/media/ashland.swf", "slideshow", "450", "330", "8.0.0", "assets/snippets/swfobject/expressInstall.swf", {}, [glow=yellow,2,300]{wmode}[/glow], {id:"slideshow"});
    </script>

    thanks for any assistance! chas
      • 4980
      • 26 Posts
      update - i used the &configFile for all the static settings (am using this for numerous flash files). the snippet call has just the &swfFile and &configFile settings. &flashParam works when called from the config file. bug in swfobject? or is my snippet statement incorrect?
        • 20413
        • 2,877 Posts
        It seems there are 2 different snippets, one of them has this parameter:

        $swfParam - none

        optional extra Flash parameters such as quality, wmode, etc, comma delimited list with variable name and value seperated by an equal sign.  i.e. wmode=transparent,quality=low

        ... &swfParam=`wmode=transparent`
          @hawproductions | http://mrhaw.com/

          Infograph: MODX Advanced Install in 7 steps:
          http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

          Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
          http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
          • 4980
          • 26 Posts
          thanks - tried that syntax, and it did not work either. will just use the config file.