Running Actions via Javacript/Captivate

davidswaddle
davidswaddle Community Member Posts: 29

bruman wrote:

Hello David.Could you answer these questions?Tell me if this is wrong, but are all your files (Lectora and Captivate published files) hosted files on the computer and not a web server? You say that the address of the new window is on a web server. Does that mean that the Captivate swf is actually playing, but you are not able to launch the new window from the Captivate swf?If both answers are yes, then yes the ActiveX security is blocking the button from opening the new window. You would have to designate your swf or the location of the files as being a trusted file or location.Here is some information on that issue, with a possible work-around. Accessing local and remote sources on a hard driveI would however strongly suggest not changing the settings of computers to running such files locally.
All files (Lectora and Captivate) are hosted on the local computer and not a web server.Yes, the Captivate swf is actually playing, but I am not able to launch the new window from the Captivate SWF.This is odd, as all of the javascript within my Lectora file runs quite happily and opens web-hosted windows quite happily. Maybe there is a way of executing the javascript via the SWF's container object (the IE/Lectora page)? I tried uploading a test to a web server and, sure enough, the code works fine - indicating that you are correct about the ActiveX security issue.