Using SWFObject 2.0:

    <div id="app"></div>

      <style>
        object:focus { outline: none; }
      </style>

      <script type="text/javascript">

        var flashvars =
          {
          AppPath: '<%=String.Format("{0}://{1}{2}",
Request.Url.Scheme, Request.Url.Host, ai.Path)%>'
          };

        var params =
          {
          allowScriptAccess: "always",
          wmode:             "transparent"
          };

        var attributes =
          {
          };

    swfobject.embedSWF("flash/CAPTAClient.swf?128988943755758144",
                           "app",
                           "950",
                           "480",
                           "9",
                           '/CAPTA/include/expressInstall.swf',
                           flashvars,
                           params,
                           attributes);

    swfobject.addDomLoadEvent(function() { document.getElementById
("app").focus(); });

    </script>
</div>

The SWF contains a username/password input panel.  This works fine in
IE.  In FF, the caret is flashing in the User Name field, as it
should, but no keyboard input works and will not work until the user
clicks on the SWF object, itself.  Further, when the SWF is active,
tabbing will only tab through the SWF fields--not out into the browser
location bar.

I don't care so much about the tabbing but would really like to know
how to allow the user to type into the focused input field without
having to click on the SWF.

Anyone have any idea?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to