Publish to CD not accepting External HTML

I have a course that integrates Flash files, turns audio on/off, and displays a transcript on screen that it reads from the flash files. When I try to publish this course to CD, I get the following error, "External HTML objects cannot be published to CD". So how does a Lectora course get published to CD if it doesn't allow the course to speak to the flash files?


Below is an example of one of the scripts. The Object Type is "Header Scripting":


function set_transcript(on_off){

var allElements = document.getElementsByTagName('*');

var flashObj;

for( var i = 0; i < allElements.length; i++ ) {

if(allElements.id.search(/swfanim/) != -1) {

flashObj = allElements.id.replace(/swf/, "");

break;

}

}

swfObj = eval(flashObj);

swfObj.setFlashPlayer();

swfObj.flsPlayer.set_transcript(on_off);

}


Is there additional code that needs to be included that allows Lectora to read information in the Flash file?

Discussions have been disabled for this post