Security Information Pop-Up

 Greg,


I am publishing Captivate to to flash or swf. I am adding the html file and the swf file along with the standard js file to the external text object. This is stored on a paged inside the simulations chapter node outside of the content node area in the Lectora treepane view. From my understanding we have a course launch page which is a blank page that launches the course, then we have from the LMS another page that launches the course, and when that page opens another page opens that launches the course content, and finally when we want to launch a simulation, we are launching it from, you got it, another page. Do you know of a way to minimize the number of pages so Plateau can quickly find the API adapter, and not show the API is too deeply nested?


here is a sample of the code that fixed the API error, but I suspect there is a more reasonable way to resolve this issue without going into the code at the LMS level.


function getAPI()


{


var theAPI = findAPI(window);


if ((theAPI == null) && (top.window.opener != null) && (typeof(top.window.opener) != "undefined"))


{


theAPI = findAPI(top.window.opener.opener);(ADDED another .opener since plateau is looking for another layer)


}


if ((theAPI == null) && (parent.window != null) && (parent.window.opener != null) && (typeof(parent.window.opener) != "undefined"))


{


theAPI = findAPI(parent.window.opener);


}


if ((theAPI == null) && (top.opener != null) && (top.opener.top != null) && (top.opener.top.opener != null) && (typeof(top.opener.top.opener) != "undefined"))


{


theAPI = findAPI(top.opener.top.opener);


}


if (theAPI == null)


{


alert("Unable to find an API adapter");


}


return theAPI


}


 


idecs said:When I publish Captivate 4 to SWF, I embed the files so they launch from a launch page in Lectora. I have upgraded to Captivate 4 and I am now getting Security messages and a message that says "unable to find API adapter". It is published to Flash 8 which I understand has new security features. Any suggestions as to why the error messages all of a sudden?

Discussions have been disabled for this post