Skip to main content
Known Participant
March 8, 2011
Question

training sim--why does right-click only work when running from webserver?

  • March 8, 2011
  • 1 reply
  • 873 views

I created a training simulation that has some right-click type of click boxes. When I run the final swf on my machine, the right-click events work just fine. When I send the swf (including the .htm and .js file) to my colleagues, and they try to run it, the right-click does not work. They are running the swf by opening the .htm file that Captivate generates, btw.   HOWEVER, if I host the swf and .htm file on a webserver, and my colleagues run it from the webserver, the right-click works fine. This is a problem for us, because our content is intended to be installed on a local machine. Is there a setting I need to enable to get this to work properly?

BTW, I do have "Enable Accessibility" turned off in my publish settings, so that is not the issue.

Thanks!

    This topic has been closed for replies.

    1 reply

    RodWard
    Community Expert
    Community Expert
    March 9, 2011

    The right-click functionality depends on Flash security settings that must be applied on the machine where the published output runs.

    Content that is delivered from a web server and run in a web browser is granted the necessary security clearance by default.  If you are running the same content from a local machine's hard drive then the user must have this hard drive location added as a trusted location in their Flash Security settings.

    Google: Flash Global Security Settings or go to this URL: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

    Trying to get this Flash security set up for large numbers of users is one of the main reasons you should be delivering from a web server. It's much less trouble.

    Known Participant
    March 9, 2011

    Thanks! Yes, this was indeed the issue.

    BTW, I was thinking the Adobe LocalContentUpdater.exe would take care of this by forcing the permissions into the swf, but it doesn't. I guess we're going to have to include instructions at the beginning of the training to add the local location to the trusted locations.

    I appreciate your help!

    RodWard
    Community Expert
    Community Expert
    March 9, 2011

    The permissions are not in the SWF.  What you are changing is the permissions set up in the Flash Player installed on your PC so that it knows it can trust SWFs that are being launched from a given drive or directory on your system.

    Trying to get everyone in your organisation to set their Flash security up is a recipe for frustration.  The better solutiion is just to deliver your content from a web server.