Copy link to clipboard
Copied
Hello, all.
I am using the iSpring to convert pptx to swf.
But that's feature is just converting.
I want to use another feature like adding audio, speech files and etc..
Adobe Cativate had features like that. But i can't found a restriction feature.
All converted swf files must play only on our domain(not on another domain or desktop(laptop)).
I want to know how to use restriction feature on Adobe Captivate.
Please help.
Best Regards.
Copy link to clipboard
Copied
You can set a password restriction.
Copy link to clipboard
Copied
Captivate doesn't offer any standard way to restrict playing content according to a given domain. You would need to get some custom JavaScripting or ActionScripting done for this to work.
Copy link to clipboard
Copied
Can i make a actionscript? I couldn't find that feature. Where can i do on Adobe Cativate?
Copy link to clipboard
Copied
You can try putting the script I supplied above in a JavaScript window in Captivate and execute on enter of the first slide.
I haven't test the ActionScript but this should work:
import flash.external.ExternalInterface;
var myUrl:String = ExternalInterface.call( 'window.location.href.toString' );
if (myUrl.indexOf( 'yourDomain' ) == -1)
{
ExternalInterface.call( 'DoCPExit' );
}
Copy link to clipboard
Copied
Drop this code somewhere in a JavaScript file in you project. Change the "yourdomain" to your domain name.
You could put it at the bottom of the standard.js file.
f ( window.location.href.indexOf( 'yourdomain' ) == -1 )
{
var win = window.open( '','_top','','true' );
win.opener = true;
win.close();
}
Copy link to clipboard
Copied
Maybe throw in an Alert box in there to inform the user about WHY the window is shutting down?