Skip to main content
Participating Frequently
February 7, 2014
Answered

Tab key activates player controls or IE menus

  • February 7, 2014
  • 1 reply
  • 1104 views

I have created several software simulation assessments. They work wonderfully.  However, when I publish them to our LMS or preview in Browser mode the tab doesn't work properly.  It either activates the player bar and rewinds the interaction or if I disable the player bar it takes you up to the address bar in IE.

I searched forums and found this a known issue.  I tried all the suggestions with editing the AS3 files, the standard.htm and the standard.js. I can't get it to work right.  I am not a coder and reading those posts totally frustrated me. I don't know where in these files to add these lines of code.  I really am about to have a nervous breakdown because we need to start using these assessments for new hire testing and my manager is anxious to have these up and running.  I don't know how to fix this or create a workaround.  Somebody please help me.

    This topic has been closed for replies.
    Correct answer TLCMediaDesign

    Ok which file I am editing with this code.  I opened the standard.htm and standard.js, didn't see this.....sorry, as I said, I am not a coder, I am a novice with JS.


    It's in the HTML that is the name of your project. It would look like this:

    <script type="text/javascript">

        var so = new SWFObject("seamless1.swf", "Captivate", "641", "511", "10", "#CCCCCC");

         so.addParam("SeamlessTabbing", "false");

      so.addParam("quality", "high");

      so.addParam("name", "Captivate");

      so.addParam("id", "Captivate");

      so.addParam("wmode", "window");

      so.addParam("bgcolor","#f5f4f1");

      so.addParam("menu", "false");

      so.addParam("AllowScriptAccess","always");

      so.addVariable("variable1", "value1");

      so.setAttribute("redirectUrl", "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash");

      so.write("CaptivateContent");

    </script>

    1 reply

    TLCMediaDesign
    Inspiring
    February 7, 2014

    What version of CP?

    Have you checked the seamless tabbing option when you publish?

    Are you publishing to SWF, HTM5 or both?

    Participating Frequently
    February 7, 2014

    CP 6 and I don't have that seamless tabbling option in my settings.

    TLCMediaDesign
    Inspiring
    February 7, 2014

    You can add it where the SWF file is being embedded. I.E.:

    //Embed SWf using the SWFObject library

    var so = new SWFObject(CONFIG.FILENAME, CONFIG.SWFOBJ_ID,

    CONFIG.COURSE_WIDTH, CONFIG.COURSE_HEIGHT,

    CONFIG.FPVERSION, "#CCCCCC");

    so.addParam("SeamlessTabbing", "false");

    so.addParam("quality", "high");

    so.addParam("wmode", CONFIG.WMODE);

    so.addParam("bgcolor", CONFIG.BGCOLOR);

    so.addParam("menu", "false");

    so.setAttribute("name", CONFIG.SWFOBJ_NAME);

    so.setAttribute("redirectUrl", CONFIG.REDIRECT_URL);

    so.addParam("AllowScriptAccess","always");

    so.write(CONFIG.TARGET);