Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

I would like to set domain restriction.

New Here ,
Mar 16, 2016 Mar 16, 2016

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.

284
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 16, 2016 Mar 16, 2016

You can set a password restriction.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 16, 2016 Mar 16, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 16, 2016 Mar 16, 2016

Can i make a actionscript? I couldn't find that feature. Where can i do on Adobe Cativate?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Mar 17, 2016 Mar 17, 2016
LATEST

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' );
}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Mar 16, 2016 Mar 16, 2016

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();

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 16, 2016 Mar 16, 2016

Maybe throw in an Alert box in there to inform the user about WHY the window is shutting down?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources